SUMIF INDEX MATCH ERROR #Value

mills89

New Member
Joined
Jun 17, 2018
Messages
2
Hi

I am having trouble with the below formula. The formula returns #value . I'm hoping someone can spot something that I can't see.

=SUMIFS(((INDEX('Cash Flow items'!$C$4:$J$5,MATCH('Outflow Summary'!$B4,'Cash Flow items'!$B$4:$B$5,0),MATCH('Outflow Summary'!$C4,'Cash Flow items'!$C$3:$J$3,0)))),'Cash Flow items'!$A$4:$A$5,'Outflow Summary'!$F$2)

I have run an index formula and sumif formula with success however no success when combining the 2.
 

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
Hi

I am having trouble with the below formula. The formula returns #value . I'm hoping someone can spot something that I can't see.

=SUMIFS(((INDEX('Cash Flow items'!$C$4:$J$5,MATCH('Outflow Summary'!$B4,'Cash Flow items'!$B$4:$B$5,0),MATCH('Outflow Summary'!$C4,'Cash Flow items'!$C$3:$J$3,0)))),'Cash Flow items'!$A$4:$A$5,'Outflow Summary'!$F$2)

I have run an index formula and sumif formula with success however no success when combining the 2.

Control+shift+enter, not just enter:

=SUM(IF('Cash Flow items'!$A$4:$A$5='Outflow Summary'!F2,IF('Cash Flow items'!$B$4:$B$5='Outflow Summary'!B4,IF('Cash Flow items'!$C$3:$J$3='Outflow Summary'!C4,'Cash Flow items'!$C$4:$J$5))))
 
Upvote 0
Control+shift+enter, not just enter:

=SUM(IF('Cash Flow items'!$A$4:$A$5='Outflow Summary'!F2,IF('Cash Flow items'!$B$4:$B$5='Outflow Summary'!B4,IF('Cash Flow items'!$C$3:$J$3='Outflow Summary'!C4,'Cash Flow items'!$C$4:$J$5))))

Hi Aladin

Thanks for your quick reply, that worked, thankyou!

Do you mind explaining why the original formula didn't work and why the formula you provided did?

Thanks
 
Upvote 0
Hi Aladin

Thanks for your quick reply, that worked, thankyou!

You are welcome.

Do you mind explaining why the original formula didn't work and why the formula you provided did?

Thanks

SUMIFS require range specifications of the same dimension. For example: SUMIFS(A2:A4,B2:B4,"x") is admissible; SUMIFS(A2:C4,B2:B4,"x") is not.

The array formula constructs the range to sum using IF-filters. that is, SUM sums whatever range (array) the chain of IF-filters deliver.
 
Upvote 0

Forum statistics

Threads
1,214,522
Messages
6,120,022
Members
448,939
Latest member
Leon Leenders

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