Using SUMIF on INDEX MATCH

Hammerhance

New Member
Joined
Oct 13, 2017
Messages
9
hi there,

I am using INDEX MATCH to identify a range of figures across sheets, but I'm having difficulty then adding in SUMIF to calculate multiple occurances.

This sheet is 'Events' and the formula I am using in column E is =INDEX('2013'!D:D,MATCH(Events!A5,'2013'!A:A,0))


Advanced EngineeringNECNovember£4,355£4,355
AP&MOlympiaMay£10,730£10,730
Autumn Furniture ShowStonleigh ParkOctober£0#N/A
BETTExcelJanuary£13,275£13,275
Biofuels ExpoStoneleighSeptember£3,920£2,985

<colgroup><col><col><col><col><col></colgroup><tbody>
</tbody>


This sheet is '2013'

Biofuels ExpoOcober2013£2,985
Biofuels ExpoOcober2013£935

<colgroup><col><col><col><col></colgroup><tbody>
</tbody>

<colgroup><col><col><col><col><col></colgroup><tbody>
</tbody>

The figure in column E on the first sheet, should read £3920, the sum of the above two figures, but I can't get the formula to work.

Please can someone help

Many thanks
 

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.
Welcome to the board.

That's a job for SUMIF
Try
=SUMIF('2013'!A:A,A5,'2013'!D:D)
 
Last edited:
Upvote 0
When I'm sorting the rows the formula keeps the cell reference from the row it was originally on and doesn't change to the new cell e.g.

=SUMIF('2013'!B:B,Events!B2,'2013'!E:E) doesn't change no matter what row it is sorted to. I need it that number to be dynamic so it always looks at column B, but then changes the row number.
 
Upvote 0
I assume the formula is actually on the Events sheet?
Try removing that sheet name from the formula.
 
Upvote 0

Forum statistics

Threads
1,215,523
Messages
6,125,318
Members
449,218
Latest member
Excel Master

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