MrExcel Message Board


Go Back   MrExcel Message Board > Question Forums > Excel Questions

Notices

Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only.

Reply
 
Thread Tools Display Modes
Old May 23rd, 2002, 03:23 PM   #1
kurai
New Member
 
Join Date: May 2002
Posts: 19
Default

Ok, this is what I have: roughly 20 different items with 3 different prices EACH
Pulldowns for those items and a formula that displays the retail price automatically
the pulldowns are Data Validation pulldowns and the INDIRECT formula method isnt working the way I need it to.
I need a way that will give me the 3 price options for the selected item in a pulldown. I posted this before but I dont know any vb code. if you decide that I can only do this in code, please be detailed. thank you thank you thank you.

the 3 different prices are on columns c, d and e. the Items are in on column A. is there a way to make a range of C:E (the column headers) and have the prices referenced from A? I have been trying everything I know (which is only a small amount) If you would like to email me, please go ahead and I will send you the file I am working on

[ This Message was edited by: kurai on 2002-05-23 15:37 ]
kurai is offline   Reply With Quote
Old May 23rd, 2002, 03:51 PM   #2
Al Chara
MrExcel MVP
 
Join Date: Feb 2002
Location: Monterrey, Mexico
Posts: 1,433
Default

Ok, here is my idea:

Define a range named ITEMS that is the list of 20 items.

Define a range named PRICERNG with the following formula:
=CELL("ADDRESS",OFFSET(ITEMS,1,MATCH(Input!$A$1,ITEMS)))&":"&CELL("ADDRESS",OFFSET(ITEMS,3,MATCH(Input!$A$1,ITEMS)))

Define a range named PRICES with the following formula:
=INDIRECT(PRICERNG)

I have assumed that your data validation cell for the Items is in cell A1 (edit above if cell is different).

Make your Items data validation list in cell A1 equal to the following source:
=ITEMS

Make your prices data validation list in cell B1 equal to the following source:
=PRICES

This should all work if the above format is followed. Post with further questions. I will answer tomorrow or someone else on the board can answer. I assume the formula for PRICERNG can be simplified or changed, but that is what first popped into my head.
__________________
Kind regards,

Al Chara
Al Chara is offline   Reply With Quote
Old May 23rd, 2002, 04:22 PM   #3
kurai
New Member
 
Join Date: May 2002
Posts: 19
Default

there are actually about 8 different pulldowns. this is a very basic price quotation system. I looked at it and thought "YES!!! IT will work!" but I looked closer and it didnt. I would have to make one for each of the pulldowns, and that would be a bit time consuming. not that all this posting isnt taking up lots of time. email me and I can send you the file I am talking about. my address is kurai@qatarmail.com
kurai is offline   Reply With Quote
Old May 23rd, 2002, 04:25 PM   #4
Ian Mac
MrExcel MVP
 
Join Date: Feb 2002
Location: Newcastle, UK
Posts: 1,174
Default

Quote:
On 2002-05-23 15:23, kurai wrote:
Ok, this is what I have: roughly 20 different items with 3 different prices EACH
Pulldowns for those items and a formula that displays the retail price automatically
the pulldowns are Data Validation pulldowns and the INDIRECT formula method isnt working the way I need it to.
I need a way that will give me the 3 price options for the selected item in a pulldown. I posted this before but I dont know any vb code. if you decide that I can only do this in code, please be detailed. thank you thank you thank you.

the 3 different prices are on columns c, d and e. the Items are in on column A. is there a way to make a range of C:E (the column headers) and have the prices referenced from A? I have been trying everything I know (which is only a small amount) If you would like to email me, please go ahead and I will send you the file I am working on

[ This Message was edited by: kurai on 2002-05-23 15:37 ]
If you can send me the workbook or an axample I'll take a look.
__________________
"Have a good time......all the time"
Ian Mac
Ian Mac is offline   Reply With Quote
Old May 25th, 2002, 12:08 PM   #5
Chris Davison
MrExcel MVP
 
Join Date: Feb 2002
Location: Millbank, London, UK
Posts: 1,790
Default

I see you started another thread for this problem
Chris Davison is offline   Reply With Quote
Old May 25th, 2002, 02:55 PM   #6
Jack in the UK
Board Regular
 
Join Date: Feb 2002
Posts: 3,068
Default

Chris mate if you see the new thread kill it refer it back to this one, I have not linked this up, if you can do before I can.

Cheers mate

Gets silly otherwise, two knocking about, always remember the guys might not know or realize..

Just a point, take care chat soon.

__________________
Free Excel based Web Toolbar available here.

Jack in the UK
J & R Excel Solutions
"making Excel work for you"
Jack in the UK is offline   Reply With Quote
Old May 25th, 2002, 03:59 PM   #7
Al Chara
MrExcel MVP
 
Join Date: Feb 2002
Location: Monterrey, Mexico
Posts: 1,433
Default

This thread can be closed, the solution was just to create another named range dynamically with a selection change event procedure that would refer to the selected item. If anyone is interested in all the named range formulas and the little bit of code, I can post it.
Al Chara is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 09:18 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
All contents Copyright 1998-2012 by MrExcel Consulting.
diabetic desserts recipes recipes Diabetic Soups Holiday Pizza Recipes Popcorn Recipes Recipes For Microwave Pasta Recipes Casserole Recipes Chili Recipes Curry Recipes Crockpot Recipes Apples Recipes Bread Recipes Vegetarian Recipes Vegetable recipes Desserts Recipes Appetizers Ethnic Recipes Meat Dishes Barbecue Recipes Sauces Recipes Marinade Recipes Low Fat Recipes Frugal Gourmet Kitchen Classics Recipes On The Grill Cook Books Seafood Recipes Cajun Recipes Breads Low Fat Low Fat Breads Bread Machine Recipes Yeast Breads Quick Breads Fat Free Vegetarian Salad Recipes Eggplant Recipes Radish Recipes Tomato Recipes Jalapeno Recipes Potato Recipes Lettuce Recipes Cabbage Recipes Beans Ambrosia Recipes Biscotti Recipes Desserts Low Fat Cookie Recipes Cheesecake Recipes Cake Recipes Pie Recipes Muffin Recipes Custard Recipes Best Appetizers Appetizers Low Fat Salsa Recipes Dip Recipes International Recipes Afghan Recipes Alaska Recipes French Recipes German Recipes Greek Recipes Italian Recipes Spanish Recipes Thai Recipes Korean Recipes Chinese Recipes Mexican Recipes Indian Recipes Beef Recipes Pork Pork & Ham Pork Butts Pork Chop Recipes Pork Ribs Rulled Pork Poultry Recipes Stews Recipes Ground Beef Barbecue Grill Barbecue Smoker All Purpose Sauce BBQ Sauce Barbecue Sauce Carolina BBQ Sauce Pickle Recipes Marinades Smoking Low Fat Appetizers & Dips Low Fat Breakfast Low Fat Cakes Low Fat Cheesecakes Low Fat Cookies Low Fat Desserts Low Fat Fish & Seafood Low Fat Meats Low Fat Pasta Low Fat Pies Low Fat Salads Low Fat Sandwiches Low Fat Sauces & Condiments Low Fat Sides Low Fat Soups Low Fat Vegetarian Baker's Dozen Taste of Home Recipe Book Bon Appetit Cookbook Blacktie Cookbook Buster Cook Book Cookbook USA Cook Book Cook Book Sara's Cookbook Sara's Cookbook Appetizers and Dips Poultry recipes Diabetic recipes Holiday recipes Miscellaneous recipes 110 recipes 1986 Usenet cookbook 2900 recipes Cyberrealm recipes Great sysops of world Specialty recipes Ceideburg recipes Cheese recipes Chili recipes Fruits recipes Garlic recipes Great chefs of NY Londontowne recipes Raisins recipes Recipes for kids US Food Vegetarian recipes Bread recipes Drinks Meat Dishes Brisket recipes Caribou recipes Chicken recipes Filet mignons recipes Pork recipes Swordfish recipes Turkey recipes Pasta recipes Uncategorized recipes Ethnic recipes Canada recipes English recipes Ethiopia recipes Germany recipes Greece recipes Mexican recipes Philippines recipes Welsh recipes Microwave recipes Soups recipes Vegetable recipes Asparagus recipes Barley recipes Brown rice recipes Lentil recipes Mushrooms recipes Salads recipes Wild rice Desserts recipes Cakes recipes Chocolate recipes Cookies recipes Ice cream recipes