Consolidate data from several sheets to a summary sheet

racdac

New Member
Joined
Aug 1, 2016
Messages
28
Hi All,

I have a workbook with several sheets containing results. I want to copy some of the data from each sheet to a summary sheet.

I will be adding more result sheets to the workbook each week. Ideally i would like to have the summary sheet update automatically, but running a macro is ok.

Becuase only some of the data is needed in the summary sheet, I thought rather than posting images I would post a link to the file.

The summary sheet just has links to the data that is needed to show any potential helpers where the data needs to come from. I hope this is Ok.

Any help would be appreciated.

Test results
 

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).
Any help would be appreciated.
You can use the INDIRECT function
In cell A8, A9, A10 put the name of the worksheet: Sheet1, Sheet2, Sheet3, etc.

In cell B8 put formula. Copy down
Code:
=INDIRECT($A8&"!C3")
In cell C8 put formula. Copy down
Code:
=INDIRECT($A8&"!C4")
etc ...
 
Upvote 0
Thanks for your prompt reply navic and i apologise for my tardy reply, flat out o a different project yesterday.

I have tried your solution and it works a treat thank you very much for your help. I did modify the formula just a little to get rid of the #REF! errors to:

Code:
=IF(ISREF(INDIRECT($C8&"!A1")),(INDIRECT($C8&"!B4")),"")

Once again thank you
 
Upvote 0
I will try to explain. The summary sheet is set up to accept 100 sheets. When measurements are completed another sheet is added with the results and in turn that updates the summary sheet. So if a sheet is not present i get this.

Image%201.png


Becuase Sheet4 does not exist yet. I modified the formula to test if the sheet existed and to return nothing if it did not exist, and the data if it did.

There maybe an easier way around this but it is working perfectly.
 
Upvote 0
edit
please Moderator delete this double post
 
Last edited:
Upvote 0
Re: Don't display or Remove error from cell

Thanks navic, that works perfectly and is more elegant than my solution. Thank you for all your help.
 
Upvote 0
Re: Don't display or Remove error from cell

You're welcome
 
Upvote 0
Re: Don't display or Remove error from cell

Why not work with 1 sheet for all data, that makes it a lot easier to handle?

You can analyse the data then e.g. with a pivot table.
 
Upvote 0

Forum statistics

Threads
1,215,232
Messages
6,123,765
Members
449,120
Latest member
Aa2

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