Forum Discussion
wowakan
Jan 06, 2022Copper Contributor
Auto updating ranges based on different cell values
Dear Help Board, I have tried unsuccessfully to figure this out and am wondering if it can only be done with VBA or a macro? I have the following formula and want to dynamically update the va...
- Jan 07, 2022
=COUNTIFS(INDIRECT(T23&":"&T24),">0",INDIRECT(T23&":"&T24),"<1")
Is this what you want to do? You can manually change the range by entering e.g. AA14 and AA29 in cells T23 and T24 as shown in the attached file.
OliverScheurich
Jan 07, 2022Gold Contributor
=COUNTIFS(INDIRECT(T23&":"&T24),">0",INDIRECT(T23&":"&T24),"<1")
Is this what you want to do? You can manually change the range by entering e.g. AA14 and AA29 in cells T23 and T24 as shown in the attached file.
- wowakanJan 09, 2022Copper ContributorThank you so much. I could not wrap my thoughts around the proper syntax. This is exactly what I was looking for!
All the best to you.