Hello,
I have this formula:
Now, given the nature of of the formula, the whole thing will error out if a single cell in B is an error. For what I'm doing, my list (B4:B897) changes frequently in size. What I'd like to do is in the array statement, instead of manually changing the 897 to 856 or whatever the new size is, I want to point it to a cell where I can enter in the number 856 and thus make the array (B4:B856).![]()
Please Login or Register to view this content.
I've tried doing something like (B4:B&$A$1). Where A1 would contain the 856 or whatever length it is. I know I can just do Indirect($A$1), but it creates a little more work on the people using this report to input $B$4:$B$856 into a cell vs just 856. Also because like the formula above, there are several formulas calling to various columns other than just B. Finally, I'd like to avoid suggestions on changing the above formula to something more accommodating, simply because there are several formulas I use that have the same problem and they're not all written with sumproduct. So yea, somehow getting ($B$4:$B(&INDIRECT($A$1))) to work. hopefully I'm just missing the proper syntax here.
Bookmarks