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

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.

Jonmo1

MrExcel MVP
Joined
Oct 12, 2006
Messages
44,061
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))
 

Watch MrExcel Video

Forum statistics

Threads
1,129,685
Messages
5,637,809
Members
416,983
Latest member
LessThanAverageUser

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
Top