Good morning,
I have 3 columns, Column-A is Ref, column-B is Num., Column-C is result.
I need result value returned through formula. Result is value of column-B (Num.) of the corrosponding column-A (Ref) in the next matching column-A (Ref) value.
i.e., for 1st row Ref value "D", result should be value of Num. column value corrosponding to immediate next row value "D". So 1st row value is "D", next again "D" comes in 4th row, corrosponding value of Num. column is 179, so, in 1st column Result should be 179 and for Ref. Value "B" in 2nd row, result would be 477 as the immediate next "B" value is in 5th row and corrosponding Num. value is 477. If no next value available, then result is blank.
Ref Num. Result
D 314 179
B 469 477
C 479 213
D 179 489
B 477 388
A 174 467
D 489 291
B 388 483
C 213 53
A 467 427
B 483 210
C 53 19
D 291 468
B 210
C 19 387
A 427
C 387
D 468
Please help out.
Regards,
Chirag
Bookmarks