View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.misc
Eric Eric is offline
external usenet poster
 
Posts: 1,670
Default How to find the values from a list?

Does anyone know how to find following from a list? For example,
Colume A
[A1] 1
[A2] 5
[A3] 9
[A4] 12
[A5] 16
[A6] 28

In Colume B, when I input the value of 7 in cell B2, then 5 will display in
B1 and 9 will display in B2. If I input the value of 16 in cell B2, then 16
will be displayed in B1 and 28 will be displayed in B3.

Colume B
[B1] 5
[B2] 7 input value
[B3] 9

Colume B
[B1] 16
[B2] 16 input value
[B3] 28

Does anyone have any suggestion on how to code it in excel?
Thank for any suggestion
Eric