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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Excel conditional formatting opposing criteria

Status
Not open for further replies.

danomaniac

Programmer
Jan 16, 2002
266
US
I'm having difficulty getting my conditional formatting to do exactly what I want. I have data in 5 columns spanning many rows. The left column is populated with weekly dates through the end of the year and every week data is entered in the columns to the right. The first column of data is the critical entry. If it is blank, nothing has happened and the spreadsheet assumes it is in the future. From that row on down in the next columns, I have projected values into the future based on the value entered. I want future values to be formatted gray and past values to be black based on whether or not the first cell is blank. Easy enough. The problem is, I also want to know when a future value reaches a certain point, say, zero.

default format = black text
condition 1: cell formula =ISBLANK($B1) formatted gray text.
condition 2: cell value = 0 formatted green text

The second condition never works. I've also tried setting the default to green. Then if cell b1 is blank, gray, not blank, black. Doesn't work.

I would appreciate any suggestions. Thanks.



"It's more like it is now, than it ever has been."
 
I got it.

Default format = gray text
condition 1: cell formula =NOT(ISBLANK($B1)) black text
condition 2: cell value = 0 green text.

Thanks anyway.
Cheers.

"It's more like it is now, than it ever has been."
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top