Substitute for indirect within sumif for dynamic column name

ajiffity

New Member
Joined
Jun 7, 2018
Messages
4
Hello, I am trying to find a substitute for a dynamic column name within my sumif formula so I don't use the volatile indirect command. How can I make a reference in a more optimal way so my file isn't so slow due to indirect?

The column name changes from Budget_1, Actual_1, Prior_1 for example and they are all column names in another sheet. I am stuck...thanks in advance


=SUMIFS(INDIRECT($F$9),Main_Co_Dept,CONCATENATE($B14,RIGHT($D$1,4),RIGHT($I$1,4)),EBITDA_Co,CONCATENATE("0000-",RIGHT($D$1,3)))
 

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.
last reply - maybe I need to add an index match combination within sumifs? or a choose? I can't figure it out, it always throws an error and won't reference the column header
 
Upvote 0

Forum statistics

Threads
1,216,462
Messages
6,130,781
Members
449,591
Latest member
sharmavishnu413

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