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

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"
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,223,911
Messages
6,175,337
Members
452,637
Latest member
Ezio2866

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