Consolidate multiple sheets

sabha

New Member
Joined
Oct 10, 2015
Messages
21
Hi I am trying to consolidate multiple sheets into 1 tab. I don't know how to use the sumif because 2 of my criteria are in the same column: the customer name and the value name. I don't even know exactly what formula to use...all help would be appreciated. I am trying to consolidate data in tabs A thru E in the last (Consolidate) tab.

This is what the consolidate tab looks like (I am trying to solve for the question marks):
[TABLE="width: 345"]
<tbody>[TR]
[TD="class: xl63, width: 69, align: center"]Tab[/TD]
[TD="class: xl63, width: 69, align: center"]Customer[/TD]
[TD="class: xl63, width: 69, align: center"]Value[/TD]
[TD="class: xl63, width: 69, align: center"]January[/TD]
[TD="class: xl63, width: 69, align: center"]February[/TD]
[/TR]
[TR]
[TD="class: xl64, align: center"]Apple[/TD]
[TD="class: xl64, align: center"]A[/TD]
[TD="align: center"]Price[/TD]
[TD="class: xl65, align: center"]?[/TD]
[TD="class: xl65, align: center"]?[/TD]
[/TR]
[TR]
[TD="class: xl64, align: center"]Apple[/TD]
[TD="class: xl64, align: center"]A[/TD]
[TD="align: center"]Code[/TD]
[TD="class: xl65, align: center"]?[/TD]
[TD="class: xl65, align: center"]?[/TD]
[/TR]
[TR]
[TD="class: xl64, align: center"]Banana[/TD]
[TD="class: xl64, align: center"]F[/TD]
[TD="align: center"]Price[/TD]
[TD="class: xl65, align: center"]?[/TD]
[TD="class: xl65, align: center"]?[/TD]
[/TR]
[TR]
[TD="class: xl64, align: center"]Banana[/TD]
[TD="class: xl64, align: center"]F[/TD]
[TD="align: center"]Code[/TD]
[TD="class: xl65, align: center"]?[/TD]
[TD="class: xl65, align: center"]?[/TD]
[/TR]
[TR]
[TD="class: xl64, align: center"]Citrus[/TD]
[TD="class: xl64, align: center"]K[/TD]
[TD="align: center"]Price[/TD]
[TD="class: xl65, align: center"]?[/TD]
[TD="class: xl65, align: center"]?[/TD]
[/TR]
[TR]
[TD="class: xl64, align: center"]Citrus[/TD]
[TD="class: xl64, align: center"]K[/TD]
[TD="align: center"]Code[/TD]
[TD="class: xl65, align: center"]?[/TD]
[TD="class: xl65, align: center"]?[/TD]
[/TR]
</tbody>[/TABLE]


This is what the tab Apple looks like (the other tabs look the same but with diff. customers):

[TABLE="width: 354"]
<tbody>[TR]
[TD="align: center"]Customer[/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[/TR]
[TR]
[TD="align: center"]A[/TD]
[TD="align: center"]January[/TD]
[TD="align: center"]February[/TD]
[TD="align: center"]March[/TD]
[TD="align: center"]April[/TD]
[/TR]
[TR]
[TD="align: center"]Price[/TD]
[TD="align: center"]1[/TD]
[TD="align: center"]2[/TD]
[TD="align: center"]3[/TD]
[TD="align: center"]4[/TD]
[/TR]
[TR]
[TD="align: center"]Code[/TD]
[TD="align: center"]2[/TD]
[TD="align: center"]2[/TD]
[TD="align: center"]2[/TD]
[TD="align: center"]2[/TD]
[/TR]
[TR]
[TD="align: center"]B[/TD]
[TD="align: center"]January[/TD]
[TD="align: center"]February[/TD]
[TD="align: center"]March[/TD]
[TD="align: center"]April[/TD]
[/TR]
[TR]
[TD="align: center"]Price[/TD]
[TD="align: center"]1[/TD]
[TD="align: center"]2[/TD]
[TD="align: center"]3[/TD]
[TD="align: center"]4[/TD]
[/TR]
[TR]
[TD="align: center"]Code[/TD]
[TD="align: center"]2[/TD]
[TD="align: center"]2[/TD]
[TD="align: center"]2[/TD]
[TD="align: center"]2[/TD]
[/TR]
[TR]
[TD="align: center"]C[/TD]
[TD="align: center"]January[/TD]
[TD="align: center"]February[/TD]
[TD="align: center"]March[/TD]
[TD="align: center"]April[/TD]
[/TR]
[TR]
[TD="align: center"]Price[/TD]
[TD="align: center"]1[/TD]
[TD="align: center"]2[/TD]
[TD="align: center"]3[/TD]
[TD="align: center"]4[/TD]
[/TR]
[TR]
[TD="align: center"]Code[/TD]
[TD="align: center"]2[/TD]
[TD="align: center"]2[/TD]
[TD="align: center"]2[/TD]
[TD="align: center"]2[/TD]
[/TR]
</tbody>[/TABLE]

I hope this is clear. Thank you!
 
Last edited:

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.
How do you get your data? It would be alot easier if you restructured the data with the following headlines
Month, customer, price, code

Then you can use formal tables and simple sumifs. Or use powerpivot
 
Upvote 0

Forum statistics

Threads
1,224,818
Messages
6,181,152
Members
453,021
Latest member
Justyna P

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