Here's the response given earlier:
One way ..
Assuming the col below is in B1:B100
(which are returns by formula)
Bob
Mary
"Blank"
Joe
"Blank"
Jill
etc
Select C1:C100
Put in the formula bar:
=IF(ISERROR(SMALL(IF(B1:B100<"",ROW(B1:B100)),ROW ())),"",INDEX(B:B,MATCH(SM
ALL(IF(B1:B100<"",ROW(B1:B100)),ROW()),IF(B1:B100 <"",ROW(B1:B100)),0)))
Array-enter with CTRL+SHIFT+ENTER
instead of just pressing ENTER
For the sample above,
you'll get the desired results in C1:C100:
Bob
Mary
Joe
Jill
<Rest of the range are "blanks"
Adapt to suit
--
Rgds
Max
xl 97
--
GMT+8, 1° 22' N 103° 45' E
xdemechanik <atyahoo<dotcom
---
|