sum ifs + index match

Pripri

New Member
Joined
Aug 18, 2019
Messages
24
Hi, I'm trying to accomplish the following results:

January








Publix


2019
2018
2017
Fruits






Pear
6
10
2
Mango
-
1
3
Banana
4
5
7

<tbody>
</tbody>


Year
Fruit
Store
January
February
March


2018
Pear
Publix
10
5
3


2018
Mango
Publix
1
20
2


2019
Banana
Whole Foods
10
20
30


2019
Pear
Fresh Market
1
2
3


2019
Pear
Publix
2
1
1


2019
Pear
Publix
2
1
1


2019
Pear
Publix
2
1
1


2017
Mango
Whole Foods
1
10
2


2018
Banana
Publix
5
5
10


2017
Pear
Publix
2
3
4


2017
Mango
Publix
3
3
4


2017
Banana
Publix
4
3
4


2017
Banana
Publix
2
1
1


2019
Banana
Publix
2
1
1


2019
Banana
Publix
2
1
1



<tbody>
</tbody>

which combination of formulas do I need?
 

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.
Here is one way with SUMPRODUCT. Copy formula down and across as needed.
You may also want to look at a pivot table.
Excel Workbook
ABCDEF
1January
2Publix
3201920182017
4Fruits
5Pear6102
6Mango013
7Banana456
8
9
10
11YearFruitStoreJanuaryFebruaryMarch
122018PearPublix1053
132018MangoPublix1202
142019BananaWhole Foods102030
152019PearFresh Market123
162019PearPublix211
172019PearPublix211
182019PearPublix211
192017MangoWhole Foods1102
202018BananaPublix5510
212017PearPublix234
222017MangoPublix334
232017BananaPublix434
242017BananaPublix211
252019BananaPublix211
262019BananaPublix211
Sheet
 
Upvote 0

Forum statistics

Threads
1,214,531
Messages
6,120,073
Members
448,943
Latest member
sharmarick

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