Excel Formula with Dates Help Needed

RD1982

New Member
Joined
Nov 10, 2022
Messages
39
Office Version
  1. 365
Platform
  1. Windows
Hi Mr. Excels,

Could you please help me to build formula which will inform as "overdue" if an order passed through "Planned GR Date and GR Date" as exemplified below?
I tried to attached file to facilitate the check but it seems not available so I copied/past table. Thanks in advance.

The below informed Days GR late as 4,5 and 6 days = this is overdue but column J is not showing that.... I guess a new condition on column C is required?
Formulas I'm using in each column:

Late PGI Date => =IFS(AND(B39=0,A39<TODAY()),"Late",A39>B39,"Expedited",A39=B39,"On Time",TRUE,"Late")
Days PGI Late => =NETWORKDAYS(A39,IF(B39=0,TODAY(),B39))-1
Late GR => =IFS(D39>C39,"Late",D39=C39,"On Time",D39<C39,"Expedited",TRUE,"")
Days GR Late => =NETWORKDAYS(C39,IF(D39=0,TODAY(),D39))-1
Overdue => =IF(C39>=TODAY(),"No Action Required",IF(OR(D39="",D39>TODAY()),"Check",IF(C39>=D39,"Not Due","Overdue")))

Formula Validation DIFOT.xlsx
ABCDEFGHIJ
1Expected PGI DatePGI DatePlanned GR DateGR DatePlanned Release DateLate PGId?Days PGI LateLate GR?Days GR LateOverdue
391/09/202331/08/20232/09/20230/01/19001/09/2023Expedited-3Expedited8Not Due
401/09/202331/08/20232/09/20230/01/19001/09/2023Expedited-3Expedited8Not Due
411/09/202331/08/20235/09/20230/01/19004/09/2023Expedited-3Expedited7Not Due
421/09/202331/08/20235/09/20230/01/19004/09/2023Expedited-3Expedited7Not Due
431/09/202331/08/20235/09/20230/01/19004/09/2023Expedited-3Expedited7Not Due
441/09/202331/08/20235/09/20230/01/19004/09/2023Expedited-3Expedited7Not Due
451/09/202331/08/20235/09/20230/01/19004/09/2023Expedited-3Expedited7Not Due
461/09/202331/08/20235/09/20230/01/19004/09/2023Expedited-3Expedited7Not Due
471/09/202331/08/20236/09/20230/01/19005/09/2023Expedited-3Expedited6Not Due
481/09/202331/08/20236/09/20230/01/19005/09/2023Expedited-3Expedited6Not Due
491/09/202331/08/20236/09/20230/01/19005/09/2023Expedited-3Expedited6Not Due
501/09/202331/08/20236/09/20230/01/19005/09/2023Expedited-3Expedited6Not Due
511/09/202331/08/20236/09/20230/01/19005/09/2023Expedited-3Expedited6Not Due
521/09/202331/08/20236/09/20230/01/19005/09/2023Expedited-3Expedited6Not Due
531/09/20230/01/19003/09/20230/01/19001/09/2023Late9Expedited8Not Due
541/09/20230/01/19006/09/20230/01/19004/09/2023Late9Expedited6Not Due
551/09/20230/01/19006/09/20230/01/19004/09/2023Late9Expedited6Not Due
561/09/20230/01/19006/09/20230/01/19004/09/2023Late9Expedited6Not Due
571/09/20230/01/19006/09/20230/01/19004/09/2023Late9Expedited6Not Due
581/09/20230/01/19006/09/20230/01/19004/09/2023Late9Expedited6Not Due
591/09/20230/01/19007/09/20230/01/19005/09/2023Late9Expedited5Not Due
601/09/20230/01/19007/09/20230/01/19005/09/2023Late9Expedited5Not Due
611/09/20231/09/20237/09/20230/01/19000/01/1900On Time0Expedited5Not Due
624/09/20234/09/20237/09/20230/01/19004/09/2023On Time0Expedited5Not Due
634/09/20234/09/20237/09/20230/01/19004/09/2023On Time0Expedited5Not Due
644/09/20234/09/20237/09/20230/01/19004/09/2023On Time0Expedited5Not Due
654/09/20234/09/20237/09/20230/01/19004/09/2023On Time0Expedited5Not Due
664/09/20234/09/20237/09/20230/01/19004/09/2023On Time0Expedited5Not Due
674/09/20234/09/20237/09/20230/01/19004/09/2023On Time0Expedited5Not Due
684/09/20234/09/20237/09/20230/01/19004/09/2023On Time0Expedited5Not Due
694/09/20234/09/20237/09/20230/01/19004/09/2023On Time0Expedited5Not Due
704/09/20234/09/20237/09/20230/01/19004/09/2023On Time0Expedited5Not Due
714/09/20234/09/20237/09/20230/01/19004/09/2023On Time0Expedited5Not Due
724/09/20234/09/20237/09/20230/01/19004/09/2023On Time0Expedited5Not Due
734/09/20234/09/20237/09/20230/01/19004/09/2023On Time0Expedited5Not Due
744/09/20235/09/20236/09/20230/01/19004/09/2023Late1Expedited6Not Due
754/09/20235/09/20236/09/20230/01/19004/09/2023Late1Expedited6Not Due
Sheet1
Cell Formulas
RangeFormula
F39:F75F39=IFS(AND(B39=0,A39<TODAY()),"Late",A39>B39,"Expedited",A39=B39,"On Time",TRUE,"Late")
G39:G75,I39:I75G39=NETWORKDAYS(A39,IF(B39=0,TODAY(),B39))-1
H39:H75H39=IFS(D39>C39,"Late",D39=C39,"On Time",D39<C39,"Expedited",TRUE,"")
J39:J75J39=IF(C39>=TODAY(),"No Action Required",IF(OR(D39="",D39>TODAY()),"Check",IF(C39>=D39,"Not Due","Overdue")))
 

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)

Forum statistics

Threads
1,223,886
Messages
6,175,190
Members
452,616
Latest member
intern444

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