Hi,
how can I auto summarize the data from different worksheets in excel using formula and VBA?
Please see the attachment.
Hi,
how can I auto summarize the data from different worksheets in excel using formula and VBA?
Please see the attachment.
With this VBA code.
See the attached file.
![]()
Please Login or Register to view this content.
Notice my main language is not English.
I appreciate it, if you reply on my solution.
If you are satisfied with the solution, please mark the question solved.
You can add reputation by clicking on the star * add reputation.
My tactic is to use Worksheet level names and the INDIRECT function.
For example you name a cell on each contributor sheet 'MyTot'. It does not matter where on the worksheet the cell is named.
You can collect the MyTot's from each sheet using the formula =INDIRECT(A! & "!MyTot"), where the cell A1 carries the name of the worksheet.
I include an example workbook.
Regards,
Stephen
Thank you my dear friends.
Glad I could help.
If you are satisfied with the solution, please mark the question solved.
You can add reputation by clicking on the star * add reputation.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks