I want to conditionally format a cell if two other cells return no value

Tristram_ZX81

New Member
Joined
Jun 22, 2021
Messages
45
Office Version
  1. 365
Platform
  1. Windows
In below picture, C column is sum of A:B. However, I want the C column to go red if there is no value in either A or B, as in row 280, 284, 285 and 288 below. However, I can only find how to conditionally format 'blank' cells. The problem is, these cells aren't blank, they have IF formula in them referring to the data in columns D onwards. So I want C to flag red if the IF formula returns no data for either column. Sometimes the A and B (and C) will return a 0 (zero); I don't want this to trigger the conditional formatting. Any ideas?


1624608963759.png
 

Attachments

  • 1624608784924.png
    1624608784924.png
    4 KB · Views: 4
  • 1624608914670.png
    1624608914670.png
    3.1 KB · Views: 3
  • 1624608953272.png
    1624608953272.png
    3.1 KB · Views: 5
I applied it to C4 and then dragged the cell down to apply it to all of column C from C4 down.
 
Upvote 0

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
Ok lets start from the start. Go to Home-Conditional Formatting-Manage Rules. Change the dropdown to This Worksheet. What do you see? Clear any that shouldnt be there. I need to know the formula being used and its applies to range.
 
Upvote 0
Right now there's nothing in there. The only rules that have been in there were your above ones, which resulted in the above screen grabs, which I have since removed.
 
Upvote 0
If you are applying the Cf to C4 down use
Excel Formula:
=AND(A4="",B4="")
The cells in the Formula should match the first row in the applies to range.
 
Upvote 0
Thanks Fluff, that works! Apologies Steve, I realise now this is the first formula you gave me, I'm not sure how I managed to misapply it.

1624620733684.png
 
Upvote 0
Glad we could help & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,214,649
Messages
6,120,733
Members
448,987
Latest member
marion_davis

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top