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, 02:06 PM   #1
mechpm
New Member
 
Join Date: May 2002
Posts: 30
Default

I have a worksheet that I have to manually insert and calculate data when there is no need to. My worksheet is a change of design
cost breakdown. it separates credits so the customer can easley view and separate them. This is easer to do than it is
to explain am sure. However; here it goes







Column A line items

Column B line item description

Column C material value

Column D labor value

Coolum E labor hrs

Columns F, G, H & I Codes

What I need to do is, if F, G, H, or I contain lets say code #s 1 or 2 (credit items) then the data C and D is Calculated otherwise data is ignored
Use rows 6 thru 15 for any examples data will be calculated in c 16 and d 16

Been trying some look up and indexing type stuff but still struggling


Thx

R W
#s
mechpm is offline   Reply With Quote
Old May 26th, 2002, 02:11 PM   #2
Aladin Akyurek
MrExcel MVP
 
Aladin Akyurek's Avatar
 
Join Date: Feb 2002
Location: The Hague
Posts: 50,317
Default


Why not post some data?

If you inclined to do so, select an unused cell, type =, select 15 rows of your data including labels, hit F9, Edit|Copy what you see, and post the copied bit in the follow up.

Aladin Akyurek is offline   Reply With Quote
Old May 26th, 2002, 03:06 PM   #3
mechpm
New Member
 
Join Date: May 2002
Posts: 30
Default

Quote:
On 2002-05-26 13:11, Aladin Akyurek wrote:

Why not post some data?

If you inclined to do so, select an unused cell, type =, select 15 rows of your data including labels, hit F9, Edit|Copy what you see, and post the copied bit in the follow up.

yes, i am so inclined. however; I'm having a problem. when i hit F9 i get an error msg(formula to long). Also, could you clarify post to follow up? This is a new procedure for me

THx R W

mechpm is offline   Reply With Quote
Old May 26th, 2002, 03:12 PM   #4
Aladin Akyurek
MrExcel MVP
 
Aladin Akyurek's Avatar
 
Join Date: Feb 2002
Location: The Hague
Posts: 50,317
Default

Quote:
On 2002-05-26 14:06, mechpm wrote:
Quote:
On 2002-05-26 13:11, Aladin Akyurek wrote:

Why not post some data?

If you inclined to do so, select an unused cell, type =, select 15 rows of your data including labels, hit F9, Edit|Copy what you see, and post the copied bit in the follow up.

yes, i am so inclined. however; I'm having a problem. when i hit F9 i get an error msg(formula to long). Also, could you clarify post to follow up? This is a new procedure for me

THx R W

Your reply quoted above is a follow up. Try first 10 rows. If you think 10 rows would be sufficient, then just post that bit. Otherwise, repeat the proc for 5 more rows.

Aladin
Aladin Akyurek is offline   Reply With Quote
Old May 26th, 2002, 03:41 PM   #5
mechpm
New Member
 
Join Date: May 2002
Posts: 30
Default

Quote:
On 2002-05-26 14:12, Aladin Akyurek wrote:
Quote:
On 2002-05-26 14:06, mechpm wrote:
Quote:
On 2002-05-26 13:11, Aladin Akyurek wrote:

Why not post some data?

If you inclined to do so, select an unused cell, type =, select 15 rows of your data including labels, hit F9, Edit|Copy what you see, and post the copied bit in the follow up.

yes, i am so inclined. however; I'm having a problem. when i hit F9 i get an error msg(formula to long). Also, could you clarify post to follow up? This is a new procedure for me

THx R W

Your reply quoted above is a follow up. Try first 10 rows. If you think 10 rows would be sufficient, then just post that bit. Otherwise, repeat the proc for 5 more rows.

Aladin
{0,"LINE ITEM DESCRITION ","MAT ","LABOR ","HRS ","CODES",0,0,0;1,"116 LBS S S DUCTWORK ",466,208.35,4.5,1,2,0,0;2,"8 SIDE WALL S S GRILLS ",0,92.6,2,1,2,0,0;3,0,0,0,0,0,0,0,0;4,0,0,0,0,0,0,0,0;5,0,0,0,0,0,0,0,0;6,0,0,0,0,0,0,0,0;7,0,0,0,0,0,0,0,0;8,0,0,0,0,0, 0,0,0;9,0,0,0,0,0,0,0,0;10,0,0,0,0,0,0,0,0;0,0,0,0,0,0,0,0,0;0,0,0,0,0,0,0,0,0;0,"TOTALS ",466,300.95,0,0,0,0,0;0,0,0,0,0,0,0,0,0;0,"TOTAL CREDIT ITEMS L;ABOR ",0,0,0,0,0,0,0}

WILL THIS HELP
mechpm is offline   Reply With Quote
Old May 26th, 2002, 04:01 PM   #6
Aladin Akyurek
MrExcel MVP
 
Aladin Akyurek's Avatar
 
Join Date: Feb 2002
Location: The Hague
Posts: 50,317
Default


OK, I go the sample data.

You appear to have totals in C14 and D14 already calculated and want to have another set of calculations in C16 and D16, dependent on codes that are in columns F to I from F2 on. Right? Do these calculations include the totals in C14 and D14? And, what is the relationship between these calculations and codes in F to I?

Aladin Akyurek is offline   Reply With Quote
Old May 26th, 2002, 04:44 PM   #7
mechpm
New Member
 
Join Date: May 2002
Posts: 30
Default

Quote:
On 2002-05-26 15:01, Aladin Akyurek wrote:

OK, I go the sample data.

You appear to have totals in C14 and D14 already calculated and want to have another set of calculations in C16 and D16, dependent on codes that are in columns F to I from F2 on. Right? Do these calculations include the totals in C14 and D14? And, what is the relationship between these calculations and codes in F to I?


Yes C14 & D14 are Totals

Yes C16 & C16 would have another calculation

No sir we need to extract the values for C16 & D16 per the code in F to I

the code in F to I are more or less notes to the customer.

E G

# 1 would mean credit for Column. C
# 2 would mean credit for Column. D
# 3 would be an exsiting item no credit

ect.

we are looking to seperate the credited line items from the non credited line items.


I hope i have not confused you any futher as i often do concerning this exciting, yet perplexing subject.

thx rw



[ This Message was edited by: mechpm on 2002-05-26 15:46 ]
mechpm is offline   Reply With Quote
Old May 26th, 2002, 11:14 PM   #8
Aladin Akyurek
MrExcel MVP
 
Aladin Akyurek's Avatar
 
Join Date: Feb 2002
Location: The Hague
Posts: 50,317
Default

Quote:
On 2002-05-26 15:44, mechpm wrote:
Quote:
On 2002-05-26 15:01, Aladin Akyurek wrote:

OK, I go the sample data.

You appear to have totals in C14 and D14 already calculated and want to have another set of calculations in C16 and D16, dependent on codes that are in columns F to I from F2 on. Right? Do these calculations include the totals in C14 and D14? And, what is the relationship between these calculations and codes in F to I?


Yes C14 & D14 are Totals

Yes C16 & C16 would have another calculation

No sir we need to extract the values for C16 & D16 per the code in F to I

the code in F to I are more or less notes to the customer.

E G

# 1 would mean credit for Column. C
# 2 would mean credit for Column. D
# 3 would be an exsiting item no credit

ect.

we are looking to seperate the credited line items from the non credited line items.


I hope i have not confused you any futher as i often do concerning this exciting, yet perplexing subject.

thx rw



[ This Message was edited by: mechpm on 2002-05-26 15:46 ]
It seems we can get away with using a couple of SUMIFs.

In C16 enter:

=SUMIF(F2:F13,1,C2:C13)

In D16 enter:

=SUMIF(G2:G15,2,D2:D13)

PS. Could you edit your post containing the sample by giving an enter after each semicolon (";")? The whole thread would become more readable.

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 04:07 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