Sheet1
sdf 1 <-desired results from formula
xcv 3 <-
wer 9 <-
"Active" sheet
wer 1 3 5 7 9
sdf 2 4 6 8 1
xcv 3 4 2 3
tyu 5 7 9
ghj 3 2 4 5 6
This gets the data if the column is known = 80
=VLOOKUP(RC1,Active!R1C1:R200C1000,80,FALSE)
This finds the row number
=MATCH(RC1,Active!C1,0)
This gets the last column number, but the row must be known = 130
=LOOKUP(2,1/(Active!R130C17:R130C1000<>""),COLUMN(Active!R130C17:R130C1000))
This contains an error and I cannot find it (Maybe needs ' and ", I've tried everything that makes sense to me)
=LOOKUP(2,1/(Active!R&MATCH(RC1,Active!C1,0)&C17:R&MATCH(RC1,Active!C1,0)&C1000<>""),COLUMN(Active!R&MATCH(RC1,Active!C1,0)&C17:R&MATCH(RC1,Active!C1,0)&C1000))
I believe this finds the row in the second sheet and gets the data but it has an error
=VLOOKUP(RC1,Active!R1C1:R200C1000,LOOKUP(2,1/(Active!R&MATCH(RC1,Active!C1,0)&C17:R&MATCH(RC1,Active!C1,0)&C1000<>""),column(Active!R&MATCH(RC1,Active!C1,0)&C17:R&MATCH(RC1,Active!C1,0)&C1000)),FALSE)
Thanks for your help!
Jack