If a1="x" And B1 is blank, then C1 is Yellow

MrBill11

Board Regular
Joined
Mar 21, 2011
Messages
119
Can anyone help with the above? I have tried to work this trough, but have not figured it out yet. If A1 and B1 are the same then C1 would have no formatting, but if A1 = "x", and B1 is blank, then I want C1 fill to be Yellow. This is my first post. Thanks in advance.
 

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
Hi Bill
Welcome to the board

Use conditional formatting in C1 with the formula:

=AND(A1="x",B1="")
 
Upvote 0
Thanks you two. What would the formula be like for numbers? If B1 was less than A1, then C1 fill yellow? And can you recommend any reference material on these types of formulas?
 
Upvote 0
your welcome,

I am fairly new to this myself and learnt a lot from Excelisfun on youtube also I have the power excel 2007 cd from this site by MRExcel. both good starter points.
 
Upvote 0
As you can tell I'm new too. I have ben doing the Excelisfun on you tube also, and am thinking of buying the slaying excel dragons book. Does the excel 2007 cd cover conditional format formulas? They seem to be different.
 
Upvote 0
I think they both cover it at some point but look at the cd's etc on the front page of this site it states what they cover, conditional formatting formulas are the same as any others its just working out what you want the conditions to be and in what order to place them, try playing with it also I have found looking at boards such as these can be very instructive if you see a question then come back an hour later having worked it out to see that someone did it in 3 seconds can be quite amusing but also extremely rewarding if you have the same formula as them.....very rare in my case,
but I do find real live problems more motivating to learn than just trying to watch youtube, I often found I was copying what was going on and not understanding a thing.
 
Upvote 0

Forum statistics

Threads
1,224,618
Messages
6,179,917
Members
452,949
Latest member
beartooth91

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