Find a String and add up corresponding numeric valuse accross different worksheets.

Nizamuddin

New Member
Joined
Jun 14, 2008
Messages
6
Hi,

I have a workbook with hundreds of worksheets, with data in the first 5 coloumns the first 3 coloumns have string with ID, Name, and Description and the rest 2 coloumns have integer numbers.
I would like to have a summary sheet with the list of few Names for which I need to find the total sum of corresponding values in every sheet present in the workbook.
I want to pick up the first name in the summary sheet find it in Col 2 and when found add up the total of col 4 next to the name in the summary sheet. and similarly the sum of col 5 in the next cell of the summary sheet and loop thru all the worksheets present, similarly continue doing for the next name until a blank cell is reached.
The number of sheets in the workbook may vary and so can the items to be searched for... hence all of this needs to be dynamic.

Any help with a code that can do this task would be greatly appreciated !

Thanks in advance.
 

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.

Forum statistics

Threads
1,214,981
Messages
6,122,565
Members
449,089
Latest member
Motoracer88

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