Sumproduct using data in different worksheets

drluke

Active Member
Joined
Apr 17, 2014
Messages
314
Office Version
  1. 365
Platform
  1. Windows
[TABLE="class: grid, width: 250"]
<tbody>[TR]
[TD][/TD]
[TD]Yr
[/TD]
[TD]Per
[/TD]
[TD]Client
[/TD]
[TD]Amount
[/TD]
[/TR]
[TR]
[TD]East
[/TD]
[TD]2018
[/TD]
[TD]1
[/TD]
[TD]CXYZ001
[/TD]
[TD]1562.00
[/TD]
[/TR]
[TR]
[TD]East
[/TD]
[TD]2018
[/TD]
[TD]5
[/TD]
[TD]CBLG070
[/TD]
[TD]596.55
[/TD]
[/TR]
[TR]
[TD]East
[/TD]
[TD]2018
[/TD]
[TD]1
[/TD]
[TD]CXYZ001-10
[/TD]
[TD]8251.99
[/TD]
[/TR]
[TR]
[TD]East
[/TD]
[TD]2018
[/TD]
[TD]1
[/TD]
[TD]CBLG070
[/TD]
[TD]9426.33
[/TD]
[/TR]
[TR]
[TD]East
[/TD]
[TD]2018
[/TD]
[TD]5
[/TD]
[TD]CXYZ001-15
[/TD]
[TD]7491.76
[/TD]
[/TR]
</tbody>[/TABLE]


I have 4 worksheets with the same data per region. I need to sum sales by customer per period across all 4 worksheets into one single line in my summary sheet. In addition I need my formula to only look at the first 7 characters of the client code.

So, in summary I need a formula that will sum sales

If region = East go to worksheet 1 and sum sales if customer = CXYZ001 and period =1

Any suggestions?
 

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.

Forum statistics

Threads
1,224,823
Messages
6,181,175
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