SUMIFS - multiple criteria (one dynamic) across several columns of data

Chelseablue

New Member
Joined
May 9, 2016
Messages
5
Hi,

I am trying to create a SUMIFS formula to calculate predicted sales of widgets by salesman, by time period and by widget type. The results are then displayed in a summary table. The formula works fine for a single column but when expanded to include the full range of widgets - it falls over.

I want the Widget type to be selected from a drop down list in cell A1 and as the type is changed the summary table will display the results.

The formula I am trying to use is: =SUMIFS(C3:F12,C2:F2,A1,A3:A12,B20,B3:B12,A21) but returns a #VALUE! error


Excel 2010
ABCDEF
1Widget A
2Widget AWidget BWidget CWidget D
3Fred2016 Q1£5,000.00
4George2016 Q1£1,000.00£2,000.00£500.00£500.00
5Fred2016 Q3£500.00
6Fred2016 Q4£250.00
7Fred2017 Q3£1,000.00£1,000.00£750.00£250.00
8George2017 Q4£1,000.00
9Andrew2016 Q4£2,000.00£500.00
10Andrew2016 Q2
11Andrew2016 Q3£1,000.00
12Andrew2016 Q2£5,000.00£5,000.00
Sheet1



Excel 2010
ABCD
19
20AndrewFredGeorge
212016 Q1#VALUE!
222016 Q2
232016 Q3
242016 Q4
252017 Q1
262017 Q2
272017 Q3+
Sheet1


I have been looking at this formula for several days now and must confess to going around in circles - any help that you can provide would very gratefully received.

Hopefully I have given sufficient information.

regards
 

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.

Forum statistics

Threads
1,223,236
Messages
6,170,912
Members
452,366
Latest member
TePunaBloke

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