Summing an item in multiple areas

bobgrand

Board Regular
Joined
Apr 14, 2008
Messages
244
Office Version
  1. 365
Platform
  1. Windows
Hello all,

I have a spread sheet of inventory history with sales that have the same item in multiple areas with different quantities. In another sheet I have a single list of these items. I would like to get the total sum of an item from sheet 1 to show in sheet 2.

Sheet 1 - Sales Quantities
THHN 8 SOL - 2500
THHN 10 SOL - 3000
THHN 12 SOL - 1500
THHN 10 SOL - 3500
THHN 8 SOL - 2500

Sheet 2 - Totals
THHN 8 SOL - 5000
THHN 10 SOL - 6500
THHN 12 SOL - 1500


Any help would be greatly appreciated
 

Excel Facts

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.
With Power Query

Book3
ABCDE
1Column1Column2Column1Total
2THHN 8 SOL 2500THHN 8 SOL 5000
3THHN 10 SOL 3000THHN 10 SOL 6500
4THHN 12 SOL 1500THHN 12 SOL 1500
5THHN 10 SOL 3500
6THHN 8 SOL 2500
Sheet1


Power Query:
let
    Source = Excel.CurrentWorkbook(){[Name="Table1"]}[Content],
    #"Grouped Rows" = Table.Group(Source, {"Column1"}, {{"Total", each List.Sum([Column2]), type number}})
in
    #"Grouped Rows"
 
Upvote 0
What version of Excel are you using?
I suggest that you update your Account details (or click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)

How about
Excel Formula:
=SUMIFS(Sheet1!B:B,Sheet1!A:A,A2)
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0
You're welcome & thanks for the feedback.
Hi Fluff,

I am working with the formula you suggested and I am struggling trying to get this to work. Let me point out the details.

In the Data tab Column A is the item. Column B needs to be the over all totals from the Releases Tab. Column A is the item Column B is are the quantities.

Tab - DATA
*MC 4/4 BKRDBLWH 881
*MC 1/4 BKRDBLWH 656
THHN 10 SOL COPPER BARREL 2

Tab - Releases
*MC 4/4 BKRDBLWH 90
*MC 4/4 BKRDBLWH 156

*MC 1/4 BKRDBLWH 156
THHN 10 SOL COPPER BARREL 1
*MC 4/4 BKRDBLWH 210
*MC 4/4 BKRDBLWH 425

*MC 1/4 BKRDBLWH 500
THHN 10 SOL COPPER BARREL 1

Any help would be greatly appreciated.

Bob
 
Upvote 0
In what way isn't it working?
 
Upvote 0
In that case check the the values in col A are an exact match & that the values in col B are real numbers & not text.
 
Upvote 0
All values in A are an exact match and the number column is formatted as Number with commas for thousand separation.
There are values showing up against items that should be zero
 
Upvote 0

Forum statistics

Threads
1,215,558
Messages
6,125,511
Members
449,236
Latest member
Afua

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