+ Reply to Thread
Results 1 to 14 of 14

add days without adding weekend

  1. #1
    brian thompson3001 via OfficeKB.com
    Guest

    add days without adding weekend

    Hi

    Trying to add 4 days to date in cell A1, without counting weekend and if poss
    bank holidays. in cell C1
    example
    cell a1 = date
    cell b1 = time

    If time after 1600 hrs needs to be classed as next day. Then i have to add 4
    days to that new date
    any help appriciated

    thanks in advance

    brian

    --
    Message posted via OfficeKB.com
    http://www.officekb.com/Uwe/Forums.a...l-new/200603/1

  2. #2
    Bob Phillips
    Guest

    Re: add days without adding weekend

    =WORKDAY(A1,IF(B1>TIME(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:5cc4cd0caec36@uwe...
    > Hi
    >
    > Trying to add 4 days to date in cell A1, without counting weekend and if

    poss
    > bank holidays. in cell C1
    > example
    > cell a1 = date
    > cell b1 = time
    >
    > If time after 1600 hrs needs to be classed as next day. Then i have to

    add 4
    > days to that new date
    > any help appriciated
    >
    > thanks in advance
    >
    > brian
    >
    > --
    > Message posted via OfficeKB.com
    > http://www.officekb.com/Uwe/Forums.a...l-new/200603/1




  3. #3
    brian thompson3001 via OfficeKB.com
    Guest

    Re: add days without adding weekend

    Hi Bob
    keep getting #name?
    =WORKDAY(A1,(IF(B1>TIME(16,0,0),5,4)))
    is there any special format for date and time,
    using
    4-Feb 23:01:00

    regards
    Bob Phillips wrote:
    >=WORKDAY(A1,IF(B1>TIME(16,0,0),5,4))
    >
    >> Hi
    >>

    >[quoted text clipped - 11 lines]
    >>
    >> brian


    --
    Message posted via OfficeKB.com
    http://www.officekb.com/Uwe/Forums.a...l-new/200603/1

  4. #4
    Bob Phillips
    Guest

    Re: add days without adding weekend

    Sounds like you don't have the Analysis Toolpak add-on installed,
    Tools>Addins.

    --
    HTH

    Bob Phillips

    (remove nothere from email address if mailing direct)

    "brian thompson3001 via OfficeKB.com" <u15682@uwe> wrote in message
    news:5cd13365fa832@uwe...
    > Hi Bob
    > keep getting #name?
    > =WORKDAY(A1,(IF(B1>TIME(16,0,0),5,4)))
    > is there any special format for date and time,
    > using
    > 4-Feb 23:01:00
    >
    > regards
    > Bob Phillips wrote:
    > >=WORKDAY(A1,IF(B1>TIME(16,0,0),5,4))
    > >
    > >> Hi
    > >>

    > >[quoted text clipped - 11 lines]
    > >>
    > >> brian

    >
    > --
    > Message posted via OfficeKB.com
    > http://www.officekb.com/Uwe/Forums.a...l-new/200603/1




  5. #5
    brian thompson3001 via OfficeKB.com
    Guest

    Re: add days without adding weekend

    your right !

    have tried at work and it works

    thanks again

    Bob Phillips wrote:
    >Sounds like you don't have the Analysis Toolpak add-on installed,
    >Tools>Addins.
    >
    >> Hi Bob
    >> keep getting #name?

    >[quoted text clipped - 11 lines]
    >> >>
    >> >> brian


    --
    Message posted via OfficeKB.com
    http://www.officekb.com/Uwe/Forums.a...l-new/200603/1

  6. #6
    brian thompson3001 via OfficeKB.com
    Guest

    Re: add days without adding weekend

    Hi

    Celebrated too soon

    Realised that I require any time after 1600 the next day. to be classed as
    the following day, then + 4. If between fri 1600hrs and mon 0000, classed as
    monday, then add 4
    Example
    fri 3/3 1623. therefore Mon + 4 = 10/3
    fri 1500 = therefore Fri = 9/3

    Any idea's?

    brian thompson3001 wrote:
    >your right !
    >
    >have tried at work and it works
    >
    >thanks again
    >
    >>Sounds like you don't have the Analysis Toolpak add-on installed,
    >>Tools>Addins.

    >[quoted text clipped - 4 lines]
    >>> >>
    >>> >> brian


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

  7. #7
    Bob Phillips
    Guest

    Re: add days without adding weekend

    That's exactly what it does for me.

    --
    HTH

    Bob Phillips

    (remove nothere from email address if mailing direct)

    "brian thompson3001 via OfficeKB.com" <u15682@uwe> wrote in message
    news:5cddcaec4d57f@uwe...
    > Hi
    >
    > Celebrated too soon
    >
    > Realised that I require any time after 1600 the next day. to be classed

    as
    > the following day, then + 4. If between fri 1600hrs and mon 0000, classed

    as
    > monday, then add 4
    > Example
    > fri 3/3 1623. therefore Mon + 4 = 10/3
    > fri 1500 = therefore Fri = 9/3
    >
    > Any idea's?
    >
    > brian thompson3001 wrote:
    > >your right !
    > >
    > >have tried at work and it works
    > >
    > >thanks again
    > >
    > >>Sounds like you don't have the Analysis Toolpak add-on installed,
    > >>Tools>Addins.

    > >[quoted text clipped - 4 lines]
    > >>> >>
    > >>> >> brian

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




  8. #8
    Bob Phillips
    Guest

    Re: add days without adding weekend

    That's exactly what it does for me.

    --
    HTH

    Bob Phillips

    (remove nothere from email address if mailing direct)

    "brian thompson3001 via OfficeKB.com" <u15682@uwe> wrote in message
    news:5cddcaec4d57f@uwe...
    > Hi
    >
    > Celebrated too soon
    >
    > Realised that I require any time after 1600 the next day. to be classed

    as
    > the following day, then + 4. If between fri 1600hrs and mon 0000, classed

    as
    > monday, then add 4
    > Example
    > fri 3/3 1623. therefore Mon + 4 = 10/3
    > fri 1500 = therefore Fri = 9/3
    >
    > Any idea's?
    >
    > brian thompson3001 wrote:
    > >your right !
    > >
    > >have tried at work and it works
    > >
    > >thanks again
    > >
    > >>Sounds like you don't have the Analysis Toolpak add-on installed,
    > >>Tools>Addins.

    > >[quoted text clipped - 4 lines]
    > >>> >>
    > >>> >> brian

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




  9. #9
    brian thompson3001 via OfficeKB.com
    Guest

    Re: add days without adding weekend

    understand, but if date of 4/3/06 and time 02:01:01 , then it returns a date
    of 09/03/06 and require 10/3/6

    Is it possible to get my result?

    Bob Phillips wrote:
    >That's exactly what it does for me.
    >
    >> Hi
    >>

    >[quoted text clipped - 20 lines]
    >> >>> >>
    >> >>> >> brian


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

  10. #10
    Bob Phillips
    Guest

    Re: add days without adding weekend

    =WORKDAY(A1,IF(OR(WEEKDAY(,2)>5,B1>TIME(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:5ce43931d82b7@uwe...
    > understand, but if date of 4/3/06 and time 02:01:01 , then it returns a

    date
    > of 09/03/06 and require 10/3/6
    >
    > Is it possible to get my result?
    >
    > Bob Phillips wrote:
    > >That's exactly what it does for me.
    > >
    > >> Hi
    > >>

    > >[quoted text clipped - 20 lines]
    > >> >>> >>
    > >> >>> >> brian

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




  11. #11
    brian thompson3001 via OfficeKB.com
    Guest

    Re: add days without adding weekend

    Hi bob

    nearly there !

    The weekend's do seem to be givinng problems. Any weekend date and friday
    after 1600, to reflect mondays date

    regards
    Bob Phillips wrote:
    >=WORKDAY(A1,IF(OR(WEEKDAY(,2)>5,B1>TIME(16,0,0)),5,4))
    >
    >> understand, but if date of 4/3/06 and time 02:01:01 , then it returns a date
    >> of 09/03/06 and require 10/3/6

    >[quoted text clipped - 8 lines]
    >> >> >>> >>
    >> >> >>> >> brian


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

  12. #12
    brian thompson3001 via OfficeKB.com
    Guest

    Re: add days without adding weekend

    Hi bob

    nearly there !

    The weekend's do seem to be givinng problems. Any weekend date and friday
    after 1600, to reflect mondays date

    regards
    Bob Phillips wrote:
    >=WORKDAY(A1,IF(OR(WEEKDAY(,2)>5,B1>TIME(16,0,0)),5,4))
    >
    >> understand, but if date of 4/3/06 and time 02:01:01 , then it returns a date
    >> of 09/03/06 and require 10/3/6

    >[quoted text clipped - 8 lines]
    >> >> >>> >>
    >> >> >>> >> brian


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

  13. #13
    Bob Phillips
    Guest

    Re: add days without adding weekend

    Brian,

    I think it would help if you give examples of all the possibilities and
    expected results, let's get it finished <vbg>

    --
    HTH

    Bob Phillips

    (remove nothere from email address if mailing direct)

    "brian thompson3001 via OfficeKB.com" <u15682@uwe> wrote in message
    news:5cf41483ca8b6@uwe...
    > Hi bob
    >
    > nearly there !
    >
    > The weekend's do seem to be givinng problems. Any weekend date and friday
    > after 1600, to reflect mondays date
    >
    > regards
    > Bob Phillips wrote:
    > >=WORKDAY(A1,IF(OR(WEEKDAY(,2)>5,B1>TIME(16,0,0)),5,4))
    > >
    > >> understand, but if date of 4/3/06 and time 02:01:01 , then it returns a

    date
    > >> of 09/03/06 and require 10/3/6

    > >[quoted text clipped - 8 lines]
    > >> >> >>> >>
    > >> >> >>> >> brian

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




  14. #14
    brian thompson3001 via OfficeKB.com
    Guest

    Re: add days without adding weekend

    Bob you are very patient !

    vehicles are released for delivery, and the clock starts ticking. we have 5
    days to deliver.

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

    Examples

    fri 3/3 07:00:00 delivery date 9/3
    fri 3/3 16:51:00 delivery date 10/3
    sat 4/3 delivery date 10/3
    sun 5/3 delivery date 10/3
    Mon 6/3 00:51:00 delivery date 10/3

    thanks

    Bob Phillips wrote:
    >Brian,
    >
    >I think it would help if you give examples of all the possibilities and
    >expected results, let's get it finished <vbg>
    >
    >> Hi bob
    >>

    >[quoted text clipped - 11 lines]
    >> >> >> >>> >>
    >> >> >> >>> >> brian


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

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1