View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.misc
Dave Peterson
 
Posts: n/a
Default Deferring conditional formatting?

I didn't mean for you to change the formula in the cell. I meant for you to
change the conditional formatting formula/rules.

Since you're using "Cell value is", you'll have to change it to "Formula is"

First format:
=and(counta(c12:g12)=5,and(1<=h20,h20<80))

And second format:
=and(counta(c12:g12)=5,h20=80)



"Pheasant PluckerŪ" wrote:

Hi Dave,

Thanks for your quick reply.

The existing formula in H20 is [=H17-H19]

Conditional Formatting for H20 is two-fold;
Cell Value between 1 - 79.99 Format pattern Red
Cell Value greater than or equal to Format 80 pattern Green

I did try what you suggested by prefixing the existing formula to give;
[=AND(COUNTA(C12:G12)=5,H17-H19)) but then the word FALSE or TRUE appears in
cell H20 which I do not want.

Nice try - thanks anyway :-)

Kind regards,
-=pp=-

"Dave Peterson" wrote in message
...
Depending on what you used for your conditional formatting rules, maybe

you
could just add another requirement:

=and(counta(c12:g12)=5,(yourexistingrules))



"Pheasant PluckerŪ" wrote:

Does the subject even make sense?

I have a cell H20 that when the spreadsheet is blank is coloured yellow

to
highlight the fact that it has a special purpose.

When the spreadsheet is blank the number 0 is displayed in this cell.

It has Conditional Formatting applied to it to turn the cell red and

display
the word FAIL if the summed result is between 1 and 79.99

For 80 and above the cell is coloured green and the word PASS is

displayed
in it.

All great so far...

However the summed result in this cell H20 depends upon the result of
another cell H17 that in turn depends upon the input of 5 other cells
C12:G12

I would rather H20 does not change colour until all of those 5 cells

C12:G12
have data in them as it would be wrong to display FAIL in a red cell

until
the result of all 5 cells are input.

Does that make sense and is this even possible?

--
Regards,
-pp-


--

Dave Peterson


--

Dave Peterson