+ Reply to Thread
Results 1 to 7 of 7

Autofill Dates Excluding Bank Holidays & Weekends

  1. #1
    Registered User
    Join Date
    12-07-2012
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    39

    Autofill Dates Excluding Bank Holidays & Weekends

    Hi Everyone :-)

    Is there a way to autofill dates in excel to exclude weekends and bank holidays?

    Thanks
    S

  2. #2
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Autofill Dates Excluding Bank Holidays & Weekends

    Hello

    Assuming that you type the start date in A1 and you have a Named range called Holidays(for your Holidays dates), then in A2 and copy down use this.

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  3. #3
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Autofill Dates Excluding Bank Holidays & Weekends

    Hi,

    Assuming the date on which you wish to start the list is in B1, and your list of Bank Holidays is in, say, M1:M10, enter this formula in your first cell and then copy down as required:

    =WORKDAY($B$1,ROWS($1:1)-1,$M$1:$M$10)

    Regards
    Click * below if this answer helped

    Advanced Excel Techniques: http://excelxor.com/

  4. #4
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,623

    Re: Autofill Dates Excluding Bank Holidays & Weekends

    excluding only weekends - drag filling marker with right button pressed - select weekdays
    bank holidays also:
    write list of holidays somewhere (say N1:N14). write first date somewhere (say in C5). In next cell formula:
    Please Login or Register  to view this content.
    and copy down or right
    Best Regards,

    Kaper

  5. #5
    Registered User
    Join Date
    12-07-2012
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    39

    Re: Autofill Dates Excluding Bank Holidays & Weekends

    Thank you all for your help.

    Based on the sheet I was working on XOR LX's forumula worked the best.

    Many thanks! Have a good day

  6. #6
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Autofill Dates Excluding Bank Holidays & Weekends

    You are welcome and thanks for the feed back from ALL of us.

    As that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED,as per Forum Rule #9. Thank you.

    Also, as a new member of the forum, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of those who helped.

  7. #7
    Registered User
    Join Date
    12-07-2012
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    39

    Re: Autofill Dates Excluding Bank Holidays & Weekends

    Ah ok, sorry didn't know that, will do it now. Thanks

+ 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. Replies: 4
    Last Post: 04-16-2014, 04:17 AM
  2. Add X Days To Dates, Excluding Weekends and Holidays
    By sianjialin in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-07-2014, 11:46 PM
  3. Auto name tabs with dates excluding weekends and holidays
    By Eeyora in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-25-2013, 06:54 PM
  4. Auto name tabs with dates excluding weekends and holidays
    By Eeyora in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 12-05-2013, 02:50 PM
  5. VBA - List Dates excluding Weekends and Holidays
    By tykhoo in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-01-2012, 11:13 PM

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