+ Reply to Thread
Results 1 to 8 of 8

Add days to a specific date to get a later date.

  1. #1
    Registered User
    Join Date
    02-26-2010
    Location
    Delhi, India
    MS-Off Ver
    Excel 2013
    Posts
    74

    Cool Add days to a specific date to get a later date.

    hello all,
    I have attached file for reference..Leave plan.xlsx

    I am trying to get a future date by adding n number of days with conditions like
    There are three columns - departure(date entered by user), from(the problem cell), day(it shows day i.e monday, tuesday etc taken from departure column)
    - if date in "depature" column happens to be saturday(day column) then "From" cell should have date of next monday. for example if departure date is 1 Jan and it is saturday then "from" column should have 3 Jan. if any other day then next day.
    - but, if monday is holiday then "from" column should have 4 Jan and so on...

    thanx

  2. #2
    Forum Contributor
    Join Date
    08-14-2013
    Location
    Here and there
    MS-Off Ver
    Excel 2010
    Posts
    376

    Re: Add days to a specific date to get a later date.

    Hi,

    I've changed your formula by adding just a little addition plus I added a extra piece to the other formulas to hide them when col D "Name" is empty. See attached:

    Leave plan01.xlsx

    Cheers,

  3. #3
    Registered User
    Join Date
    02-26-2010
    Location
    Delhi, India
    MS-Off Ver
    Excel 2013
    Posts
    74

    Re: Add days to a specific date to get a later date.

    Hi
    Sorry Ursul you did not get the point, i am reattaching your file. Check the Holidays sheet under table gazetted holidays if you see 26th Aug is holiday now if Departure date is 24 Aug i.e. Saturday then "From" date should be 27 Aug as 25th is Sunday and 26th is holiday. please unhide Holidays sheet it must be hidden that is why you skipped it..
    Leave plan01.xlsx

    Regards

    Ajit

  4. #4
    Registered User
    Join Date
    02-26-2010
    Location
    Delhi, India
    MS-Off Ver
    Excel 2013
    Posts
    74

    Re: Add days to a specific date to get a later date.

    Posted on http://www.mrexcel.com/forum/excel-q...ater-date.html also..


    and excelbanter(pending approval)

  5. #5
    Forum Contributor
    Join Date
    08-14-2013
    Location
    Here and there
    MS-Off Ver
    Excel 2010
    Posts
    376

    Re: Add days to a specific date to get a later date.

    Sorry ajitexcel I didn't notice the hidden sheet - my bad!

    I thought the formula I put in there was a little too simple - watching sport now so maybe I'll look at this tomorrow!

  6. #6
    Registered User
    Join Date
    02-26-2010
    Location
    Delhi, India
    MS-Off Ver
    Excel 2013
    Posts
    74

    Re: Add days to a specific date to get a later date.

    Come on where r the experts it's urgent PLEASE...

    REGARDS N THANX IN ADVANCE

    Ajit

  7. #7
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: Add days to a specific date to get a later date.

    Which holidays are you using - is it just those under "Gazetted holidays"? Try WORKDAY function, e.g. in J3 copied down

    =WORKDAY(I3,1,Holidays!B$3:B$20)
    Audere est facere

  8. #8
    Registered User
    Join Date
    02-26-2010
    Location
    Delhi, India
    MS-Off Ver
    Excel 2013
    Posts
    74

    Re: Add days to a specific date to get a later date.

    Excellent daddylonglegs,

    thanx once again you r the savior..

    simply forgot this option. works perfect as of now.. will get if any problem.

    thanx again

    ajit
    Last edited by ajitexcel; 08-19-2013 at 11:55 AM. Reason: solved

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. How to Create Formula to add 30 days out from specific date?
    By shamilton911 in forum Excel General
    Replies: 8
    Last Post: 08-10-2015, 07:48 PM
  2. Convert number of days to specific time & date
    By theperson in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-19-2013, 11:44 AM
  3. excel formula: days remaining=end date-todays date+extention days
    By fsprings in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 01-04-2013, 06:45 AM
  4. [SOLVED] How can you sort a date by a specific block of days for each month.
    By jackkahusdad in forum Excel General
    Replies: 2
    Last Post: 12-03-2012, 11:58 PM
  5. count specific days within date range
    By Sazza in forum Excel General
    Replies: 3
    Last Post: 03-27-2012, 09:04 AM

Tags for this Thread

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