IF due date cell is < today = "" unless completed cell contains a date

Paul1895

New Member
Joined
May 23, 2019
Messages
14
Hi! :)

First time posting so i apologize in advance if i don't explain the issue i am having as well i should.

I have been asked to create a spreadsheet with gantt chart for the purpose of monitoring the status of a project. I've been told to keep it simple with the inclusion of a few visual aids to easily identify the tasks that are in progress, overdue and completed.

As my Excel knowledge is quite limited when it comes to formulas i was hoping someone could help me out with the following:

START
(D9)
DUE
(E9)
COMPLETED
(F9)
STATUS
(G9)
1-1-20193-1-2019=IF(E10<TODAY(), "Overdue", "In Progress")

<tbody>
</tbody>

Looking to add to the formula in G10 so that it shows the text "Completed" if there is a date in F10.

Thanks in advance. Any assistance is greatly appreciated.

Paul
 
Thanks Claire. Appreciate the response. Ive had a little fiddle around with it because i was told by the Project Manager that the "In Progress" status should only be present when there is a due date and should read "-" if there is no due date.

Here is what i have now:

(A)(B)(C)(D)(E)(F)(G)
(1)ACTIONLEADSTARTDUEEND%STATUS
(2)Write up project plan.----0%-

<tbody>
</tbody>

G2
=IF(ISNUMBER(E2),"Completed",IF(AND(D2 < TODAY(),D2 > 0),"Past Due",IF(C2="-","-","In Progress")))


Can someone please tell me how i can add to the above formula so that the STATUS (G2) shows up as "Almost Due" if the DUE date (D2) is < Today but > 10 days prior to Today. e.g.

(A)(B)(C)(D)(E)(F)(G)
(1)ACTIONLEADSTARTDUEEND%STATUS
(2)Write up project plan.--23-5-19-0%Almost Due

<tbody>
</tbody>


(Today is 29-5-2019 in this example)

Hope this makes sense.

Thanks in advance for any assistance people can provide :)

Paul
 
Last edited:
Upvote 0

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.
ERROR MADE IN PREVIOUS POST - PLEASE REFER TO THIS ONE INSTEAD


Here is what i have now:

(A)(B)(C)(D)(E)(F)(G)
(1)ACTIONLEADSTARTDUEEND%STATUS
(2)Write up project plan.----0%-

<tbody>
</tbody>


G2
=IF(ISNUMBER(E2),"Completed",IF(AND(D2 < TODAY(),D2 > 0),"Past Due",IF(C2="-","-","In Progress")))


Can someone please tell me how i can add to the above formula so that the STATUS (G2) shows up as "Almost Due" if the DUE date (D2) is > Today by 10 days or less?

(A)(B)(C)(D)(E)(F)(G)
(1)ACTIONLEADSTARTDUEEND%STATUS
(2)Write up project plan.--5-6-19-0%Almost Due

<tbody>
</tbody>



(Today is 29-5-2019 in this example)

Hope this makes sense.

Thanks in advance for any assistance people can provide :)

Paul
 
Upvote 0
Hi, does this cover all the scenarios?


Excel 2013/2016
ABCDEFG
1ACTIONLEADSTARTDUEEND%STATUS
2Write up project plan.--05/06/2019-Nearly Due
328/05/2019Past Due
404/05/2018Completed
5-
Sheet1
Cell Formulas
RangeFormula
G2=IF(ISNUMBER(E2),"Completed",IF(ISNUMBER(D2),IF(D2),"Past Due",IF(D2>TODAY()-10,"Nearly Due","In Progress")),"-"))
 
Upvote 0
Hi FormR,

Thank you for sending this through, it gives me 99% percent of what i was hoping to achieve. The formula you have provided has the STATUS cells as "Nearly Due" if the DUE date cells are any date > than today.

Are you able to make it so that the STATUS cells only say "Nearly Due" if the DUE date cells are between 1 and 10 days > Today but remain as "In Progress" if the DUE date cells are 11 or more days > Today? Please see row 6-9 bellow:

(Today is 30/05/2019 in this scenario)

Excel 2013/2016
ABCDEFG
1ACTIONLEADSTARTDUEEND%STATUS
2Write up project plan.--05/06/2019-Nearly Due
328/05/2019Past Due
404/05/2018Completed
5-

<tbody>
</tbody>
6---10/07/2019--In Progress

<tbody>
</tbody>
7---12/06/2019--In Progress

<tbody>
</tbody>
8---08/06/2019--Nearly Due

<tbody>
</tbody>
9---31/05/2019--Nearly Due

<tbody>
</tbody>

Thanks again for all you help with this. :)


G =IF(<font color="Blue">ISNUMBER(E2),"Completed",IF(ISNUMBER(D2),IF(D2<today(),"past due",if(D2 > TODAY()-10,"Nearly Due","In Progress"</today(),"past>)),"-"))
 
Last edited:
Upvote 0
Here you go :)

[FONT=Verdana,Arial,Tahoma,Calibri,Geneva,sans-serif]
Book1
ABCDEFG
1ACTIONLEADSTARTDUEEND%STATUS
2write pp--05/06/2019-Nearly Due
328/06/2019In Progress
404/05/2018Completed
510/07/2019In Progress
612/05/2019Past Due
708/06/2019Nearly Due
831/05/2019Nearly Due
Sheet1
Cell Formulas
RangeFormula
G2=IF(ISNUMBER(E2),"Completed",IF(ISNUMBER(D2),IF(D2),"Past Due",IF(AND(D2>=TODAY(),D2<=TODAY()+10),"Nearly Due","In Progress")),"-"))
[/FONT]
 
Upvote 0
Worksheet Formulas
CellFormula
G2=IF(<font color="Blue">ISNUMBER(E2),"Completed",IF(ISNUMBER(D2),IF(D2<today(),"past due",if(AND(D2>=TODAY(),D2<=TODAY()+10),"Nearly Due","In Progress"</today(),"past>)),"-"))

<tbody>
</tbody>

<tbody>
</tbody>

Hi, FWIW - we don't need that AND(D2>=TODAY()...) test in the 4th nested IF(), we already know it must be otherwise it wouldn't have got past the 3rd nested IF()

Code:
=IF(ISNUMBER(E10),"Completed",IF(ISNUMBER(D10),IF(D10 < TODAY(),"Past Due",IF(D10<=TODAY()+10,"Nearly Due","In Progress")),"-"))
<today(),"past due",if(d8<="TODAY()+10,"Nearly" due","in="" progress")),"-"))[="" code]<="" html=""></today(),"past>
 
Last edited:
Upvote 0
Good call! I put it in because I was editing from the formula in #13 which used different logic. Not necessary in mine. :rolleyes:

Also, weird how the quote changed the formula, adding a spurious "D2" before my "AND". Something to watch out for.
 
Upvote 0

Forum statistics

Threads
1,215,106
Messages
6,123,124
Members
449,097
Latest member
mlckr

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