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 17th, 2002, 04:29 PM   #1
mechpm
New Member
 
Join Date: May 2002
Posts: 30
Default

I have a work sheet that uses columns B thru H and rows 2 thru 11 to calculate data.

When any number in column E returns a negative # I need the entire row to return 0 or blank so that rest of the columns will not calculate these #s. I’ve tried some what if formulas but can’t get it to work....

I’m sure this is doable maybe an array type formula. However, I’ve just learned of this capability and they are quite the mystery.


Thx,

Rw
,
mechpm is offline   Reply With Quote
Old May 17th, 2002, 04:35 PM   #2
Mark W.
MrExcel MVP
 
Join Date: Feb 2002
Location: Austin, Texas USA
Posts: 11,654
Default

Quote:
On 2002-05-17 15:29, mechpm wrote:
I have a work sheet that uses columns B thru H and rows 2 thru 11 to calculate data.

When any number in column E returns a negative # I need the entire row to return 0 or blank so that rest of the columns will not calculate these #s. I’ve tried some what if formulas but can’t get it to work....

I’m sure this is doable maybe an array type formula. However, I’ve just learned of this capability and they are quite the mystery.


Thx,

Rw
,
Instead of zeroing or blanking the rows why not use...

=SUMIF(E2:E11,">=0",sum_range)

[ This Message was edited by: Mark W. on 2002-05-17 15:36 ]
Mark W. is offline   Reply With Quote
Old May 17th, 2002, 06:54 PM   #3
mechpm
New Member
 
Join Date: May 2002
Posts: 30
Default

Quote:
On 2002-05-17 15:35, Mark W. wrote:
Quote:
On 2002-05-17 15:29, mechpm wrote:
I have a work sheet that uses columns B thru H and rows 2 thru 11 to calculate data.

When any number in column E returns a negative # I need the entire row to return 0 or blank so that rest of the columns will not calculate these #s. I’ve tried some what if formulas but can’t get it to work....

I’m sure this is doable maybe an array type formula. However, I’ve just learned of this capability and they are quite the mystery.


Thx,

Rw
,
Instead of zeroing or blanking the rows why not use...

=SUMIF(E2:E11,">=0",sum_range)

[ This Message was edited by: Mark W. on 2002-05-17 15:36 ]

This will exclude the negative # s in column E. However, I have other columns were the #s(cells) are not retuned negative, or are input cells. These #s(cells) need to be omitted per each negative condition in column E.

Let’s say E 5 and E 7 are negative then I need all cells in rows 5 & 7 to return blank or 0
So that they are not used in other calculations in columns B, C & H.

I have =SUMIF(E2:E11,">=0") at the bottom of column E now and I have conditional formatting that changes the colors of the rows when any #s (cells) in column E are Negative. However, I have to delete the cells and then rewrite the formulas when I enter new data.

I am not familiar with sum_range. How can I apply this to get the above result? You may have to be more deliberate as I am a meager apprentice in the excel environment.

I am looking in walkingbachs book 2002 formulas for sum-range however, any help with this
would be greatly appreciated.

This complex and unfathomable program has become I bit of a fixation. Do you suppose there is a 12 step process that combats the effects?

Thx

R W
mechpm is offline   Reply With Quote
Old May 17th, 2002, 07:00 PM   #4
kinkyparamour
Board Regular
 
Join Date: Feb 2002
Location: Florida
Posts: 82
Default

If you find that 12 step program I believe a lot of us will be forced to join......

Denny
kinkyparamour is offline   Reply With Quote
Old May 17th, 2002, 08:06 PM   #5
mechpm
New Member
 
Join Date: May 2002
Posts: 30
Default

Quote:
On 2002-05-17 18:00, kinkyparamour wrote:
If you find that 12 step program I believe a lot of us will be forced to join......

Denny

I believe it was yogi anand (no let me rephrase that THE Yogi Anand the man with the patients of steel) who used the phrase Excel enthusiast one evening. Hey, shroud it if you like.

Can you say monomaniac..
mechpm is offline   Reply With Quote
Old May 20th, 2002, 08:44 AM   #6
Mark W.
MrExcel MVP
 
Join Date: Feb 2002
Location: Austin, Texas USA
Posts: 11,654
Default

For a definition of "sum_range" take a look at the Excel Help topic for "SUMIF worksheet function".
Mark W. 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 06:44 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