Littlemalky
Board Regular
- Joined
- Jan 14, 2011
- Messages
- 223
I started using the INDIRECT function to create a super dynamic Sumif that references a named range based on criteria. However, I noticed that my calculation time has increased significantly since taking this approach. I read online that this is a very volatile function that performs slowly. Is there an alternative to my approach that would increase my calc time? My formula us as such:
=SUMIFS(SALES,INDIRECT(LEFT($B8,2)&"_CODE"),$B8,MONTH_NUM,D$3,SCENARIO,D$6)
I'm using named ranges in my Criteria Ranges and you can see the INDIRECT function is looking for the first two digits of the cell i'm referencing and tacking on _CODE which will reference various named ranges.
Anybody have ideas?
=SUMIFS(SALES,INDIRECT(LEFT($B8,2)&"_CODE"),$B8,MONTH_NUM,D$3,SCENARIO,D$6)
I'm using named ranges in my Criteria Ranges and you can see the INDIRECT function is looking for the first two digits of the cell i'm referencing and tacking on _CODE which will reference various named ranges.
Anybody have ideas?