Conditional Formatting

C

Claire U

In Excel 2007, I am trying to apply conditional formatting based on a formula
which basically says "if a1 in sheet1 contains a number greater than 10, make
b1 in sheet2 red."

Firstly, I see that you Excel doesn't like using references to other
worksheets for conditional formatting criteria. I have tried creating a
named range and also copied the cells into the same worksheet (so they are
now linked) but it doesn't seem to like any of my attempts! I am probably
not using the right formula.

Any tips, advice and help would be most appreciated.
 
S

Stefi

If you name a1 in sheet1 say criterium then for B1 in sheet2 this is the
formula:
=criterium >10

This is so simple, I don't think you made an error in it. I guess that your
real situation is more complex, please post exact ranges you use, and exact
criteria which describe the job not only "basically" but in full details!

Regards,
Stefi

„Claire U†ezt írta:
 
C

Claire U

Thank you Stefi - I was trying to make it so much more complicated than it
needed to be!
 
T

T. Valko

Try this:

=AND(COUNT(INDIRECT("Sheet1!A1")),INDIRECT("Sheet1!A1")>10)

Or, you could give cell Sheet1 A1 a name, say, Sh1A1, then:

=AND(COUNT(Sh1A1),Sh1A1>10)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top