I have one sheet in a workbook that has some formulas and then conditionally formats cells based on the results of the formula. I then wanted to paste the cells to another sheet along with those formats. For some reason i can paste the values but cannot get the formats to come with it. I am adding font bolding, italic and borders but they won’t carry over to the 2nd sheet even if i paste special, and click on formats. What am i doing wrong here? Thank you.
![]() |
Patch reliability is unclear. Unless you have an immediate, pressing need to install a specific patch, don't do it. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |
-
Conditional formatting question (Excel xp)
Home » Forums » AskWoody support » Productivity software by function » MS Excel and spreadsheet help » Conditional formatting question (Excel xp)
- This topic has 20 replies, 4 voices, and was last updated 21 years, 7 months ago.
Viewing 1 reply threadAuthorReplies-
WSchipshot
AskWoody LoungerNovember 11, 2003 at 12:57 am #742276 -
WSjha900
AskWoody Lounger -
WSMichael Evans
AskWoody LoungerNovember 11, 2003 at 2:27 am #742297The formatting is being copied across, look at the formatting via Format Cells / Font and Borders, it’s the same on both sheets.
The conditional formatting can also be copied across using Paste, but then the CF on your data sheet refers to the cells on your data sheet, which do not fulfil the conditions. You will have to change the CF formulas to refer to your stat sheet to get it to work.
-
WSjha900
AskWoody Lounger -
WSMichael Evans
AskWoody LoungerNovember 11, 2003 at 2:51 am #742301The formula for CF of H3 on your stat sheet refers to cells H1, H3, and H8 also on your stat sheet. The values in these cells fulfil the conditions, so H3 is formatted accordingly.
The formula for CF of H3 on your data sheet refers to cells H1, H3 and H8 on your data sheet, H1 and H8 are blank on your data sheet so the conditions are not met and therefore H3 is not formatted the way you want. If you copy cells H1 and H8 from your stat sheet to H1 and H8 in your data sheet you will find H3 on your data sheet does become formatted the way you want.
To do what you want, that is to capture the format of H3 and paste it somewhere else, effectively turning it from conditional formatting to ‘straight’ formatting is much more difficult, and I cannot see a way of doing it, though possibly via VBA…
-
WSjha900
AskWoody Lounger -
WSjha900
AskWoody Lounger -
WSMichael Evans
AskWoody LoungerNovember 11, 2003 at 2:51 am #742302The formula for CF of H3 on your stat sheet refers to cells H1, H3, and H8 also on your stat sheet. The values in these cells fulfil the conditions, so H3 is formatted accordingly.
The formula for CF of H3 on your data sheet refers to cells H1, H3 and H8 on your data sheet, H1 and H8 are blank on your data sheet so the conditions are not met and therefore H3 is not formatted the way you want. If you copy cells H1 and H8 from your stat sheet to H1 and H8 in your data sheet you will find H3 on your data sheet does become formatted the way you want.
To do what you want, that is to capture the format of H3 and paste it somewhere else, effectively turning it from conditional formatting to ‘straight’ formatting is much more difficult, and I cannot see a way of doing it, though possibly via VBA…
-
WSMichael Evans
AskWoody LoungerNovember 11, 2003 at 3:03 am #742307OOps! sorry I did not see that H8 on your stat sheet is not a simple value, if you Paste Special / Values from H8 stat sheet to H8 data sheet, H3 data sheet becomes CF’d as you want.
Also I found that conditional formats cannot refer to other worksheets or workbooks, therefore you cannot make the CF of H3 on the data sheet depend on H1 and H8 on the stat sheet (which would be messy anyway).
This may need the attention of a VB Expert.
-
WSsdckapr
AskWoody LoungerNovember 11, 2003 at 9:18 am #742372You can use values on other sheets if you NAME them first (insert name define) and then refer to the name.
Naming ranges is a “good trick” to get around many of the “requirements” for being on the same sheet. Named ranges in many instances (not all) will make excel act like they are on the same sheet.
Steve
-
WSMichael Evans
AskWoody Lounger -
WSMichael Evans
AskWoody Lounger -
WSsdckapr
AskWoody LoungerNovember 11, 2003 at 9:18 am #742373You can use values on other sheets if you NAME them first (insert name define) and then refer to the name.
Naming ranges is a “good trick” to get around many of the “requirements” for being on the same sheet. Named ranges in many instances (not all) will make excel act like they are on the same sheet.
Steve
-
WSMichael Evans
AskWoody LoungerNovember 11, 2003 at 3:03 am #742308OOps! sorry I did not see that H8 on your stat sheet is not a simple value, if you Paste Special / Values from H8 stat sheet to H8 data sheet, H3 data sheet becomes CF’d as you want.
Also I found that conditional formats cannot refer to other worksheets or workbooks, therefore you cannot make the CF of H3 on the data sheet depend on H1 and H8 on the stat sheet (which would be messy anyway).
This may need the attention of a VB Expert.
-
WSsdckapr
AskWoody LoungerNovember 11, 2003 at 10:16 am #742396If you name the ranges (insert- name -define)
Name: CompRow
Refersto: =stat!$1:$1and
Name: SigRow
Refersto: =stat!$8:$8You can set the conditionl formatting formulas on data to:
Condition 1:
=AND(INDEX(SigRow,COLUMN(D8))=”Sig”,D3>=INDEX(CompRow,COLUMN(D3)))Condition 2:
=AND(INDEX(SigRow,COLUMN(D8))=”Sig”,D3<INDEX(CompRow,COLUMN(D3)))And they will refer to the ranges in Stats
Steve
-
WSsdckapr
AskWoody LoungerNovember 11, 2003 at 10:16 am #742397If you name the ranges (insert- name -define)
Name: CompRow
Refersto: =stat!$1:$1and
Name: SigRow
Refersto: =stat!$8:$8You can set the conditionl formatting formulas on data to:
Condition 1:
=AND(INDEX(SigRow,COLUMN(D8))=”Sig”,D3>=INDEX(CompRow,COLUMN(D3)))Condition 2:
=AND(INDEX(SigRow,COLUMN(D8))=”Sig”,D3<INDEX(CompRow,COLUMN(D3)))And they will refer to the ranges in Stats
Steve
-
-
WSjha900
AskWoody Lounger
-
-
WSMichael Evans
AskWoody LoungerNovember 11, 2003 at 2:27 am #742298The formatting is being copied across, look at the formatting via Format Cells / Font and Borders, it’s the same on both sheets.
The conditional formatting can also be copied across using Paste, but then the CF on your data sheet refers to the cells on your data sheet, which do not fulfil the conditions. You will have to change the CF formulas to refer to your stat sheet to get it to work.
-
-
WSjha900
AskWoody Lounger
-
-
WSchipshot
AskWoody LoungerNovember 11, 2003 at 12:57 am #742277
Viewing 1 reply thread -

Plus Membership
Donations from Plus members keep this site going. You can identify the people who support AskWoody by the Plus badge on their avatars.
AskWoody Plus members not only get access to all of the contents of this site -- including Susan Bradley's frequently updated Patch Watch listing -- they also receive weekly AskWoody Plus Newsletters (formerly Windows Secrets Newsletter) and AskWoody Plus Alerts, emails when there are important breaking developments.
Get Plus!
Welcome to our unique respite from the madness.
It's easy to post questions about Windows 11, Windows 10, Win8.1, Win7, Surface, Office, or browse through our Forums. Post anonymously or register for greater privileges. Keep it civil, please: Decorous Lounge rules strictly enforced. Questions? Contact Customer Support.
Search Newsletters
Search Forums
View the Forum
Search for Topics
Recent Topics
-
Have Copilot there but not taking over the screen in Word
by
CWBillow
2 hours, 45 minutes ago -
Windows 11 blocks Chrome 137.0.7151.68, 137.0.7151.69
by
Alex5723
1 day, 1 hour ago -
Are Macs immune?
by
Susan Bradley
22 hours, 30 minutes ago -
HP Envy and the Function keys
by
CWBillow
8 hours, 52 minutes ago -
Microsoft : Removal of unwanted drivers from Windows Update
by
Alex5723
1 day, 12 hours ago -
MacOS 26 beta 1 dropped support for Firewire 400/800
by
Alex5723
1 day, 12 hours ago -
Unable to update to version 22h2
by
04om
3 hours, 13 minutes ago -
Windows 11 Insider Preview Build 26100.4482 (24H2) released to Release Preview
by
joep517
1 day, 20 hours ago -
Windows 11 Insider Preview build 27881 released to Canary
by
joep517
1 day, 20 hours ago -
Very Quarrelsome Taskbar!
by
CWBillow
1 day, 6 hours ago -
Move OneNote Notebook OFF OneDrive and make it local
by
CWBillow
2 days, 9 hours ago -
Microsoft 365 to block file access via legacy auth protocols by default
by
Alex5723
1 day, 21 hours ago -
Is your battery draining?
by
Susan Bradley
9 hours, 11 minutes ago -
The 16-billion-record data breach that no one’s ever heard of
by
Alex5723
2 hours, 47 minutes ago -
Weasel Words Rule Too Many Data Breach Notifications
by
Nibbled To Death By Ducks
2 days, 13 hours ago -
Windows Command Prompt and Powershell will not open as Administrator
by
Gordski
1 day, 21 hours ago -
Intel Management Engine (Intel ME) Security Issue
by
PL1
1 day, 21 hours ago -
Old Geek Forced to Update. Buy a Win 11 PC? Yikes! How do I cope?
by
RonE22
1 day, 13 hours ago -
National scam day
by
Susan Bradley
20 hours, 23 minutes ago -
macOS Tahoe 26 the end of the road for Intel Macs, OCLP, Hackintosh
by
Alex5723
1 day, 16 hours ago -
Cyberattack on some Washington Post journalists’ email accounts
by
Bob99
3 days, 14 hours ago -
Tools to support internet discussions
by
Kathy Stevens
2 days, 2 hours ago -
How get Group Policy to allow specific Driver to download?
by
Tex265
3 days, 5 hours ago -
AI is good sometimes
by
Susan Bradley
3 days, 21 hours ago -
Mozilla quietly tests Perplexity AI as a New Firefox Search Option
by
Alex5723
3 days, 11 hours ago -
Perplexity Pro free for 12 mos for Samsung Galaxy phones
by
Patricia Grace
4 days, 21 hours ago -
June KB5060842 update broke DHCP server service
by
Alex5723
4 days, 20 hours ago -
AMD Ryzen™ Chipset Driver Release Notes 7.06.02.123
by
Alex5723
5 days ago -
Excessive security alerts
by
WSSebastian42
3 days, 14 hours ago -
* CrystalDiskMark may shorten SSD/USB Memory life
by
Alex5723
5 days, 9 hours ago
Recent blog posts
Key Links
Want to Advertise in the free newsletter? How about a gift subscription in honor of a birthday? Send an email to sb@askwoody.com to ask how.
Mastodon profile for DefConPatch
Mastodon profile for AskWoody
Home • About • FAQ • Posts & Privacy • Forums • My Account
Register • Free Newsletter • Plus Membership • Gift Certificates • MS-DEFCON Alerts
Copyright ©2004-2025 by AskWoody Tech LLC. All Rights Reserved.