Either or?

dch5876

New Member
Joined
Mar 17, 2017
Messages
19
Office Version
  1. 365
Platform
  1. Windows
I am tracking dates and want to calculate the estimated delivery date in a single cell as I populate dates in each milestone.

So I have a 60 day(E), 15 day(F), 5 day(G) notification column. I record the date I receive these notices in their respective column. I want to create an estimated delivery date column (H) based on the most recent date.

Example
60 Calendar Day Notice15 Business Day Notice5 Business Day NoticeEstimated Delivery Date
2019-06-032019-08-02
2019-06-012019-07-162019-08-06
2019-05-212019-07-052019-07-262019-08-02

<tbody>
</tbody>
 

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.
try

Book1
ABCD
160 Calendar Day Notice15 Business Day Notice5 Business Day NoticeEstimated Delivery Date
26/3/20198/2/2019
36/1/20197/16/20198/6/2019
45/21/20197/5/20197/26/20198/2/2019
Sheet1
Cell Formulas
RangeFormula
D2{=IF(MATCH(1,IF(ISNUMBER(A2:C2),1))=1,A2+60,IF(MATCH(1,IF(ISNUMBER(A2:C2),1))=2,WORKDAY.INTL(B2,15),WORKDAY.INTL(C2,5)))}
D3{=IF(MATCH(1,IF(ISNUMBER(A3:C3),1))=1,A3+60,IF(MATCH(1,IF(ISNUMBER(A3:C3),1))=2,WORKDAY.INTL(B3,15),WORKDAY.INTL(C3,5)))}
D4{=IF(MATCH(1,IF(ISNUMBER(A4:C4),1))=1,A4+60,IF(MATCH(1,IF(ISNUMBER(A4:C4),1))=2,WORKDAY.INTL(B4,15),WORKDAY.INTL(C4,5)))}
Press CTRL+SHIFT+ENTER to enter array formulas.
 
Upvote 0
Maybe...

H2
=IF(COUNT(E2:G2)=1,E2+60,WORKDAY(INDEX(E2:G2,COUNT(E2:G2)),CHOOSE(COUNT(E2:G2)-1,15,5)))

M.
 
Upvote 0
Well ... =IF( MAX( E2:G2) = 0, "", MAX( E2:G2))

But I don't see where you're getting your current Estimated date from, so there may be another data field to consider. (My formula won't return your results.)
 
Upvote 0
Perhaps.

=IF(MATCH(0,A2:C2,-1)=1,A2+60,WORKDAY(INDEX(A2:C2,MATCH(0,A2:C2,-1)),CHOOSE(MATCH(0,A2:C2,-1)-1,15,5)))
 
Upvote 0
Scott,\
This worked exactly as needed. Greatly appreciate your quick response.

try
ABCD
160 Calendar Day Notice15 Business Day Notice5 Business Day NoticeEstimated Delivery Date
26/3/20198/2/2019
36/1/20197/16/20198/6/2019
45/21/20197/5/20197/26/20198/2/2019

<tbody>
</tbody>
Sheet1

Array Formulas
CellFormula
D2{=IF(MATCH(1,IF(ISNUMBER(A2:C2),1))=1,A2+60,IF(MATCH(1,IF(ISNUMBER(A2:C2),1))=2,WORKDAY.INTL(B2,15),WORKDAY.INTL(C2,5)))}
D3{=IF(MATCH(1,IF(ISNUMBER(A3:C3),1))=1,A3+60,IF(MATCH(1,IF(ISNUMBER(A3:C3),1))=2,WORKDAY.INTL(B3,15),WORKDAY.INTL(C3,5)))}
D4{=IF(MATCH(1,IF(ISNUMBER(A4:C4),1))=1,A4+60,IF(MATCH(1,IF(ISNUMBER(A4:C4),1))=2,WORKDAY.INTL(B4,15),WORKDAY.INTL(C4,5)))}

<tbody>
</tbody>
Entered with Ctrl+Shift+Enter. If entered correctly, Excel will surround with curly braces {}.
Note: Do not try and enter the {} manually yourself

<tbody>
</tbody>
 
Upvote 0
BlueHornet,
Someone is submitting to me notifications of delivery at specific intervals (60day, 15day 5 day). But when I record them I want the estimated delivery date to update based on the date they submit their notification. Scott T.'s worked exactly as needed. Appreciate your comment.
 
Last edited:
Upvote 0

Forum statistics

Threads
1,214,819
Messages
6,121,729
Members
449,049
Latest member
MiguekHeka

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