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 8th, 2002, 10:08 PM   #1
Tich
New Member
 
Join Date: May 2002
Posts: 3
Default

Hi, I've been using excel for a while but have been self taught, so I don't know all the lingo and in's and out's. I'm having a big problem creating a formula that's based on other formulae. Please help! I've tested each formula on their own, and they work, but I now want to add each formula together to make a total sum and it's not working. I keep getting the #VALUE! message, but it's not telling me what to change. There are a lot of brackets, etc, but I can't figure out what I'm doing wrong! Is there anybody who can help me? Do I have to type the formulae in this message to get help?

Tich is offline   Reply With Quote
Old May 8th, 2002, 10:10 PM   #2
Steve Hartman
Board Regular
 
Steve Hartman's Avatar
 
Join Date: Feb 2002
Location: Houston,Texas
Posts: 418
Default

There are lots who can and will help you. Of course it would help if you would post what you've done so far so we can see where to start.
Steve Hartman is offline   Reply With Quote
Old May 9th, 2002, 07:41 AM   #3
EBK
New Member
 
Join Date: Apr 2002
Location: Paul, Sydney Australia
Posts: 10
Default

Add you email to your profile to.

Paul
EBK is offline   Reply With Quote
Old May 9th, 2002, 07:54 AM   #4
Ian Mac
MrExcel MVP
 
Join Date: Feb 2002
Location: Newcastle, UK
Posts: 1,174
Default

Quote:
On 2002-05-08 21:08, Tich wrote:
Hi, I've been using excel for a while but have been self taught, so I don't know all the lingo and in's and out's. I'm having a big problem creating a formula that's based on other formulae. Please help! I've tested each formula on their own, and they work, but I now want to add each formula together to make a total sum and it's not working. I keep getting the #VALUE! message, but it's not telling me what to change. There are a lot of brackets, etc, but I can't figure out what I'm doing wrong! Is there anybody who can help me? Do I have to type the formulae in this message to get help?

You need to explain a bit about the real problem you face, i.e. mention what is in what column/row/cells what you'd like out of the data and what the expected results might be.

if you can provide this I'm sure we can help.
__________________
"Have a good time......all the time"
Ian Mac
Ian Mac is offline   Reply With Quote
Old May 9th, 2002, 09:37 AM   #5
Mark W.
MrExcel MVP
 
Join Date: Feb 2002
Location: Austin, Texas USA
Posts: 11,654
Default

Quote:
On 2002-05-08 21:08, Tich wrote:
Hi, I've been using excel for a while but have been self taught, so I don't know all the lingo and in's and out's. I'm having a big problem creating a formula that's based on other formulae. Please help! I've tested each formula on their own, and they work, but I now want to add each formula together to make a total sum and it's not working. I keep getting the #VALUE! message, but it's not telling me what to change. There are a lot of brackets, etc, but I can't figure out what I'm doing wrong! Is there anybody who can help me? Do I have to type the formulae in this message to get help?

Excel's Help topics contain a wealth of information. I recommend that you look at the topic...

"About multiple functions within functions, or nesting"

...and especially, note the statement, "...If a nested function does not return the correct type of value, Microsoft Excel will display a #VALUE! error value. For example, the following formula uses a nested AVERAGE function and compares it with the value 50. The comparison must return TRUE or FALSE because this is the required type of value for the first argument in an IF function."

The help topic for every worksheet function documents the data types it expects as arguments and the date type that the function returns. For example, the function, DATEVALUE, returns a serial number value (i.e., 20323) and expects as it's only argument a text representation of a valid date (e.g., "8/22/55").

Another good Excel Help topic is...

"Troubleshoot formulas and error values"

When you press the link for "What does the error #VALUE! mean?" you'll see all the possible cause of this error and a suggested action.

[ This Message was edited by: Mark W. on 2002-05-09 08:39 ]
Mark W. is offline   Reply With Quote
Old May 9th, 2002, 12:00 PM   #6
Tich
New Member
 
Join Date: May 2002
Posts: 3
Default

Hi,

Thanks for all the replies. Here goes:

I want to add these separate formulas together to make one total formula:

=SUM((A28:A33),(A38:A39))*18.32%
=SUM((A34:A40),(A54+A57))*14.46%
=SUM((A51:A53),(A55:A56),(A58:A88),(A90:A132),(A148+A153+A155))*28.456%
=SUM(A42:A50)*18.32%
=A41*6.32%
=A89*18.996%

I've looked in the Help index and either can't really understand what the issue is, or it doesn't fully explain how to add them together to make one total formula. For example, I really don't understand the whole "," (comma) concept... why can't you just use the "+"? After all, that is really the correct mathematical sign to use!

Tich is offline   Reply With Quote
Old May 9th, 2002, 12:09 PM   #7
Mark W.
MrExcel MVP
 
Join Date: Feb 2002
Location: Austin, Texas USA
Posts: 11,654
Default

To better understand the "comma concept" see the Excel Help topic for...

"About using functions to calculate values"

Pay close attention to the explanation of "arguments".

...They're not just for married couples any more!
Mark W. is offline   Reply With Quote
Old May 9th, 2002, 12:13 PM   #8
klb
Board Regular
 
Join Date: Apr 2002
Location: Minnesota
Posts: 821
Default

Menu: Tools, Options, Calculation
Make sure the "Accept labels in formulas" is checked.

So this is the formula that I get, and I do not receive an error message in the result when that box is checked. If I uncheck it and one of the cells refered to in the formula has text in it, the #VALUE# error occurs.


=(SUM((A28:A33),(A38:A39))*18.32%)+(SUM((A34:A40),(A54+A57))*14.46%)+(SUM((A51:A53),(A55:A56),(A58:A88),(A90:A132),(A148 +A153+A155))*28.456%)+(SUM(A42:A50)*18.32%+A41*6.32%)+(A89*18.996%)
klb is offline   Reply With Quote
Old May 9th, 2002, 12:20 PM   #9
invisigirl
Board Regular
 
Join Date: Mar 2002
Location: Oregon
Posts: 130
Default

Tich, try to think of it this way: When you type "SUM" in the formula, that itself means "add." So if you have a formula that says: =SUM((A1:A5),(B2:B7),(C42:C45)), you're really saying, "I want to add this, this, and this." You wouldn't, in conversation, say, "I want to add this plus this plus this," because that would be redundant.

It IS pretty confusing to think like a computer--definitely something I haven't mastered yet, either--but there is always some type of logic involved. Good luck learning the lingo! There are tons of geniuses here who can help you.
invisigirl is offline   Reply With Quote
Old May 9th, 2002, 12:34 PM   #10
klb
Board Regular
 
Join Date: Apr 2002
Location: Minnesota
Posts: 821
Default

Correction to my previous message: the formula should read:

=(SUM((A28:A33),(A38:A39))*18.32%)+(SUM((A34:A40),(A54+A57))*14.46%)+(SUM((A51:A53),(A55:A56),(A58:A88),(A90:A132),(A148 +A153+A155))*28.456%)+(SUM(A42:A50)*18.32%+SUM(A41)*6.32%+SUM(A89)*18.996%)

The sum function will ignore text in the cells it is using but the + sign will not.

The short story is: you probably have text or spaces in one of your cells.
klb 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 01:03 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