ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   If - Then Formula (https://www.excelbanter.com/excel-worksheet-functions/82781-if-then-formula.html)

kgeorge

If - Then Formula
 

Please Help!!

I have column A as a drop down list and would like it if column C would
give a corresponding price to what is picked in column A from the drop
down list.
Any quick fixes?

Thanks A Bunch!


--
kgeorge
------------------------------------------------------------------------
kgeorge's Profile: http://www.excelforum.com/member.php...o&userid=32804
View this thread: http://www.excelforum.com/showthread...hreadid=532065


Cutter

If - Then Formula
 

You make a table somewhere within your workbook (possibly expand on the
source list for your drop down?) with your data that comprises your
drop down list and in the adjacent column list the prices that are
associated to each item in your list.
Then use a VLOOKUP() formula in column C of the sheet containing your
drop down. When an item is selected from your drop down the formula
will display the associated price from your table.

Something like:

=VLOOKUP(cell holding the drop down,sheet name & range of your
table,2,0)


--
Cutter
------------------------------------------------------------------------
Cutter's Profile: http://www.excelforum.com/member.php...fo&userid=9848
View this thread: http://www.excelforum.com/showthread...hreadid=532065


Duke Carey

If - Then Formula
 
Do you have a table of items & corresponding prices?

Let's say that range G1:G10 contains the labels for your drop down. In
H1:H10 put the prices

in C1 use:

=vlookup(A1,$G$1:$h$10,2,false)

"kgeorge" wrote:


Please Help!!

I have column A as a drop down list and would like it if column C would
give a corresponding price to what is picked in column A from the drop
down list.
Any quick fixes?

Thanks A Bunch!


--
kgeorge
------------------------------------------------------------------------
kgeorge's Profile: http://www.excelforum.com/member.php...o&userid=32804
View this thread: http://www.excelforum.com/showthread...hreadid=532065




All times are GMT +1. The time now is 02:12 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com