We help IT Professionals succeed at work.
Get Started

consolidate 50 sheets into one workbook easily, but without vba macro

rberke asked
Last Modified: 2015-03-13
my workbook has 50 worksheets, one for each state.

Each sheet has identical structure in cells a1:b6
Region     Sales
NorthWest $100
NorthEast $200
SouthWest $300
SouthEast $400

I need to consolidate them into a pivot table.
One way to do this is to use the consolidation wizard as follows

1) alt d p
2) ins step 1 I select: Multiple consoslidation ranges
3) in step 2a I select: I will create the page fields
4) in step 2b: I add Idaho!A2:B6
               I specify I want 1 page field
               I specify that that page field's name is "Idaho"
5 I then repeat step2b 49 more times.

Naturally, this is very cumbersome. I might use a macro recorder to automate the 50 steps, but I wonder if anyone knows a better way?

I tried using a 3d reference like 'Idaho:Wyoming!a2:b6' but that did not work
Watch Question
This problem has been solved!
Unlock 2 Answers and 13 Comments.
See Answers
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
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