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 Mar 9th, 2002, 01:19 AM   #1
Guest
 
Posts: n/a
Default


I have a spreadsheet of formula's I need help with, I assume if I figure out even one column's worth of formula, then I can perhaps link them all together to get a successful spreadsheet.

if anyone is available to look at my spreadsheet and give me one on one advice, feel free to email me.

I have columns A thru S -
Each column needs an "IF" type formula.

i.e. Column A is :

<120= +x
121-140= +2x
141-150= +3x
151-170= +4x
171-180= +5x
181-200= +6x
201-220= +12x
221-250= +20x
251+= +40x

other columns are very similar, the end result I HOPE will be pricing in the "t" column. Lets say this is the shipping column. The weight will give the results (IF 171-200 = 6*x) X is a constant throughout the whole spreadsheet, so that with ONE change, the entire price list can be altered.
Perhaps (IF 171-200 = 6*A1) ( I could introduce the value of x in cell A1 and move everything over.

I have some more complicated formula issues later on in the spreadsheet, i.e. if there is text entered in column Q then columns K,L,M,N, are to be ignored.

Any help would be appreciated, how to enter multiple "ifs" to a column of cells (I think perhaps sending the results to sheet 2 of the workbook might be better? ) However seems logical..

ANY ideas would be great.. I'm really at a loss on this.


  Reply With Quote
Old Mar 9th, 2002, 01:23 AM   #2
vampcatt
New Member
 
Join Date: Feb 2002
Location: State? Insanity! :)
Posts: 26
Default

I don't know why it entered that post as anonymous.
Please feel free to email me if you'd like to see a copy of the spreadsheet to offer any suggestions..
THANK you..
vampcatt is offline   Reply With Quote
Old Mar 9th, 2002, 01:37 AM   #3
Aladin Akyurek
MrExcel MVP
 
Aladin Akyurek's Avatar
 
Join Date: Feb 2002
Location: The Hague
Posts: 50,315
Default

Quote:
On 2002-03-09 00:19, Anonymous wrote:

I have a spreadsheet of formula's I need help with, I assume if I figure out even one column's worth of formula, then I can perhaps link them all together to get a successful spreadsheet.

if anyone is available to look at my spreadsheet and give me one on one advice, feel free to email me.

I have columns A thru S -
Each column needs an "IF" type formula.

i.e. Column A is :

<120= +x
121-140= +2x
141-150= +3x
151-170= +4x
171-180= +5x
181-200= +6x
201-220= +12x
221-250= +20x
251+= +40x

other columns are very similar, the end result I HOPE will be pricing in the "t" column. Lets say this is the shipping column. The weight will give the results (IF 171-200 = 6*x) X is a constant throughout the whole spreadsheet, so that with ONE change, the entire price list can be altered.
Perhaps (IF 171-200 = 6*A1) ( I could introduce the value of x in cell A1 and move everything over.

I have some more complicated formula issues later on in the spreadsheet, i.e. if there is text entered in column Q then columns K,L,M,N, are to be ignored.

Any help would be appreciated, how to enter multiple "ifs" to a column of cells (I think perhaps sending the results to sheet 2 of the workbook might be better? ) However seems logical..

ANY ideas would be great.. I'm really at a loss on this.
Wampcatt,

I was going to ask: Who are you?

When posting this, you were not logged on, whence the zillionst Anonymous.

Back to your question.

Enter X-value in an empty cell, in a sheet which you could name Admin. Select this cell, go to the Name Box on the Formula Bar, type, e.g., Price, and enter.

Use the following formula to compute the pricing, which you enter in T2.

=VLOOKUP(A2,{0,1;121,2;141,3;151,4;171,5;181,6;201,12;221,20;251,40},2)*Price

where A2 houses a weight.

Aladin
Aladin Akyurek is offline   Reply With Quote
Old Mar 9th, 2002, 09:05 AM   #4
Guest
 
Posts: n/a
Default

Quote:
On 2002-03-09 00:19, Anonymous wrote:

I have a spreadsheet of formula's I need help with, I assume if I figure out even one column's worth of formula, then I can perhaps link them all together to get a successful spreadsheet.

if anyone is available to look at my spreadsheet and give me one on one advice, feel free to email me.

I have columns A thru S -
Each column needs an "IF" type formula.

i.e. Column A is :

<120= +x
121-140= +2x
141-150= +3x
151-170= +4x
171-180= +5x
181-200= +6x
201-220= +12x
221-250= +20x
251+= +40x

other columns are very similar, the end result I HOPE will be pricing in the "t" column. Lets say this is the shipping column. The weight will give the results (IF 171-200 = 6*x) X is a constant throughout the whole spreadsheet, so that with ONE change, the entire price list can be altered.
Perhaps (IF 171-200 = 6*A1) ( I could introduce the value of x in cell A1 and move everything over.

I have some more complicated formula issues later on in the spreadsheet, i.e. if there is text entered in column Q then columns K,L,M,N, are to be ignored.

Any help would be appreciated, how to enter multiple "ifs" to a column of cells (I think perhaps sending the results to sheet 2 of the workbook might be better? ) However seems logical..

ANY ideas would be great.. I'm really at a loss on this.


1.in cell A1 put value of X
2.in column A beginig cell A2 put eny data
3. in cell B2 write/copy formula :
=CHOOSE(MATCH(A2;{0;121;141;161;181;201;221;251});1;2;3;4;5;6;12;40)*$A$1
4. fill formula down
Warning : change argument separator if needed
Remarks
MATCH serching value greather or equal A2 and retuns it position in array {..}
CHOSE returns value on indicate positiom
Nemo
  Reply With Quote
Old Mar 16th, 2002, 07:28 PM   #5
vampcatt
New Member
 
Join Date: Feb 2002
Location: State? Insanity! :)
Posts: 26
Default

Ok.. perhaps I am a moron, but I could not get either of those suggestions to work.
I cut and pasted them directly from these posts.

Aladin, your suggestion simply game me #name? error .. so I am thinking I am not schooled in the nature of "naming" cells?

As I am now I have 1 document with 4 worksheets, one is named "admin" and cell a1 I entered in the value of X, and "named" it Price but it doesnt show as that name again when I check the cell, should it ?

Help .. I'm at a loss! thanks!



[ This Message was edited by: vampcatt on 2002-03-16 18:31 ]
vampcatt is offline   Reply With Quote
Old Mar 16th, 2002, 08:36 PM   #6
vampcatt
New Member
 
Join Date: Feb 2002
Location: State? Insanity! :)
Posts: 26
Default

Anyone have any ideas?

thanks!
vampcatt is offline   Reply With Quote
Old Mar 17th, 2002, 01:43 AM   #7
Aladin Akyurek
MrExcel MVP
 
Aladin Akyurek's Avatar
 
Join Date: Feb 2002
Location: The Hague
Posts: 50,315
Default

Quote:
On 2002-03-16 18:28, vampcatt wrote:
Ok.. perhaps I am a moron, but I could not get either of those suggestions to work.
I cut and pasted them directly from these posts.

Aladin, your suggestion simply game me #name? error .. so I am thinking I am not schooled in the nature of "naming" cells?

As I am now I have 1 document with 4 worksheets, one is named "admin" and cell a1 I entered in the value of X, and "named" it Price but it doesnt show as that name again when I check the cell, should it ?

Help .. I'm at a loss! thanks!

[ This Message was edited by: vampcatt on 2002-03-16 18:31 ]
You get the #NAME? error because the naming action did not succeed. Giving a name to a single or multi-cell range is not difficult. You probably did not hit enter after typing Price in the Name Box. Try again.

I've sent you a WB that shows what I suggested.

Aladin
Aladin Akyurek 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 12:05 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