Can you use SUMIFS but with MATCH with multiple criteria to find the SUM column?

Jodie3

New Member
Joined
Aug 11, 2020
Messages
8
Office Version
  1. 365
Platform
  1. Windows
Hi Folks,

I basically have some Sales Forecast data by month spanning over a couple of years with 3 sections, Volume, Value, Cost. I'm trying to put some checks in place to ensure the data they are inputting is logical, IE If there is a Sales Volume then there needs to be a corresponding Sales Value and Cost of Sales Value etc.

My initial thought was to use SUMIFS to bring back any Salve Value/ COS where the Volume was 0 or indeed blank. This is a good enough check but I wanted to make the formula dynamic so it finds the relevant SUM Range and corresponding Criteria Range depending on what Month I denote in another cell. The biggest issue i have is that the header title (month) isn't unique because it's essentially a sub heading (Volume) that spans across the 12 columns for the year in the Row above.

I have tried googling for hours but clearly other companies employ people who understand what a sales forecast should like lol Has anybody got any Ideas? I've Uploaded my mini test version image, the formula I'm trying to play with in Cell Q6 is =MATCH("Val"&O2,C4:M4&C5:M5,0).

Jodie
 

Attachments

  • Sales Data Test Sample.JPG
    Sales Data Test Sample.JPG
    72.6 KB · Views: 41

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 about
Excel Formula:
=SUM(FILTER(FILTER(G6:M100,(G4:M4<>"Vol")*(G5:M5=O2)),FILTER(C6:E100,(C4:E4="Vol")*(C5:E5=O2))=0))
 
Upvote 0
Solution
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,171
Members
453,021
Latest member
Justyna P

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