Forum Discussion

drdree73's avatar
drdree73
Brass Contributor
Apr 25, 2022
Solved

selecting data from variable row length

Hi,    I use data from row 4 last Cell (M4) and 5th last Cell (H4) entry. But subsequent rows (5, 6, etc.) do not have equal data range. What function can I enter in Cell B4,5,6,etc., to always f...
  • HansVogelaar's avatar
    Apr 25, 2022

    drdree73 

    In B4, if you have Microsoft 365 or Office 2021:

    =LET(m,MATCH(9.99999999999999E+307,4:4),INDEX(4:4,m)/INDEX(4:4,m-4))

    Fill down.

    If you have an older version:

    =INDEX(4:4,MATCH(9.99999999999999E+307,4:4))/INDEX(4:4,MATCH(9.99999999999999E+307,4:4)-4)

Resources