Need to sumarize the count of materials on a Summary sheet

ohmedic88

Board Regular
Joined
Jun 24, 2013
Messages
124
I have a summary Sheet in a workbook and I want to summarize the count of materials on each sheet.

How can I write a formula that will use the Sheet name in Column C and return a count of materials in Column D.

[TABLE="width: 500"]
<tbody>[TR]
[TD]C Column[/TD]
[TD]D Column[/TD]
[/TR]
[TR]
[TD]Sheet Name[/TD]
[TD]Count of Materials[/TD]
[/TR]
[TR]
[TD]sheet 1[/TD]
[TD]10[/TD]
[/TR]
[TR]
[TD]sheet 2[/TD]
[TD]25[/TD]
[/TR]
</tbody>[/TABLE]

Any assistance would greatly be appreciated... or links to any training that might assist.

Eric Mathewson
 
Last edited:

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result
If you stay in this same workbook, Indirect can be a good idea for this.

=INDIRECT(string)

Your "string" is what you want to be converted in a function.

If you do =INDIRECT("'" & C2 & "'!A1) in your example, it will act as if you wrote ='sheet 1'!A1
 
Upvote 0
Where in each sheet will we find the count of materials we want returned? I.e. where in sheet 1 do we get 10? Where in sheet 2 do we get 25?
 
Upvote 0
If you stay in this same workbook, Indirect can be a good idea for this.

=INDIRECT(string)

Your "string" is what you want to be converted in a function.

If you do =INDIRECT("'" & C2 & "'!A1) in your example, it will act as if you wrote ='sheet 1'!A1

I'm getting an error on this one but I need to do a range B7:B100 or some kind of dynamic range within that area.

Eric
 
Upvote 0
I'm getting an error on this one but I need to do a range B7:B100 or some kind of dynamic range within that area.

Eric

Can you give an example of the data which is in B7:B100? Will it be consistent that the values you want returned/summarized will be in column B on each worksheet?
 
Upvote 0
Can you give an example of the data which is in B7:B100? Will it be consistent that the values you want returned/summarized will be in column B on each worksheet?

This is my actual formula COUNT('99675868_rev_0011501262082957'!B7:B100) but I want to avoid writing each formula independently because C Column has my sheet names.

Does this help?
 
Upvote 0
Assuming your sheet names begin in C1, try

=COUNT(INDIRECT("'"&C1&"'!B7:B100"))
 
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,287
Members
452,631
Latest member
a_potato

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