Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
brian thompson3001 via OfficeKB.com
 
Posts: n/a
Default add 4 days to date/time

Hi

Have had help with this, but still short of goal

criterea
1) Weekday anything after 1600 is classed as next day's date
2) anything after 1600 on friday, classed as Monday
3) sat and sun is classed as monday

Need to add 4 days

Examples

fri 3/3 07:00:00 result should be 9/3
fri 3/3 16:51:00 result should be 10/3
sat 4/3 any time result should be 10/3
sun 5/3 any time result should be 10/3
Mon 6/3 00:51:00 result should be 10/3

Any help, direction would be appriciated

regards

--
bnt

Message posted via http://www.officekb.com
  #2   Report Post  
Posted to microsoft.public.excel.newusers
Bob Phillips
 
Posts: n/a
Default add 4 days to date/time

Sorry Brian, I thought I had responded to this

=WORKDAY(A1,IF(OR(WEEKDAY(A1,2)5,B1TIME(16,0,0)) ,5,4))

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"brian thompson3001 via OfficeKB.com" <u15682@uwe wrote in message
news:5d0a48f44499b@uwe...
Hi

Have had help with this, but still short of goal

criterea
1) Weekday anything after 1600 is classed as next day's date
2) anything after 1600 on friday, classed as Monday
3) sat and sun is classed as monday

Need to add 4 days

Examples

fri 3/3 07:00:00 result should be 9/3
fri 3/3 16:51:00 result should be 10/3
sat 4/3 any time result should be 10/3
sun 5/3 any time result should be 10/3
Mon 6/3 00:51:00 result should be 10/3

Any help, direction would be appriciated

regards

--
bnt

Message posted via http://www.officekb.com



  #3   Report Post  
Posted to microsoft.public.excel.newusers
brian thompson3001 via OfficeKB.com
 
Posts: n/a
Default add 4 days to date/time

thanks bob, this is exactly what i required....VBG

regards



Bob Phillips wrote:
Sorry Brian, I thought I had responded to this

=WORKDAY(A1,IF(OR(WEEKDAY(A1,2)5,B1TIME(16,0,0) ),5,4))

Hi

[quoted text clipped - 18 lines]

regards


--
bnt

Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...l-new/200603/1
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
No. of days split into periods Brian Ferris Excel Discussion (Misc queries) 3 January 31st 06 03:29 PM
Calendar Days and Option Buttons Andy Excel Discussion (Misc queries) 0 January 10th 06 09:50 PM
Calculating days & time left from start date/time to end date/time marie Excel Worksheet Functions 7 December 7th 05 02:36 PM
30, 60, 90 days late and due within 14 days armyaviatr Excel Discussion (Misc queries) 1 November 7th 05 09:14 AM
Working days left in the month compared to previous months qwopzxnm Excel Worksheet Functions 8 October 24th 05 08:00 PM


All times are GMT +1. The time now is 04:47 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"