Vlookup and Sum Across Multiple Tabs?

Dean99

New Member
Joined
May 4, 2012
Messages
9
Hi Everyone-

I currently have a tax workbook with 50+ tabs (at least one for each State), and in each tab there are tables with many divisions and the amount of taxes paid. I'm trying to figure out a way to do a vlookup and sum in a main summary worksheet such that I can get the total taxes paid by each division (it would need to vlookup each of the 50+ tabs, and then sum). Is there a way to do this? I'm not very good with VBA so please be gentle if that's what is required . . .

Thanks in advance for your help!
 
Or if you have at the top of your page:
Manager A and total from that page with:

Excel 2007
ABCDEFG
2Manager A930Manager B325Manager C125
3
4Manager A900
5Manager A15
6Manager B25
7Manager C25
8Manager A15
9Manager B200
10Manager B100
11Manager C100
Sheet1
Cell Formulas
RangeFormula
C2=SUMIF($A$4:$A$11,B2,$B$4:$B$11)
E2=SUMIF($A$4:$A$11,D2,$B$4:$B$11)
G2=SUMIF($A$4:$A$11,F2,$B$4:$B$11)


Then use a formula I listed before.
That is easeist
 
Upvote 0

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.
I think I'm doing something wrong . . . I defined list to be

=Sheet1!$A$1:$B$10,Sheet2!$A$1:$B$10,Sheet3!$A$1:$B$10

and then I typed in the formula on my summary tab as

=SUMPRODUCT(SUMIF(INDIRECT("'"&list&"'!A1:A10"),A1,INDIRECT("'"&list&"'!B1:B10")))

What am I doing wrong? I apologize if I'm not getting this fast enough . . .
 
Upvote 0
Your list should be in one column, as one range.
Please see my example-the last line in my previous post.
 
Upvote 0
Ok I'm still not getting it, but I understand conceptually . . . why can't I just do it this way?

Define Test1 =Sheet1!$A:$A,Sheet2!$A:$A
Define Test2 =Sheet1!$B:$B,Sheet2!$B:$B

Then in my summary tab, to sum A for sheets 1 and 2 I use

=SUMIF(Test1,"A",Test2)

When I try that, I get an error . . . why?
 
Upvote 0
You are listing sheets name not the ranges.
Why you are getting error?
Becouse SUMIF does not work this why..I 'm sure there is not formula that work like this.(multiple ranges)
 
Upvote 0
Is there any way you can send me a working spreadsheet so I can see what you are doing in action? I seriously cannot figure out what I'm doing wrong . . . .
 
Upvote 0
If you had faloow the links I have posted you woudl get this
Excel 2010
AB
1ManagerSales
2Manager A$900
3Manager B$600
4Manager C$500

<colgroup><col style="background-color: #DAE7F5"><col><col></colgroup><thead>
</thead><tbody>
</tbody>
Sheet1




Excel 2010
AB
1ManagerSales
2Manager C$200
3Manager D$500
4Manager A$100

<colgroup><col style="background-color: #DAE7F5"><col><col></colgroup><thead>
</thead><tbody>
</tbody>
Sheet2



Excel 2010
AB
1ManagerSales
2Manager C$200
3Manager A$5
4Manager D$70

<colgroup><col style="background-color: #DAE7F5"><col><col></colgroup><thead>
</thead><tbody>
</tbody>
Sheet3
Excel 2010
ABCDEF
1ManagerSales
2Manager A1005Sheet1
3Manager B600Sheet2
4Manager C900Sheet3
5Manager D570

<colgroup><col style="width: 25pxpx"><col><col><col><col><col><col></colgroup><thead>
</thead><tbody>
</tbody>
Summary

Worksheet Formulas
CellFormula
B2=SUMPRODUCT(SUMIF(INDIRECT("'"&list&"'!A2:A100"),A2,INDIRECT("'"&list&"'!B2:b100 ")))

<thead>
</thead><tbody>
</tbody>

<tbody>
</tbody>

Workbook Defined Names
NameRefers To
list=Summary!$F$2:$F$4

<thead>
</thead><tbody>
</tbody>

<tbody>
</tbody>



I'm trying to do the same thing only summing the daily totals of my business expenses. Each day being a sheet and a monthly summary sheet. You lost me at &List&. I downloaded the file you uploaded to drop box as well. I understand making the list of sheets, which I did. My question is how do I define that as my &List&?
 
Upvote 0

Forum statistics

Threads
1,214,614
Messages
6,120,525
Members
448,969
Latest member
mirek8991

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