+ Reply to Thread
Results 1 to 2 of 2

Master Summary sheet to "remember" formulae and not do "REF!" errors? (EXCEL 2003)

  1. #1
    Registered User
    Join Date
    07-05-2016
    Location
    uk
    MS-Off Ver
    2003
    Posts
    1

    Master Summary sheet to "remember" formulae and not do "REF!" errors? (EXCEL 2003)

    Hoping someone can guide me...

    This is for Excel 2003 (not the more recent ones sadly!)

    I have 6 identical workbooks, one for each team. Each workbook has multiple worksheets. The important worksheets for this query are the indvidual StaffTimeRecording sheets (one for each team member) which spans an entire week (of 5 days) and the TeamSummary sheet which pulls from each team members worksheet to create totals for that week.

    I have created an all department version of this workbook. A version of this summary sheet has been created (AllDeptSummary) to total up all the TeamSummary sheets to create a weekly snapshot of work done for the entire department.

    I have found some lovely VBA code which will:
    1. Copy the TeamSummary worksheet from each team's workbook into the AllDeptWorkbook - this code works!
    2. Rename each TeamSummary worksheet tab with its own Team Name (Eg Team 1, Team 2 etc) - this code works!
    3. Ensure all formulae linking back to the original sheets become Values only in the new workbook - this code works.

    What I need is to have the AllDeptWorkbook as a master file initially which kind of "remembers" the formulae even if the worksheets its looking at aren't "there" but will be when they get copied in and renamed (the naming will be the same week on week, the positions of everything on each worksheet, will remain the same as the worksheets are identical, the only difference is the filename will change to reflect the previous weeks' date). The problem is that even if I set up the first one manually and get the formulae correct, once those workbooks are removed (for the Master version), the formulae will (understandably) break! I get REF! errors.

    Is there a way to ensure the Master version "retains" or "remembers" the formulae in readiness for the specific (and correctly named) worksheets being copied in? Its not at all possible to manually update the formulae each week as the AllDeptSummary page is VERY long (covers an entire week).

    Any suggestions/pointers/help will be gratefully received. Thankyou for your time. (Apologies if this is in the wrong place...not sure if its VBA or formulae solution).
    Last edited by elizabethchilver; 09-13-2016 at 06:25 PM.

  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: Master Summary sheet to "remember" formulae and not do "REF!" errors? (EXCEL 2003)

    Hi, and welcome to the forum.

    It's a little difficult to visualise precisely what you're getting at without seeing examples of your workbooks. However if I understand correctly you have a master workbook which has formulae that link to other workbooks, and you want the master workbook to be updated each week when you have a new set of weekly workbooks.

    If that's the case and the information on each weekly workbook that you're linking to is in exactly the same position then just use the Date Edit Links functionality and point to the new source workbook. 2003 is a long time ago but as far as I recall the Edit links functionailty is in there too.

    Just a general point but for situations like this where summary information is needed it's not good practice to distribute data across several workbooks. Ideally you should have one workbook and one sheet that contains all the data in a proper 'normalised' two dimensional table. You'd need to add additional columns to hold the date fo a record (if you're not already doing so, and another column to hold the Team reference. How records are added to the single sheet database will depend on your business process.

    I realise that this is partially what you're trying to achieve with the copying and pasting macros but it would be better to capture the records in a database table in the first instance.
    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.

+ 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. [SOLVED] Excel 2010 -- "Visual Basic" "Macros" and "Record Macro" all disabled.
    By NicholasL in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-07-2017, 06:11 AM
  2. Replies: 1
    Last Post: 02-04-2014, 08:43 PM
  3. Replies: 4
    Last Post: 11-17-2013, 12:05 PM
  4. [SOLVED] How to USE """"" cells count """"" change font color
    By austin123456 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-09-2013, 06:14 AM
  5. Replies: 3
    Last Post: 05-31-2013, 05:16 AM
  6. [SOLVED] Need Macro to compile data from "Weekly" sheets and sum up into "Monthly" summary sheet
    By mo4391 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-21-2013, 07:25 PM
  7. MSoffice Outlook 2003 message to be saved in C dir with the file name "From" "Sent" "Sub"
    By shailendra0509 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-09-2012, 01:32 AM

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