+ Reply to Thread
Results 1 to 2 of 2

formula to auto populate entire workbook for a entire year

  1. #1
    Forum Contributor
    Join Date
    06-06-2017
    Location
    Phoenix, AZ
    MS-Off Ver
    2013
    Posts
    129

    formula to auto populate entire workbook for a entire year

    I am trying to find a formula to auto populate an entire workbook for work days excluding major holidays. It the set up with each month as a page in the workbook. I need it to fill in the dates "01/01/2017" and day of the week "Mon" in the respective column. I also want it to fill the label with the month and year at the top of each page.

  2. #2
    Forum Expert
    Join Date
    05-20-2015
    Location
    Chicago, Illinois
    MS-Off Ver
    2016
    Posts
    2,103

    Re: formula to auto populate entire workbook for a entire year

    The laziest route is probably to search for Excel templates online to see if you can find one you like. Several different calendar and ledger templates are available for free, and it's possible that one might suit your purpose. If you want to make your own, you can enter 1/2/2017 (Jan. 1st was a Sunday) into A1, then use the formula below in A2:

    =IF(WEEKDAY($A1+1,16)>2,$A1+1,IF(WEEKDAY($A1+2,16)>2,$A1+2,$A1+3))

    Fill down to get all of the weekdays. In B1, use the following formula, then fill down to get the "Mon", "Tues", etc. alongside each date:

    =TEXT($A1,"ddd")

    You can repeat the process for each month, but my recommendation would be to do the entire year on one sheet. Next, copy A1:B365, paste values (ONLY) over the formulas, then just cut and paste each month to its own sheet. Having replaced the formulas with values, you could also just delete the holidays you want to remove. Hope this helps!
    If your problem has been solved, please use "Thread Tools" to mark the thread as "Solved".

    If you're grateful for this site's existence and would like to contribute to the community, please consider posting something hilarious in our joke thread:
    https://www.excelforum.com/the-water...ke-thread.html

+ 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. Help with VLookup formula to search entire workbook
    By qabajjar in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-26-2015, 09:38 AM
  2. Populate 12 Sheets with data from a dynamic dump of the entire year - use a macro?
    By Nola111 in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 05-13-2014, 09:45 AM
  3. How Do I Apply the Same Formula to the Entire Workbook? I.E Trim & Proper
    By Inframan in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-21-2013, 08:16 PM
  4. Protect/unprotect formula cells of entire workbook
    By shafiqe in forum Excel General
    Replies: 5
    Last Post: 07-14-2013, 01:59 AM
  5. [SOLVED] Is there a formula to pull entire rows from another workbook if the row contains
    By BnGhog in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 02-03-2013, 02:36 AM
  6. Replies: 0
    Last Post: 02-14-2012, 12:34 PM
  7. Replies: 0
    Last Post: 09-04-2011, 09:14 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