Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
4Proffit
 
Posts: n/a
Default =if with multiple choices

I am working on a pricing spreadsheeet.

In one column I have all of the products and next to it the price
ie: a14 prices is listed in C14

by the customer info (same worksheet) I have created a drop down validation
lookup list of the product codes in A14 through A27. It works fine.

So at the top of the worksheet if I input the product code using the drop
down, how do I populate the price next to it? The below formula works to look
up one item, but what if the input is a15 price is in c15, a16, a17, etc.
Then the pricing would be represented in c15, c16, or C17 etc.

ie: =IF(A14,C14)

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Duke Carey
 
Posts: n/a
Default =if with multiple choices

If the drop down is in cell A1 and you want the price in B1, use this formula
in B1. The formula assumes the table of products & prices is in range
A14:c:25

=vlookup(A1,A14:C25,3,0)


"4Proffit" wrote:

I am working on a pricing spreadsheeet.

In one column I have all of the products and next to it the price
ie: a14 prices is listed in C14

by the customer info (same worksheet) I have created a drop down validation
lookup list of the product codes in A14 through A27. It works fine.

So at the top of the worksheet if I input the product code using the drop
down, how do I populate the price next to it? The below formula works to look
up one item, but what if the input is a15 price is in c15, a16, a17, etc.
Then the pricing would be represented in c15, c16, or C17 etc.

ie: =IF(A14,C14)

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Vlookup on multiple choices ledzepe Excel Discussion (Misc queries) 2 February 17th 06 06:04 PM
How do I allow multiple choices in a list-box? rmcgreg Excel Worksheet Functions 0 February 3rd 06 06:03 PM
Move multiple rows of data that are not sequential Mel Excel Discussion (Misc queries) 1 January 20th 06 06:33 AM
How can VLOOKUP identify between multiple choices for > 1 batch? Ivan Thorn Excel Worksheet Functions 4 May 9th 05 01:22 PM
Drop down list with multiple choices Cindy Excel Worksheet Functions 6 March 30th 05 01:35 AM


All times are GMT +1. The time now is 02:20 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"