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 LoungerWSchipshot
AskWoody LoungerNovember 11, 2003 at 12:57 am #742277Viewing 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
-
Microsoft : Edge is better than Chrome
by
Alex5723
1 hour, 9 minutes ago -
The EU launched DNS4EU
by
Alex5723
13 hours, 51 minutes ago -
Cell Phone vs. Traditional Touchtone Phone over POTS
by
280park
4 hours, 12 minutes ago -
Lost access to all my networked drives (shares) listed in My Computer
by
lwerman
19 hours, 18 minutes ago -
Set default size for pasted photo to word
by
Cyn
1 day, 1 hour ago -
Dedoimedo tries 24H2…
by
Cybertooth
13 hours, 26 minutes ago -
Windows 11 Insider Preview build 27871 released to Canary
by
joep517
2 days ago -
Windows 11 ad from Campaign Manager in Windows 10
by
Jim McKenna
1 day, 21 hours ago -
Small desktops
by
Susan Bradley
14 hours, 58 minutes ago -
Totally disable Bitlocker
by
CWBillow
17 hours, 51 minutes ago -
Phishers extract Millions from HMRC accounts..
by
Microfix
1 day, 21 hours ago -
Windows 10 22H2 Update today (5 June) says up-to-date but last was 2025-04
by
Alan_uk
3 days, 4 hours ago -
Thoughts on Malwarebytes Scam Guard for Mobile?
by
opti1
23 hours ago -
Mystical Desktop
by
CWBillow
3 days, 7 hours ago -
Meta and Yandex secretly tracked billions of Android users
by
Alex5723
2 days, 12 hours ago -
MS-DEFCON 2: Do you need that update?
by
Susan Bradley
9 minutes ago -
CD/DVD drive is no longer recognized
by
WSCape Sand
3 days, 22 hours ago -
Windows 11 24H2 Default Apps stuck on Edge and Adobe Photoshop
by
MikeBravo
4 days, 1 hour ago -
North Face and Cartier customer data stolen in cyber attacks
by
Alex5723
3 days, 23 hours ago -
What is wrong with simple approach?
by
WSSpoke36
1 day, 21 hours ago -
Microsoft-Backed Builder.ai Set for Bankruptcy After Cash Seized
by
Alex5723
4 days, 11 hours ago -
Location, location, location
by
Susan Bradley
3 days, 1 hour ago -
Cannot get a task to run a restore point
by
CWBillow
4 days, 12 hours ago -
Frustrating search behavior with Outlook
by
MrJimPhelps
4 days, 3 hours ago -
June 2025 Office non-Security Updates
by
PKCano
4 days, 23 hours ago -
Secure Boot Update Fails after KB5058405 Installed
by
SteveIT
1 hour, 40 minutes ago -
Firefox Red Panda Fun Stuff
by
Lars220
4 days, 23 hours ago -
How start headers and page numbers on page 3?
by
Davidhs
5 days, 9 hours ago -
Attack on LexisNexis Risk Solutions exposes data on 300k +
by
Nibbled To Death By Ducks
4 days, 12 hours ago -
Windows 11 Insider Preview build 26200.5622 released to DEV
by
joep517
5 days, 18 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.