SOLVED

Xlookup

Brass Contributor

Good Afternoon

 

i am wondering if a way exists for the return array to automatically adjust its size to a specified value according to a different cell. i am thinking of a settings page with A1 would contain "20" where the return array would be Sheet2 A1:A20

1 Reply
best response confirmed by Josh_Waldner (Brass Contributor)
Solution

@Josh_Waldner Use this as the return array:

 

INDIRECT("Sheet2!A1:A"&A1)

1 best response

Accepted Solutions
best response confirmed by Josh_Waldner (Brass Contributor)
Solution

@Josh_Waldner Use this as the return array:

 

INDIRECT("Sheet2!A1:A"&A1)

View solution in original post