Hello all:
I'm trying to use a range in a function, but the starting cell of the range should be changed under different circumstances. How can I do it?
For example:
I have: =-Nth_Occurrence('JULY BW Summary'!$A171:$H1000,"Result",1,0,4) in the cell. I want to replace the number 171 with a function that returns this number.
I've been trying by putting quotes and parentheses at different places but it didn't work.
BTW, Nth_Occurrence is a macro that I have in my worksheet.
I appreciate any idea on this.
Thanks.
Bookmarks