Date & Times

Steven1985

Board Regular
Joined
Mar 2, 2011
Messages
66
Hi,

I have a current formula (Below) thats countS the date and time in HH:MM from one cell (A3) to (AO3).

This has included NETWORKDAYS to exclude counting if a weekend of bankholiday. This data is in Controls A10:A47

=IF(AO3="","",NETWORKDAYS(A3,AO3,Controls!A$10:A$47)-1-(MOD(A3,1)>MOD(AO3,1))&" days "&TEXT(AO3-A3,"h:mm"))

The issue I have is -

Date Received (A3) 02/09/2011 09:00 Outcome Date (AO3) 03/09/2011 11:15

Currently the formula would bring back -1 Days 21:15

I need it to ignore all of the 02/09/2011 as it's a sunday (a non working day) and count from 9am Monday 03/09/2011 so i want it to read 0 Days 2:15??

Is this even possible?

Many Thanks
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
Hi Steven.

My suggestion:

The date is in D1
D1 is colored in 3 years

Formula:
=today()>=date(year(D1)+3,month(D1),day(D1))

Control: Change the date in D1 minus 3 years

Regards
Excel Workbook
D
110.04.11
210.04.08
Sheet


<table border="0" cellpadding="0" cellspacing="0" width="438"><tr style="height:14.4pt" height="19"></tr><tr style="height:14.4pt" height="19"><td style="height:14.4pt" height="19">
</td></tr><tr style="height:14.4pt" height="19"><td style="height:14.4pt" height="19">
</td></tr><tr style="height:14.4pt" height="19"><td style="height:14.4pt" height="19">
</td></tr><tr style="height:14.4pt" height="19"><td style="height:14.4pt" height="19">
</td></tr><tr style="height:14.4pt" height="19"><td style="height:14.4pt" height="19">
</td></tr></table>
 
Upvote 0

Forum statistics

Threads
1,224,542
Messages
6,179,421
Members
452,913
Latest member
JWD210

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