Conditional Formating using a formula

UpTheArgyle

Board Regular
Joined
Jan 12, 2006
Messages
179
Hi

Trying to format a cell colour (fill) based on the value of 2 other cells and cleary incorrectly using a nested if!
Can anyone correct the below?

So A10 must be an Empty Cell & C11 must have a number in in greater than zero


=IF(AND(A10="", C11>"0"))

Thanks!
 

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
Try

=AND(A10="",C11>0)


However, this can give a false TRUE if C11 contains a text string (text is considered > numbers)
So you may need to add a test that C11 is a number, not just >0
=AND(A10="",C11>0,ISNUMBER(C11))
 
Upvote 0

Forum statistics

Threads
1,213,546
Messages
6,114,256
Members
448,557
Latest member
richa mishra

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