Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
karenofcourse
 
Posts: n/a
Default at, if statement with text, such as if(product), then (price)

I have a price list with descriptions, item codes and prices. I just want to
use something simple like an at, if statement to tell the worksheet if this
product is selected from my drop down list, then return this price and item
code. I'm sure this is so simple, but I'm not having any luck.
Please help
Thanks
  #2   Report Post  
Bob Phillips
 
Posts: n/a
Default

Assuming the Dropdown is in B2, and the price list is in M1:O20

=VLOOKUP(B2,$M$1:$O$209,2,False)

and


=VLOOKUP(B2,$M$1:$O$209,3,False)

--

HTH

RP
(remove nothere from the email address if mailing direct)


"karenofcourse" wrote in message
...
I have a price list with descriptions, item codes and prices. I just want

to
use something simple like an at, if statement to tell the worksheet if

this
product is selected from my drop down list, then return this price and

item
code. I'm sure this is so simple, but I'm not having any luck.
Please help
Thanks



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
if statement with text jerry Excel Discussion (Misc queries) 2 June 24th 05 01:21 AM
Formulas dealing with text data Bagia Excel Worksheet Functions 6 June 20th 05 10:29 PM
If statement for text decanno04 Excel Worksheet Functions 2 June 17th 05 12:41 AM
Sort or Filter option? Mcobra41 Excel Worksheet Functions 3 February 23rd 05 07:22 PM
Read Text File into Excel Using VBA Willie T Excel Discussion (Misc queries) 13 January 8th 05 12:37 AM


All times are GMT +1. The time now is 06:51 PM.

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"