Conditional Formatting

pianolady30

New Member
Joined
Aug 31, 2016
Messages
19
I have a spreadsheet that tallies the amount of fuel purchased and used each month. At the top of the spreadsheet, the user is supposed to enter the equipment number and then in each day of the fiscal month, they enter how much fuel was used. The purchased amount has its own column. Sometimes, the users forget to enter the equipment number, so I'd like to use conditional formatting to highlight the cell if it is blank and there is quantities in the column. I've tried the formula below, but it is highlighting the cell regardless of whether there are quantities in the column. The highlight does go away if I put an equipment number in the cell.

=(B$8:B$35<>"")+(B$6="")
 

Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney
Maybe:
=AND(COUNTA(B$8:B$35)> 0,B$6="")
 
Upvote 0

Forum statistics

Threads
1,217,481
Messages
6,136,902
Members
450,029
Latest member
MissQuotation

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