IF/AND/OR Statement?

Hortsy

New Member
Joined
Aug 9, 2021
Messages
3
Office Version
  1. 365
Hi,

I've got a cell with a due date in it = Cell C3 and a status column either set to Open or Closed = Cell C10.

I need to check if C10 is Open, and the due date is in the past then cell C5 displays 'Late' and highlighted red or if C10 is Open and due date is within 10 working days of today the due date cell C5 displays 'Due' and is highlighted amber and if the due date is over 10 working days away 'Not due' and coloured green.

If C10 is closed, then C5 displays Closed.

Please help, I don't know if all the above is possible!
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
Hi & welcome to MrExcel.
How about
Excel Formula:
=IF(C10="Closed",C10,IF(C3<TODAY(),"Late",IF(WORKDAY(TODAY(),10)>=C3,"Due","Not Due")))
 
Upvote 0
Solution
Hi & welcome to MrExcel.
How about
Excel Formula:
=IF(C10="Closed",C10,IF(C3<TODAY(),"Late",IF(WORKDAY(TODAY(),10)>=C3,"Due","Not Due")))
Hi,

Thanks, but it doesn't seem to take into account if Cell C10 is Open?
 
Upvote 0
Can C10 be anything other than closed or open?
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,215,039
Messages
6,122,802
Members
449,095
Latest member
m_smith_solihull

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