Formula needed

aysam

Board Regular
Joined
Jun 24, 2009
Messages
224
Office Version
  1. 2010
Platform
  1. Windows
Hi all
I need a formula to return the price of an item between a column of a lot of items as soon as I write the item in a cell.
Hope I'm clear enough
thanks in advance
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
you are not clear enough. could you post small sample of your data ?
 
Upvote 0
Ok
I,m using Excel 2003
ITEM

<tbody>
</tbody>
PRICE

<tbody>
</tbody>
NUM

<tbody>
</tbody>
QUANT

<tbody>
</tbody>
SAMSUNG GALAXY
SAMSUNG GALAXY S3
SAMSUNG S4
SAMSUNG S5
SAMSUNG S6
SAMSUNG S7
SAMSUNG S8
SAMSUNG S9
SAMSUNG S10
SAMSUNG S11
SAMSUNG S12
SAMSUNG S13
SAMSUNG S14
SAMSUNG S15
SAMSUNG S16
SAMSUNG S17
SAMSUNG S18
SAMSUNG S19

<colgroup><col></colgroup><tbody>
</tbody>
115
120
125
130
135
140
145
150
155
160
165
170
175
180
185
190
195
200

<colgroup><col width="64" style="width:48pt"> </colgroup><tbody>
</tbody>

<tbody>
</tbody>

As soon as I choose an item
the formula returns its price
 
Upvote 0
Assuming that your lookup data is in A1 to B18, and your lookup value of the phone type is in C1, this in C2:

=VLOOKUP(C1,$A$1:$B$18,2,0)

If your locale is in Europe, you'll need semi-colons instead of commas.
 
Last edited:
Upvote 0
Assuming that your lookup data is in A1 to B18, and your lookup value of the phone type is in C1, this in C2:

=VLOOKUP(C1,$A$1:$B$18,2,0)

If your locale is in Europe, you'll need semi-colons instead of commas.
Is there another solution if the column of the phone items is not sorted?
 
Upvote 0
Yes , I tried it and it worked quite well
thanks so much
 
Upvote 0

Forum statistics

Threads
1,214,653
Messages
6,120,756
Members
448,990
Latest member
Buzzlightyear

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top