![]() |
Conditional Format IF AND
In order to quickly identify missing entries on a spreadsheet I want to
conditionally format a cell if it is blank AND the adjacent cell contains a value. eg. IF cell F96 is blank AND cell G96 contains a value then F96 should background red. I also want to be able to reverse this, IF G96 is blank AND F96 has a value then G96 should background red. If both cells are blank then no format applied. I am sure its just some simple entry in the appropriate Formula Is, boxes, for the two cells, just I cannot seem to get it. Blank, Zero, or value less than one, would all work equally well in this case. It doesn't need to specifically check for BLANK. Excel 2002 Many Thanks Paul Moles |
Conditional Format IF AND
Paul,
This as conditional format formula in F96 =AND(ISBLANK($F$96),$G$96<"") with a colour of red selected and this in G96 =AND(ISBLANK($G$96),$F$96<"") Once again with red selected Mike "Paul Moles" wrote: In order to quickly identify missing entries on a spreadsheet I want to conditionally format a cell if it is blank AND the adjacent cell contains a value. eg. IF cell F96 is blank AND cell G96 contains a value then F96 should background red. I also want to be able to reverse this, IF G96 is blank AND F96 has a value then G96 should background red. If both cells are blank then no format applied. I am sure its just some simple entry in the appropriate Formula Is, boxes, for the two cells, just I cannot seem to get it. Blank, Zero, or value less than one, would all work equally well in this case. It doesn't need to specifically check for BLANK. Excel 2002 Many Thanks Paul Moles |
Conditional Format IF AND
using the cells you specified , in cell f96 , goto conditional formatting in
the format option change the cell value = , to formula =g96"" click the format button and select the colours you want in g96 do the same but change the formula to f96"" "Paul Moles" wrote: In order to quickly identify missing entries on a spreadsheet I want to conditionally format a cell if it is blank AND the adjacent cell contains a value. eg. IF cell F96 is blank AND cell G96 contains a value then F96 should background red. I also want to be able to reverse this, IF G96 is blank AND F96 has a value then G96 should background red. If both cells are blank then no format applied. I am sure its just some simple entry in the appropriate Formula Is, boxes, for the two cells, just I cannot seem to get it. Blank, Zero, or value less than one, would all work equally well in this case. It doesn't need to specifically check for BLANK. Excel 2002 Many Thanks Paul Moles |
Conditional Format IF AND
Hi Paul,
Try this in the CF windows: F96: =AND($F$96=0,$G$961) G96: =AND($G$96=0,$F$961) Regards - Dave. "Paul Moles" wrote: In order to quickly identify missing entries on a spreadsheet I want to conditionally format a cell if it is blank AND the adjacent cell contains a value. eg. IF cell F96 is blank AND cell G96 contains a value then F96 should background red. I also want to be able to reverse this, IF G96 is blank AND F96 has a value then G96 should background red. If both cells are blank then no format applied. I am sure its just some simple entry in the appropriate Formula Is, boxes, for the two cells, just I cannot seem to get it. Blank, Zero, or value less than one, would all work equally well in this case. It doesn't need to specifically check for BLANK. Excel 2002 Many Thanks Paul Moles |
All times are GMT +1. The time now is 02:00 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com