Thread: Formula
View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
Carim Carim is offline
external usenet poster
 
Posts: 510
Default Formula

Hi,

Create your reference in a table and use vlookup() function
a1 = 1 a2 = 2 a3 = 3
b1 = 25 b2 = 50 b3 = 150

then if you input 1 in cell C1, you can have in cell D1 :
=vlookup(c1,a1:b3,2)

HTH
Cheers
Carim