Sumifs?? Left?? Dish sales

IvanYerk

Board Regular
Joined
Aug 26, 2018
Messages
61
Office Version
  1. 365
  2. 2019
Platform
  1. Windows
I'd like to sum all of the dish sales based on the Location number and Product IDs. Can I do this without creating a helper column?

ABCD
1LocationProduct IDProduct DescSales
2555652 Houston10047108Dish 12"4
3555652 Houston10047109Dish 16"11
4555652 Houston10047110Dish 18"11
5555652 Houston10047128Bowl 6"3
6555652 Houston10047129Bowl 8"12
7555652 Houston10047130Bowl 10"12
8555884 phoenix10047108Dish 12"8
9555884 phoenix10047109Dish 16"25
10555884 phoenix10047110Dish 18"25
11555884 phoenix10047128Bowl 6"8
12555884 phoenix10047129Bowl 8"25
13555884 phoenix10047130Bowl 10"25
14555102 chicago10047109Dish 16"6
15555102 chicago10047110Dish 18"6
16555102 chicago10047129Bowl 8"6
17555102 chicago10047130Bowl 10"6

<colgroup><col><col><col span="2"><col></colgroup><tbody>
</tbody>
 
@FormR
Keep forgetting that SUMIFS takes wildcards :( makes it so much simpler.
 
Upvote 0

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop
How would you modify the formula if I wanted to use the 3 product ids for dishes (10047108,10047109, and 10047110) instead of the alpha description field?
 
Upvote 0
How would you modify the formula if I wanted to use the 3 product ids for dishes (10047108,10047109, and 10047110) instead of the alpha description field?

Hi, here is one option..


Excel 2013/2016
ABCDEFG
1LocationProduct IDProduct DescSales
2555652 Houston10047108Dish 12"455565226
3555652 Houston10047109Dish 16"1155588458
4555652 Houston10047110Dish 18"1155510212
5555652 Houston10047128Bowl 6"3
6555652 Houston10047129Bowl 8"12
7555652 Houston10047130Bowl 10"12
8555884 phoenix10047108Dish 12"8
9555884 phoenix10047109Dish 16"25
10555884 phoenix10047110Dish 18"25
11555884 phoenix10047128Bowl 6"8
12555884 phoenix10047129Bowl 8"25
13555884 phoenix10047130Bowl 10"25
14555102 chicago10047109Dish 16"6
15555102 chicago10047110Dish 18"6
16555102 chicago10047129Bowl 8"6
17555102 chicago10047130Bowl 10"6
Sheet1
Cell Formulas
RangeFormula
G2=SUM(SUMIFS(D:D,A:A,F2&"*",B:B,{10047108,10047109,10047110}))
 
Upvote 0
Awesome! Thanks again for the help!! This site is magical - I know - a little hyperbolic, but the willingness of people to help is absolutely fantastic.
 
Upvote 0

Forum statistics

Threads
1,221,310
Messages
6,159,176
Members
451,543
Latest member
cesymcox

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