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

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.
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,216,102
Messages
6,128,852
Members
449,471
Latest member
lachbee

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