Action Plan Overdue Status - Two different cell?

philsew

New Member
Joined
Sep 8, 2023
Messages
4
Office Version
  1. 365
Platform
  1. Windows
Hi,
I've tried to figure this out but am struggling.. I need to figure out how to make a cell say OVERDUE based on the information in two other cells.
If target completion date is older than today and the action progress says anything other than completed, including if it is blank I want to be able to say the Overdue cell says Yes. If the date is in the future I don't want it to say anything and if the date is today or in the past but the action progress cell says completed I also don't want it to say anything.


Any help would be massively appreciated!

Target Completion Date:Overdue?Action Progress:
08/09/2023Completed

Thanks,
 

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.
Welcome to the Board!

Assuming that Target Completion date is in cell A2 and Action Prorgess is in cell C2, enter this formula in cell B2:
Excel Formula:
=IF(AND(A2<TODAY(),C2<>"Completed"),"Overdue","")
 
Upvote 1
Solution
You are welcome!
Glad I was able to help.

Hopefully, you can see what I did and it makes sense.
Feel free to ask any questions you may have about it.
 
Upvote 0
Hi Joe,

I do have one question.. when the cell for the date is blank it still says overdue? Does it need an ISBLANK somewhere?

Thanks,

Phil
 
Upvote 0
Hi Joe,

I do have one question.. when the cell for the date is blank it still says overdue? Does it need an ISBLANK somewhere?

Thanks,

Phil
OK, you originally did not mention any possibility of the date field being blank. But if you do not want it to say "Overdue" if the date field is blank, just add one more condition to the AND clause, i.e.
Rich (BB code):
=IF(AND(A2<TODAY(),A2>0,C2<>"Completed"),"Overdue","")

This works because dates in Excel are actually stored as numbers, specifically the number of days since 1/0/1900 (dates are really just numbers with special date formats).
So you can simply check to see if the value is greater than 0 (not blank/empty).
 
Upvote 0
No worries.

In Excel 365, you can have up to 255 clauses in the AND function. So you can simply add more conditions to it to suit your needs.
 
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,337
Members
452,637
Latest member
Ezio2866

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