Forum Discussion

Kevin343's avatar
Kevin343
Copper Contributor
Oct 06, 2022
Solved

Have cells output closest value in next column and diagonally populate a row?

Hello everyone, I hope you are all doing well.   I want to make a spreadsheet that puts the values of a column into a specific row much like below.   A       123   Next Column Value   ...
  • dscheikey's avatar
    Oct 06, 2022

    Kevin343 

    Hi Kevin, I have put together the formula for you with OFFSET() and LOOKUP(). Please have a look at the attached document to see if it fits for you.

    =IFERROR(LOOKUP(2,1/(OFFSET($A$1,0,LOOKUP(2,1/(A1:D1<>""),COLUMN(A1:D1))-2,ROW())<>0),OFFSET($A$1,0,LOOKUP(2,1/(A1:D1<>""),COLUMN(A1:D1))-2,ROW())),"Next Column Value")

Resources