+ Reply to Thread
Results 1 to 8 of 8

formula linked to tab based on a cell

  1. #1
    Registered User
    Join Date
    03-05-2014
    Location
    Grand Rapids, Michigan
    MS-Off Ver
    Excel 2003
    Posts
    34

    formula linked to tab based on a cell

    Hi all,

    I have a spreadsheet that I fill out for every day of the month (New workbook each month). I have a totals tab that currently I manually update each day. Each tab is named with the date Ex: 4-1. So currently the formula for this week would be =SUM('04-01:03-31'!H13:H14).

    I'm looking for a way to make this a little more automated, so I don't have to update the formula every day I make a new tab. Any ideas? Maybe on the totals tab itself, have the dates for the week, and somehow have the formula link to that?

    Thanks!

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: formula linked to tab based on a cell

    Can I suggest you rethink your approach and NOT have a separate tab for each day. You should capture your data on a single sheet in a straightforward 2 dimensional table. In your case use your existing columns but just add an additional column to represent the date.

    Now continue to add your data row by row in the table. You'll now find it much easier to analyse/summarise your data and with a pivot table you'll find ways of analysing the data you've not yet thought of.

    Neither would you need a workbook each month. Just keep adding dates to the same table.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Registered User
    Join Date
    03-05-2014
    Location
    Grand Rapids, Michigan
    MS-Off Ver
    Excel 2003
    Posts
    34

    Re: formula linked to tab based on a cell

    Unfortunately I can't do that. Each day is basically a worksheet with start and end times of certain things, the number made, scrap material, material that needs to be returned, keeps track of maintenance that has been done, and all sorts of other things all mashed up into a nice printer friendly sheet that the supervisor is able to look at

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: formula linked to tab based on a cell

    That table or printout can still be generated from the "data base" that Richard is suggesting
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  5. #5
    Registered User
    Join Date
    03-05-2014
    Location
    Grand Rapids, Michigan
    MS-Off Ver
    Excel 2003
    Posts
    34

    Re: formula linked to tab based on a cell

    Hmm... would I just make like a generic sheet that has the layout, then use a bunch of VLookup formula's based on the date, or is there an easier way?

  6. #6
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: formula linked to tab based on a cell

    that is probably the way to go, yes. If you have all your data in 1 place, extracting it in a meaningful manner is generally easy.

    Mostr experts agree that you 1st design your data-capture (entry) sheet, then design the reporting systems afterwards. A well designed data base makes all the rest of what you want to do, so much easier

  7. #7
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: formula linked to tab based on a cell

    Quote Originally Posted by SuddenImpact View Post
    Hmm... would I just make like a generic sheet that has the layout, then use a bunch of VLookup formula's based on the date, or is there an easier way?
    VLookups would be one way, but having a 'proper' database opens up all sorts of ways including filtering (both Autofilter and Advanced), SUMIFS()/COUNTIFS() functions, INDEX(MATCH()) combinations and of course a pivot table.

    If you need further help upload an example of your daily sheet and tell us what sort of information you want to retrieve from your system.

  8. #8
    Registered User
    Join Date
    03-05-2014
    Location
    Grand Rapids, Michigan
    MS-Off Ver
    Excel 2003
    Posts
    34

    Re: formula linked to tab based on a cell

    My only concern is how easily I'll be able to enter everything, and make sure nothing is missed. I attached a sample of what it mostly looks like right now...
    Attached Files Attached Files

+ 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. Macro based on Spin Button Linked cell value
    By turist in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-20-2013, 11:57 AM
  2. [SOLVED] Macro based on Spin Button Linked cell value
    By turist in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-15-2013, 04:07 PM
  3. Linked workbook results based on cell value.
    By mmogharreban in forum Excel General
    Replies: 1
    Last Post: 11-02-2012, 05:03 PM
  4. Copy contents of linked cell based on color
    By wisereader in forum Excel General
    Replies: 1
    Last Post: 02-23-2012, 01:52 AM
  5. [SOLVED] Running code based on a change in a linked cell of a combo box
    By cdiaz in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-13-2011, 02:34 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