COUNTIF / SUMPRODUCT with Multiple Criteria and/or Index Match

bansaladman

New Member
Joined
May 29, 2019
Messages
1
Hi all

I've been trying to come up with a solution for a little while but am just not seeing what I need to do to get there... I was hoping someone on these excellent forums may be able to assist?

Background:


I have 5 tables with 12 columns each (i.e. months) in my back pages. The 5 tables all contain the sales data for a particular branch (think 'Shop 1', 'Shop 2' etc). These data tables have the sales by product-code by month. Nothing too unique with this. Please see below (hope it's clear - i've only shown partial data from one table but the pattern is the same across all):

Sales Data:
ABCDEFGH
1Shop 1Shop 1Shop 1Shop 1Shop 1Shop 1etc..
2Product Code31-Jan28-Feb31-Mar30-Apr31-May30-Juneetc...
3100123456
4101789101112
5102131415161718

<tbody>
</tbody>

I have a summary sheet which gives a specified months' sales by Shop and by Product Code. There are multiple instances of each Product Code in the data - i.e. it is raw data. I have used a combination of SUMIF and INDEX/MATCH to achieve the summarised sales totals. I am happy with this output and that it is calculating correctly.

Summary Table:
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.

Forum statistics

Threads
1,214,978
Messages
6,122,549
Members
449,089
Latest member
davidcom

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