AND, ISBLANK, CONDITIONAL FORMAT

srizki

Well-known Member
Joined
Jan 14, 2003
Messages
1,840
Office Version
  1. 365
Platform
  1. Windows
I need a formula to use in conditional formatting. I need to highlight cells if the corresponding cell has number and the next cell is blank.
So for example A2, A3, A4, A5, A6 have numbers, and B2, B4, B5, have codes like A, I, C, so since A3 has the number but B3 is empty I want to highlight this, something like =AND(ISNUMBER($A2,ISBLANK(B2)….
Something like this.

=AND(IF($I64<>"",$J64="")) does not work because it highlight even when there is text.
Lockbox Template July 2007.xls
IJKL
115381383.5K
11693095.86J
117935036.14A
118121135.55I
11931740.62E
1200.01M
Sheet1
 

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.
Thank you Andrew, it is what I was looking for.
Cheers.
Sohail
 
Upvote 0

Forum statistics

Threads
1,214,643
Messages
6,120,707
Members
448,981
Latest member
recon11bucks

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