Broken reference to worksheet

luirib

Board Regular
Joined
Sep 21, 2005
Messages
56
I have a workbook with 6 sheets: 5 are for each of the salespersons and the last one gathers the information of said 5 sheets.
Each week I receive the updated information from each of the salespersons and would like to dump those sheets into my file and get the summary updated automatically. The problem I’m having is that since the summary is picking the information from the original 5 sheets once I put in the new sheets and delete the original ones, all my references are broken and I get a whole bunch of #REF.
Is there to overcome this with or without VBA?
Thanks.
 

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.
Can't you just copy the data from the new sheet into the original sheet rather than inserting and deleting sheets?
 
Upvote 0
I could, but I would like overwriting formulas. Also, I said 5 salespersons, but it is actually 35, so the copy/paste would take some time.
 
Upvote 0
I do the same type of reporting and have found that it is easier to have my report reading from a folder rather then the workbook itself - for exactly the reason you state.

I put the incoming worksheets in a folder called, ie. "REPORTS", and put this weeks reports in a folder called "THIS WEEKS REPORTS".

My workbook formulas are set up to read from "THIS WEEKS REPORTS", which you can accomplish initially with a quick REPLACE. Just either delete old worksheets or rename the folder each week, just making sure that what you need is always in the "THIS WEEKS REPORTS" folder.

You are now ready to open up your workbook and update your report.
 
Upvote 0

Forum statistics

Threads
1,224,544
Messages
6,179,430
Members
452,915
Latest member
hannnahheileen

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top