We help IT Professionals succeed at work.
Get Started

I need to combine data from 13 sheets in a running total as a VBA and not a pivot table.

david matthews
Last Modified: 2020-03-17
Hi I have a workbook of which has 13 sheets and I want to keep a running total for all sheets.

Ive been looking on internet and was looking at pivot tables  and asked on here but it go so confusing and over the top of my head so looking at macros at believe this will sort it too.   Don't know where to start as not that far advanced.  Let me explain what I need to do.

In sheets 1-13 the layout will be the same as in column headings etc.

in the sheet called "report"  I need it to show a running total in the columns  from sheets 1-13 as follows..

If in sheets 1-13 in column B shows the word "CUBIC" , "SHERE" "CLB" "UNDER £1"  I need the data from columns B,C,D,F carried over into a running total on the sheet called report.

If in sheets 1-13 in column B it does not show the words as shown above I need the data from columns B & F copied over into a running total in the sheet called report.

If it means doing it in 2 separate tables that's OK as long as they are both on the sheet called report.

I know that I will need a macro to update the data from all sheets when I click save or close workbook and thats fine.

Please find enclosed copy of worksheet.
Watch Question
Social distance - Wear a mask - Don't touch your face - Wash your hands for 20 seconds
Most Valuable Expert 2017
Distinguished Expert 2020
This problem has been solved!
Unlock 1 Answer and 12 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant

An Experts Exchange subscription includes unlimited access to online courses.

Get Started
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE