+ Reply to Thread
Results 1 to 8 of 8

how to make dates progress through worksheets in a workbook

  1. #1
    Registered User
    Join Date
    05-02-2016
    Location
    brisbane
    MS-Off Ver
    2003
    Posts
    8

    Question how to make dates progress through worksheets in a workbook

    Hi,

    I am trying to make a workbook where the weekly worksheets dates progress.

    ie sheet 1 1/1/2016 to 7/1 2016
    sheet 2 8/1/2016 to 14/1/2016
    and so on

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,728

    Re: how to make dates progress through worksheets in a workbook

    Do you want those dates in individual cells in Sheet1, Sheet2 etc., or are they shown as ranges in one cell in each sheet?

    Pete

  3. #3
    Registered User
    Join Date
    05-02-2016
    Location
    brisbane
    MS-Off Ver
    2003
    Posts
    8

    Re: how to make dates progress through worksheets in a workbook

    Hi Pete,

    I need them in individual cells.

    thank mark

  4. #4
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,728

    Re: how to make dates progress through worksheets in a workbook

    And will you just be using the default sheet names as you create them, i.e. Sheet1, Sheet2, Sheet3 etc., or do you have a different naming convention in mind?

    Pete

  5. #5
    Registered User
    Join Date
    05-02-2016
    Location
    brisbane
    MS-Off Ver
    2003
    Posts
    8

    Re: how to make dates progress through worksheets in a workbook

    I was going to name them by date ie 1 july, 8 july etc

  6. #6
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,728

    Re: how to make dates progress through worksheets in a workbook

    In a new file you should rename the sheets using that convention, and then you need to save the file using an appropriate name, and then you can put this formula in A2 of the first sheet:

    =DATEVALUE(MID(CELL("Filename",A1),FIND("]",CELL("Filename",A1))+1,255)&2016)

    Format as a date in the style your prefer, then in A3 you can have this formula:

    =A2+1

    and copy that down to A8. Then you can copy the block of cells A2:A8 into the other sheets. If you need to add new sheets you can just CTRL-drag one of the other sheets, and then rename it with the appropriate date. Or you could just insert a new sheet, rename it, and then copy the block of formulae from another sheet. The attached file shows this.

    Hope this helps.

    Pete
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    05-02-2016
    Location
    brisbane
    MS-Off Ver
    2003
    Posts
    8

    Re: how to make dates progress through worksheets in a workbook

    Thank you Pete

    that worked a treat.

    Mark

  8. #8
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,728

    Re: how to make dates progress through worksheets in a workbook

    You're welcome, Mark - glad it worked for you.

    If that takes care of your original question, please select Thread Tools from the menu above your first post and mark this thread as SOLVED.

    Also, since you are relatively new to the forum, you might like to know that you can directly thank those who have helped you by clicking on the small "star" icon located in the lower left corner of a post that you have found to be helpful (not just in this thread - for any post that has helped you). This also adds to the reputation of the poster (the small green bars in the poster's profile).

    Pete

+ 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 make progress bar for an overall code
    By Bech2912 in forum Excel Programming / VBA / Macros
    Replies: 18
    Last Post: 07-28-2015, 10:25 AM
  2. [SOLVED] How to make vertical progress bar?
    By iqballud in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-05-2015, 07:29 PM
  3. [SOLVED] Trying to make a table to average cells between two dates I specify in a workbook.
    By afazer in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 01-23-2014, 03:34 PM
  4. Replies: 1
    Last Post: 08-11-2013, 11:00 PM
  5. Replies: 3
    Last Post: 02-10-2012, 08:33 PM
  6. Make new worksheets from data in workbook
    By randell.graybill in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 03-14-2010, 04:48 AM
  7. Replies: 0
    Last Post: 03-02-2006, 12:30 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