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
-
Windows 11 Insider Preview Build 22631.5545 (23H2) released to Release Preview
by
joep517
45 minutes ago -
Windows 10 Build 19045.6029 (22H2) to Release Preview Channel
by
joep517
46 minutes ago -
Best tools for upgrading a Windows 10 to an 11
by
Susan Bradley
6 hours, 38 minutes ago -
The end of Windows 10 is approaching, consider Linux and LibreOffice
by
Alex5723
14 minutes ago -
Extended Windows Built-in Disk Cleanup Utility
by
bbearren
24 minutes ago -
Win 11 24H2 June 2025 Update breaks WIFI
by
dportenlanger
19 hours, 45 minutes ago -
Update from WinPro 10 v. 1511 on T460p?
by
CatoRenasci
9 hours, 18 minutes ago -
System Restore and Updates Paused
by
veteran
22 hours, 16 minutes ago -
Windows 10/11 clock app
by
Kathy Stevens
9 hours, 21 minutes ago -
Turn off right-click draw
by
Charles Billow
1 day, 1 hour ago -
Introducing ChromeOS M137 to The Stable Channel
by
Alex5723
1 day, 5 hours ago -
Brian Wilson (The Beach Boys) R.I.P
by
Alex5723
6 hours, 56 minutes ago -
Master patch listing for June 10, 2025
by
Susan Bradley
1 day, 6 hours ago -
Suggestions for New All in One Printer and a Photo Printer Windows 10
by
Win7and10
9 hours, 30 minutes ago -
Purchasing New Printer. Uninstall old Printer Software First?
by
Win7and10
1 day, 12 hours ago -
KB5060842 Issue (Minor)
by
AC641
44 minutes ago -
EchoLeak : Zero Click M365 Copilot leak sensitive information
by
Alex5723
1 day, 19 hours ago -
24H2 may not be offered June updates
by
Susan Bradley
12 hours, 21 minutes ago -
Acronis : Tracking Chaos RAT’s evolution (Windows, Linux)
by
Alex5723
2 days, 8 hours ago -
June 2025 updates are out
by
Susan Bradley
6 hours, 47 minutes ago -
Mozilla shutting Deep Fake Detector
by
Alex5723
2 days, 23 hours ago -
Windows-Maintenance-Tool (.bat)
by
Alex5723
2 days, 8 hours ago -
Windows 11 Insider Preview build 26200.5641 released to DEV
by
joep517
3 days, 1 hour ago -
Windows 11 Insider Preview build 26120.4250 (24H2) released to BETA
by
joep517
3 days, 1 hour ago -
Install Office 365 Outlook classic on new Win11 machine
by
WSrcull999
3 days, 1 hour ago -
win 10 to win 11 with cpu/mb replacement
by
aquatarkus
2 days, 17 hours ago -
re-install Windows Security
by
CWBillow
3 days, 4 hours ago -
WWDC 2025 Recap: All of Apple’s NEW Features in 10 Minutes!
by
Alex5723
3 days, 8 hours ago -
macOS Tahoe 26
by
Alex5723
3 days, 2 hours ago -
Migrating from win10 to win11, instructions coming?
by
astro46
17 hours, 28 minutes 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.