Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
Highlight MAX Cell Greater Than Zero
I'm trying to use a conditional format to highlight the Maximum value in a
row of cells, as long as at least 1 of the cells in the row is greater than zero. So far I've been unsuccessful. The formula I was trying is =IF(B90,MAX($B$9:$G$9),""). That highlights all cells greater than zero. If I just use =MAX($B$9:$G$9) and the row is all 0's than it will highlight every cell. XL2003 |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
Highlight MAX Cell Greater Than Zero
Try this CF formula
=AND(B9=MAX(B9:$G$9),B90) Mike "Nate" wrote: I'm trying to use a conditional format to highlight the Maximum value in a row of cells, as long as at least 1 of the cells in the row is greater than zero. So far I've been unsuccessful. The formula I was trying is =IF(B90,MAX($B$9:$G$9),""). That highlights all cells greater than zero. If I just use =MAX($B$9:$G$9) and the row is all 0's than it will highlight every cell. XL2003 |
#3
Posted to microsoft.public.excel.misc
|
|||
|
|||
Highlight MAX Cell Greater Than Zero
Select B9:G9 and use the formula
=B9=MAX($B$9:$G$9) "Nate" wrote: I'm trying to use a conditional format to highlight the Maximum value in a row of cells, as long as at least 1 of the cells in the row is greater than zero. So far I've been unsuccessful. The formula I was trying is =IF(B90,MAX($B$9:$G$9),""). That highlights all cells greater than zero. If I just use =MAX($B$9:$G$9) and the row is all 0's than it will highlight every cell. XL2003 |
#4
Posted to microsoft.public.excel.misc
|
|||
|
|||
Highlight MAX Cell Greater Than Zero
Thanks Mike! That worked perfectly!
Sorry for the delay in my response - I've been having trouble logging into this website recently. "Mike H" wrote: Try this CF formula =AND(B9=MAX(B9:$G$9),B90) Mike "Nate" wrote: I'm trying to use a conditional format to highlight the Maximum value in a row of cells, as long as at least 1 of the cells in the row is greater than zero. So far I've been unsuccessful. The formula I was trying is =IF(B90,MAX($B$9:$G$9),""). That highlights all cells greater than zero. If I just use =MAX($B$9:$G$9) and the row is all 0's than it will highlight every cell. XL2003 |
#5
Posted to microsoft.public.excel.misc
|
|||
|
|||
Highlight MAX Cell Greater Than Zero
That doesn't work. It highlights every cell if they are all equal to 0.
"Sheeloo" wrote: Select B9:G9 and use the formula =B9=MAX($B$9:$G$9) "Nate" wrote: I'm trying to use a conditional format to highlight the Maximum value in a row of cells, as long as at least 1 of the cells in the row is greater than zero. So far I've been unsuccessful. The formula I was trying is =IF(B90,MAX($B$9:$G$9),""). That highlights all cells greater than zero. If I just use =MAX($B$9:$G$9) and the row is all 0's than it will highlight every cell. XL2003 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
how to highlight more related cells if cell highlight | Excel Discussion (Misc queries) | |||
Target cell coloured based on whether one cell has a greater value | Excel Worksheet Functions | |||
Highlight cells with ctrl-click but only un-highlight one cell | Excel Discussion (Misc queries) | |||
Addition to Turn cell red if today is greater or equal to date in cell | New Users to Excel | |||
Turn cell red if today is greater or equal to date in cell | New Users to Excel |