Reputation: 13
I'm trying to write an excel formula to perform the MAX of a range. The default formula accepts references as the boundaries of the range of arguments:
=MAX(A1:A10)
I want to provide the boundaries of the range as variables, by inputting them in dedicated cells, something like:
=MAX(A"number of row taken from the content of cell B2":B"number of row taken from the content of cell B3)
See the attached screenshot.
Is this format supported by Excel? If yes, what's the correct syntax? Thank you!
Upvotes: 0
Views: 436
Reputation: 75840
Maybe something like:
=MAX(INDEX(A:A,B2):INDEX(A:A,B3))
Cool to know, it doesn't matter if you reference B3
or B2
first. The formula will re-arange the referencing to a valid range.
Upvotes: 2