Sumif Indirect

olivergs1982

New Member
Joined
Jun 29, 2018
Messages
9
I've scoured the forums and seen this posted before but I still can't get mine to work. Workbook: Pension Calculations.

Formula= SUMIF(INDIRECT("$C8&""!$AH$3:$AH$691"),$A9,(INDIRECT("$C8&""!DK$3:DK$691")))

C8 = April2018 Sheet name is April2018
A9 = Employee Ref Numbers going down
AH3:AH691 = Employee Ref Number Range going down
DK3:DK691 = Employee Pension Totals going down

Trying to have a sheet so that I can reference data across a range of months, hence wanting to indirect to Row 8 for each month as it happens.
Thanks for any help!
 

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.
Re: Sumif Indirect HELP

Hi. You were nearly there but not quite:

=SUMIF(INDIRECT("'"&$C8&"'!$AH$3:$AH$691"),$A9,INDIRECT("'"&$C8&"'!DK$3:DK$691"))

You are building a string to pass to INDIRECT. This string in the first indirect is now:

'April2018'!$AH$3:$AH$691

which is what you need.
 
Upvote 0

Forum statistics

Threads
1,224,827
Messages
6,181,200
Members
453,022
Latest member
RobertV1609

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