Related Posts
Are there any onsite opportunities in nagarro
Can we take leaves while serving NP?
Any trans in this bowl from India ?
Additional Posts in Excel Genius
Would anyone be willing to teach me vlookup?
Anyone know what these badges are?

New to Fishbowl?
Download the Fishbowl app to
unlock all discussions on Fishbowl.
unlock all discussions on Fishbowl.







If the numbers are always sorted in column A you could use MATCH(MAX(A:A), A:A, 0) to get the height of your array for offset
In that case, you could try this:
=OFFSET(A1, 0, 0, MAX(IF(A:A<>"", ROW(A:A))))
Note that it will replace blank cells with a 0. If 0 is not a valid value in your list to begin with, you could easily replace those with a "".
Try to avoid using OFFSET() if possible, as it’s a volatile formula. If you have office365, the solution in the screenshot uses DROP() , TAKE(), and XMATCH() to trim the array to only what you want returned.
Great solution, love the use of XMATCH here and it’s nice to see others adopting LET and line breaks to make formulas easier to read!