MrExcel Message Board

Go Back   MrExcel Message Board > Question Forums > Excel Questions

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 26th, 2002, 12:11 PM   #1
Coastie
New Member
 
Join Date: May 2002
Posts: 17
Default

I just found your site via google. It appears I'm in the right place!

I'm trying to create a simple drop down menu with 2 choices.

Choice #1 text will produce a value of 22
Choice #2 text will produce a value of 24

The value will then be converted by another formula (below).

I'd like to use either a drop box, or some sort of check box. If a check box or option button is used, we could have it default to one value (22), then if the box is checked, change to the other.

the formula I am using in F12 which is the main one is =AVERAGE(F7:F8)*21/(4*(F10))+13.25

I'd like F10 to be selectable in some way. Currently a user has to enter a number manually, I'd like the drop box, or button to take care of that.

Is this possible?

Here is the file to look at CLICK HERE

I don't have any understanding of the form editing boxes, or vb.

Thank You



[ This Message was edited by: Coastie on 2002-05-26 11:13 ]
Coastie is offline   Reply With Quote
Old May 26th, 2002, 12:26 PM   #2
Brian from Maui
Board Regular
 
Brian from Maui's Avatar
 
Join Date: Feb 2002
Posts: 7,743
Default

coastie,

How is the value in F10 derived?
Brian from Maui is offline   Reply With Quote
Old May 26th, 2002, 12:38 PM   #3
Coastie
New Member
 
Join Date: May 2002
Posts: 17
Default

there are only 2 values F10 will ever be. It will either be 22 or 24.

It is derived from the rank structure in the Coast Guard. All personnel E4-E6 will use 22 and all E7-E9 will use 24. The page is used to figure a number used in calculating points for advancement.

If possible, I’d like it to default to 22, with a check box and something to the effect of

“E7 above check this box”

Once that box is checked F10 will switch from 22 to 24.

The numbers can be hidden from view

Also a simple drop down box would work. E4-E6 (would give 22 as the result) E7-E9 (would have 24 as the result)

Does that give you the information you asked?
Coastie is offline   Reply With Quote
Old May 26th, 2002, 12:44 PM   #4
Brian from Maui
Board Regular
 
Brian from Maui's Avatar
 
Join Date: Feb 2002
Posts: 7,743
Default

coastie,

Have a look at this thread and Chris's enplanation

http://www.mrexcel.com/board/viewtop...9267&forum=2&6

Where they can select their grade and either 22 or 24 will appear depending on their grade

Or you could use an IF statement in F10

[ This Message was edited by: Brian from Maui on 2002-05-26 11:50 ]
Brian from Maui is offline   Reply With Quote
Old May 26th, 2002, 12:54 PM   #5
Coastie
New Member
 
Join Date: May 2002
Posts: 17
Default

That does seem to be what i am after, but it all pretty confusing. I can't really figure out where/how to begin.

I read through the post, and tried some of it
Quote:
now highlight the 3-celled range for CAR1
insert
name
define
names in workbook should be "CAR1"
refers to should be your highlighted range (with $$ signs to anchor it)
add
okay
but it is all still greek. I don't really understand what to do.
Coastie is offline   Reply With Quote
Old May 26th, 2002, 01:00 PM   #6
mechpm
New Member
 
Join Date: May 2002
Posts: 30
Default

am i being simple minded? could you not use data validation to create your list?


this works for me on similar work sheets in Excel 2002.
mechpm is offline   Reply With Quote
Old May 26th, 2002, 01:09 PM   #7
Brian from Maui
Board Regular
 
Brian from Maui's Avatar
 
Join Date: Feb 2002
Posts: 7,743
Default

coastie,

In F10 enter this

=IF(a1<=e6,"22","24)

Where A1 houses your grade

I'm sure someone will come up with a better way.
Brian from Maui is offline   Reply With Quote
Old May 26th, 2002, 01:19 PM   #8
Coastie
New Member
 
Join Date: May 2002
Posts: 17
Default

Thanks for that formula,

That gives me an error. I am using Excel 2000

It did suggest a corrected code and is using this

=IF(A1<=E6,"22","24")

the only difference I see are the capitol letters.

The code defaults to 22 and I can't seem to get it to change by altering the E* in block A1.

Any ideas?
Coastie is offline   Reply With Quote
Old May 26th, 2002, 01:25 PM   #9
Brian from Maui
Board Regular
 
Brian from Maui's Avatar
 
Join Date: Feb 2002
Posts: 7,743
Default

coastie,

My apologies in the formula it's referring to the cell e6 etc instead of the grade, I was just testing it now, hang on I'll be right back
Brian from Maui is offline   Reply With Quote
Old May 26th, 2002, 01:47 PM   #10
Coastie
New Member
 
Join Date: May 2002
Posts: 17
Default

Quote:
On 2002-05-26 12:00, mechpm wrote:
am i being simple minded? could you not use data validation to create your list?


this works for me on similar work sheets in Excel 2002.
I'm really new at this. If it is more than simple addition/subtraction/multiplication or division it’s over my head at the moment.
Coastie 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 04:35 PM.


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