Nested functions for months remaining, complete and overdue projects

lager2020

New Member
Joined
Oct 26, 2020
Messages
9
Office Version
  1. 365
Platform
  1. Windows
Hi everyone, I'm trying to do three things within one cell based on data in several other cells.

1. calculate the months remaining between two dates. However...
2. if the Project End date is past then check the General status column, if column does not say "Complete" the mark it as "Overdue"
3. if the Project End date is past then check the general status column, if column says "Complete" then mark it as "Complete"

See below for a visual...

Overdue dates.xlsx
ABCDEFG
1Project Start Date (yyyy-mm)Project End Date (yyyy-mm)Mths Remaining% Through Schedule% Work CompletedGeneral Status
2July 1, 2019August 1, 202013127%FinishingI would like C2 to show "overdue" since the General Status is not "complete"
3October 1, 2020February 28, 2021432%I would like C3 to show the months remaining if it is not overdue or complete
4October 21, 2020December 1, 2020167%85%I would like C4 to show the months remaining if it is not overdue or complete
5August 2, 2013October 7, 201974118%100%CompleteI would like C5 to show "Complete" since the General Status is "complete"
Sheet1
Cell Formulas
RangeFormula
C2:C5C2=DATEDIF(A2,B2,"m")
D2:D5D2=((DATEDIF(A2,TODAY(),"d")+1)/(DATEDIF(A2,B2,"d")+1))
Cells with Data Validation
CellAllowCriteria
F2:F5List='X:\Working\Market-Plant-Environmental\Tracking Sheets\[Copy of edits Environmental Inf. Workload Tracking.xlsx]Lists'!#REF!
 

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.
How about
Excel Formula:
=IF(F2="Complete",F2,IF(B2<TODAY(),"Overdue",DATEDIF(A2,B2,"m")))
 
Upvote 0
Solution

Forum statistics

Threads
1,214,649
Messages
6,120,732
Members
448,987
Latest member
marion_davis

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