SUM of Items within the same Order.

roenajoyave

New Member
Joined
Dec 21, 2023
Messages
2
Office Version
  1. 365
Platform
  1. Windows
I have been racking my brain to figure this out. I need to sum up the cost of 2 items but they need to be in the same order. These items can be on their own, but I don't want to sum those. They have to be within the same order number.

My data rows are per item in the order.

Order NumberInvoice Line NumberInvoice DateItem NumberOrdered QuantityUnit List PriceOrder Line Total
130513193​
1​
01-Nov-2022​
1033574
1.00​
75.44​
75.44​
130513193​
2​
01-Nov-2022​
1035417
1.00​
10.06​
10.06​
130513194​
1​
01-Nov-2022​
1035417
1.00​
10.06​
10.06​
130513194​
2​
01-Nov-2022​
1004883
1.00​
60.35​
60.35​
130513196​
1​
01-Nov-2022​
1033574
1.00​
75.44​
75.44​
130513196​
2​
01-Nov-2022​
1035417
1.00​
10.06​
10.06​
130513197​
1​
01-Nov-2022​
1035417
1.00​
10.06​
10.06​
130513197​
2​
01-Nov-2022​
1004883
1.00​
60.35​
60.35​
130513198​
1​
01-Nov-2022​
1012787
1.00​
148.73​
148.73​
130513199​
1​
01-Nov-2022​
1161020
1.00​
313.80​
313.80​
130513200​
1​
01-Nov-2022​
1014326
1.00​
39.12​
39.12​
130513200​
2​
01-Nov-2022​
1017991
1.00​
60.86​
60.86​
130513200​
3​
01-Nov-2022​
1005510
1.00​
39.12​
39.12​
130513201​
1​
01-Nov-2022​
1161020
1.00​
313.80​
313.80​
130513202​
1​
01-Nov-2022​
1012787
1.00​
148.73​
148.73​
130513203​
1​
01-Nov-2022​
1161020
1.00​
313.80​
313.80​
130513204​
1​
01-Nov-2022​
1014326
1.00​
39.12​
39.12​
130513204​
2​
01-Nov-2022​
1017991
1.00​
60.86​
60.86​
130513204​
3​
01-Nov-2022​
1005510
1.00​
39.12​
39.12​
130513205​
1​
01-Nov-2022​
1033574
1.00​
75.44​
75.44​
130513205​
2​
01-Nov-2022​
1035417
1.00​
10.06​
10.06​
 

Excel Facts

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".
I'm not sure where you want your output or what it would look like, but something like this would work.
2023-12-20.xlsx
BCDEFGHIJK
2Order NumberInvoice Line NumberInvoice DateItem NumberOrdered QuantityUnit List PriceOrder Line TotalItem1035417
3130513193101-Nov-20221033574175.4475.44Order130513194
4130513193201-Nov-20221035417110.0610.06Sum1
5130513194101-Nov-20221035417110.0610.06
6130513194201-Nov-20221004883160.3560.35
7130513196101-Nov-20221033574175.4475.44
8130513196201-Nov-20221035417110.0610.06
9130513197101-Nov-20221035417110.0610.06
10130513197201-Nov-20221004883160.3560.35
11130513198101-Nov-202210127871148.73148.73
12130513199101-Nov-202211610201313.80313.80
13130513200101-Nov-20221014326139.1239.12
14130513200201-Nov-20221017991160.8660.86
15130513200301-Nov-20221005510139.1239.12
16130513201101-Nov-202211610201313.80313.80
17130513202101-Nov-202210127871148.73148.73
18130513203101-Nov-202211610201313.80313.80
19130513204101-Nov-20221014326139.1239.12
20130513204201-Nov-20221017991160.8660.86
21130513204301-Nov-20221005510139.1239.12
22130513205101-Nov-20221033574175.4475.44
23130513205201-Nov-20221035417110.0610.06
SumifsOrder
Cell Formulas
RangeFormula
K4K4=SUMIFS($F$3:$F$23,$B$3:$B$23,$K$3,$E$3:$E$23,$K$2)
Cells with Data Validation
CellAllowCriteria
K2List=Items
K3List=Orders
 
Upvote 0
Sorry about the lack of description on where I would like it. I am trying to create either a calculated column or a measure that will do this in a Power Pivot.
 
Upvote 0

Forum statistics

Threads
1,224,900
Messages
6,181,636
Members
453,059
Latest member
jkevin

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