Forum Discussion
Update formulas automatically when in/out sample size changes
- Jan 17, 2024
yes you can. the return of a INDEX() formula is actually a cell reference and can be use in the range so try something like:
=RSQ(
INDEX(M:M, XLOOKUP(A1, table[Current Date], table[In Sample Start])):
INDEX(M:M, XLOOKUP(A1, table[Current Date], table[In Sample End]),
INDEX(G:G, XLOOKUP(A1, table[Current Date], table[In Sample Start])):
INDEX(G:G, XLOOKUP(A1, table[Current Date], table[In Sample End]))that is based on A1 having the date you want to use and the above table being called 'table'
yes you can. the return of a INDEX() formula is actually a cell reference and can be use in the range so try something like:
=RSQ(
INDEX(M:M, XLOOKUP(A1, table[Current Date], table[In Sample Start])):
INDEX(M:M, XLOOKUP(A1, table[Current Date], table[In Sample End]),
INDEX(G:G, XLOOKUP(A1, table[Current Date], table[In Sample Start])):
INDEX(G:G, XLOOKUP(A1, table[Current Date], table[In Sample End]))
that is based on A1 having the date you want to use and the above table being called 'table'
- ABlea010Jan 19, 2024Copper ContributorYou are my hero lol