calculate dates

Thanks Thanks:  0
Likes Likes:  0
Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: calculate dates

  1. #1
    Board Regular
    Join Date
    Jan 2003
    Posts
    421
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default calculate dates

    In my spreadsheet colT is the order date and in colY is the dispatch date. - both columns have a date format of dd/mm/yy

    What Iím trying to do and failed miserably is say - if dispatch date is 48 more than the order date state "More than 48 hours delivery"

    Could you please help

    Thanks
    Swifey

  2. #2
    MrExcel MVP
    Moderator
    Andrew Poulsom's Avatar
    Join Date
    Jul 2002
    Posts
    73,092
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default Re: calculate dates

    Something like:

    =IF((Y2-T2)>2,"More than 48 hours delivery","")

  3. #3
    Board Regular
    Join Date
    Jan 2003
    Posts
    421
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    That simple I've been try Intmonth - I feel really stupid now

    Thanks
    Swifey

  4. #4
    Board Regular
    Join Date
    Jan 2003
    Posts
    421
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default Re: calculate dates

    Hi is it possible to calculate how day its over the 48 hours not taking into account weekends?

    Regards
    Lynda

  5. #5
    Board Regular
    Join Date
    Jan 2003
    Posts
    421
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default Re: calculate dates

    Hi is it possible to calculate how day its over the 48 hours not taking into account weekends?

    Regards
    Lynda

  6. #6
    MrExcel MVP
    Moderator
    Andrew Poulsom's Avatar
    Join Date
    Jul 2002
    Posts
    73,092
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default Re: calculate dates

    Have a look at the WORKDAY function in Help. It's in the Analysis ToolPak Add-In.

  7. #7
    Board Regular Iridium's Avatar
    Join Date
    Jul 2002
    Location
    Walsall, England
    Posts
    2,831
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default Re: calculate dates

    Have a look at NETWORKDAYS in the xl help file
    Iridium


  8. #8
    MrExcel MVP
    Moderator
    Andrew Poulsom's Avatar
    Join Date
    Jul 2002
    Posts
    73,092
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default Re: calculate dates

    Quote Originally Posted by Iridium
    Have a look at NETWORKDAYS in the xl help file
    Oops! That's what I meant really. Time to go home.

  9. #9
    Board Regular Iridium's Avatar
    Join Date
    Jul 2002
    Location
    Walsall, England
    Posts
    2,831
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default Re: calculate dates

    Quote Originally Posted by Andrew Poulsom
    Quote Originally Posted by Iridium
    Have a look at NETWORKDAYS in the xl help file
    Oops! That's what I meant really. Time to go home.
    All the help you've given me Andrew I think we'll let you off!
    Iridium


  10. #10
    Board Regular Iridium's Avatar
    Join Date
    Jul 2002
    Location
    Walsall, England
    Posts
    2,831
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default Re: calculate dates

    ††
    Does this work?

    C1=IF(NETWORKDAYS(A1,B1)>2,"More than 48 hours delivery","")

    A1=order date
    B1=Despatch date

    HTH
    Iridium


User Tag List

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

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

 

DMCA.com