Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Referencing master worksheet

Status
Not open for further replies.

MikeM2468

IS-IT--Management
Apr 5, 2011
100
US
I have an 2007 Excel spreadsheet. One sheet is a master list of "stuff". For the second sheet, I'd like for it to be a carbon copy of the master sheet, but with some conditional formatting on the cells (basically alternating colors for each row). The problem that I'm having is if I use something like
Code:
=IF(Master!A1=0,"",Master!A1)

it doesn't reference the formatting of the text in the master sheet. By that I mean if something is bold in the master, it doesn't show as bold in the new sheet. Is there a way to do this? Note that I use the IF above because blank cells come over as 0's.
 

hi,

You cannot return formats with a formula; only VALUES.

What is the purpose of the "carbon copy" with Conditional Formatting, which makes it not a "carbon copy"?

Skip,

[glasses]Just traded in my old subtlety...
for a NUANCE![tongue]
 
It's a sheet where some people want it to print with highlighted alternate lines and some people want it without the lines. But I only want to update one.

Is there some sort of one-click macro that I can create to do it?
 


hi,

Multiple "identical" sheets -- NOT a good idea, IMNSHO.

Use a macro on the Master Sheet to produce the various formats you need. SIMPLE!

Use your macro recorder to get started. Post back with your recorded code for help customizing.

Skip,

[glasses]Just traded in my old subtlety...
for a NUANCE![tongue]
 
I'm not at all familiar with macros. All I have is the conditional format rule:

Code:
=MOD(ROW(),2)=1
applied to =$1:$65536


I've been able to toggle the conditional format on and off with a key cell, but I'd rather a button or something.
 


Make the button change the key cell. SIMPLE!

Try some stuff! Be adventuresome! Post back with your code and questions.

Skip,

[glasses]Just traded in my old subtlety...
for a NUANCE![tongue]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top