Conditional Formatting and '=IF' help?

mcooper22

New Member
Joined
Oct 31, 2023
Messages
1
Office Version
  1. 365
Platform
  1. Windows
Hi All,

Appreciate any help with this and my limited excel knowledge.

Currently using conditional formatting if the cell in R has a value below 7 it's okay and a green tick, above 7 and below 21 it's amber, above 21 it's a red X

What I would like to do, is keep it doing that, however if there is a deposit number in S column it negates the need for the formatting in column R.

Furthermore, if there is a date of deposit in column Q - then column T will have 21 days from that date before it becomes highlighted in Red (I assume I can just do that in conditional formatting)

If that at all is possible, it would be fantastic, and any help would be appreciated.
 

Attachments

  • Excel Query.png
    Excel Query.png
    23.4 KB · Views: 5

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.
Try this for column R, I'm assuming you have Q covered.
(Note: The formatting of Icon Sets did not copy, so there is an image)

1698755507489.png


1698755586350.png


Cell Formulas
RangeFormula
U2U2=FORMULATEXT(T3)
Q3Q3=DATE(2023,10,1)
R3:R13R3=TODAY()-Q3
Q4:Q13Q4=Q3+3
T3:T12T3=IF(S3<>"","Skip Formatting",IF(R3<7,"Ok Green Tick",IF(R3<21,"Amber Tick","Red X")))
T13T13=IF(S13<>"",FALSE,IF(R13<7,"Ok Green Tick",IF(R13<21,"Amber Tick","Red X")))
Cells with Conditional Formatting
CellConditionCell FormatStop If True
R3:R13Expression=S3<>""textYES
R3:R13Other TypeIcon setNO
 
Upvote 0

Forum statistics

Threads
1,215,071
Messages
6,122,964
Members
449,094
Latest member
Anshu121

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