Conditional Formatting based on 4 cell factors

camerong

New Member
Joined
May 9, 2023
Messages
42
Office Version
  1. 2016
Platform
  1. Windows
Hi guys,

Id like to have the conditional formatting setup in cell G6 so that it does the following:

1. When cell G6 is below a cell value of 18 cell G6 has a green fill.
2. When cell G6 is a blank cell G6 it has no fill.
3. When cell G6 is above a cell value of 18 cell G6 has a red fill.
4. When cell G6 is above a cell value of 18 AND cell E6 is not blank cell G6 has a yellow fill.

I can get the first 3 to work, but I cannot integrate the 4th point above without it overlapping the other conditional formatting I have in points 1-3 and subsequently not working.

See atatched screenshot of the worksheet.

Thanks guys.
 

Attachments

  • Excel 2023-05-26 16.03..png
    Excel 2023-05-26 16.03..png
    58.4 KB · Views: 8

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.
What about if G6 = 18 ?

What formula are you using for point 4 ?
 
Upvote 0
For point use a formula & use this
Excel Formula:
=AND(G6>=18,E6<>"")
 
Upvote 0
Solution
What about if G6 = 18 ?

What formula are you using for point 4 ?
Hi Footoo,

For points 3 and 4, those will apply if it is 18.00 or higher. For point 1 it would be 17.99 or lower. Sorry if that wasn't clear

Point 4 is the one that I am having issues getting to work
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,215,196
Messages
6,123,578
Members
449,108
Latest member
rache47

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