Calculating Time and Dates

bobgrand

Active Member
Joined
Apr 14, 2008
Messages
252
Office Version
  1. 365
Platform
  1. Windows
Hello all,

1724237504981.png


In the image above Column D "Arrival Date" arrives to this answer using this formula >> =IF(I2="","",WORKDAY(A2,I2,0))

I am struggling incorporating Column G "PO TIME"

The goal is if the PO TIME is after 5:00 pm add 1 more day to the ARRIVAL DATE. The Arrival Date should read Mon-08-26-24.

As always I greatly appreciate any help.

Bob
 

Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.
Hello, would this work for you:

Excel Formula:
=IF(I2="","",IF(G2>1/24*17,WORKDAY(WORKDAY(A2,I2,0),1,0),WORKDAY(A2,I2,0)))
 
Upvote 0
Hi Bob,

You can use this formula:
=IF(G3 > TIME(17, 0, 0),WORKDAY(WORKDAY(A3, I3, 0), 1, 0),WORKDAY(A3,I3,0))


date_formula.png


Let me know if it works.

Best,
Alain
 
Upvote 0

Forum statistics

Threads
1,223,886
Messages
6,175,196
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