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 Apr 18th, 2002, 08:07 AM   #1
moby
Board Regular
 
Join Date: Apr 2002
Posts: 65
Default

I am using the autofilter on a spreadsheet for a simple checkbook. when i filter out everything buy ATM transactions I want to know the sum of those transactions only. Then When I filter for deposits I want the sum for only the deposits. How do I do this?
moby is offline   Reply With Quote
Old Apr 18th, 2002, 08:28 AM   #2
nisht
Board Regular
 
Join Date: Feb 2002
Location: Ahmedabad Gujarat
Posts: 303
Default

You need to use subtotal function...

i do this lots of time for my office expense statements.

write down the formula in the last row..

=subtotal(9,"a1:a200")...

this will give you sum.

Subtotal has many options so i suggest you to take online help for this powerful function. you can find out nos of records,, average.. max value, min values,,etc

nishith desai
http://www.pexcel.con
nisht is offline   Reply With Quote
Old Apr 18th, 2002, 11:12 AM   #3
moby
Board Regular
 
Join Date: Apr 2002
Posts: 65
Default

nishith,
You said to use this...

=subtotal(9,"a1:a200")...

But excel will not let me put the quotes into the equation.

When I remove the quotes it still does not work.
moby is offline   Reply With Quote
Old Apr 18th, 2002, 11:16 AM   #4
Al Chara
MrExcel MVP
 
Join Date: Feb 2002
Location: Monterrey, Mexico
Posts: 1,433
Default

Correct syntax is without "". Should work otherwise.
__________________
Kind regards,

Al Chara
Al Chara is offline   Reply With Quote
Old Apr 18th, 2002, 11:22 AM   #5
kinkyparamour
Board Regular
 
Join Date: Feb 2002
Location: Florida
Posts: 82
Default



The formula is assuming you have your data in the range A1 to A200. If this is not correct change the range to fit your needs........


Denny
kinkyparamour is offline   Reply With Quote
Old Apr 18th, 2002, 12:00 PM   #6
moby
Board Regular
 
Join Date: Apr 2002
Posts: 65
Default

First, I tried it with out the quotes and it did not work.
Second, I know enough not to use the a1 to a200. I do have some eqperience with excel.
But for some reason I still cannot get it to work. Maybe I am not explaining my self correctly.
I have a spreadsheet with my checking account info on it. The first colume is the date, second it the tyoe of transaction (check, deposit, withdrawl and so on). The third column shown the payments (withdrawls), the fourthe shows deposits.
Lets say I want to sort by the type of transaction, I want the sum of that type of transaction.
moby is offline   Reply With Quote
Old Apr 18th, 2002, 12:03 PM   #7
Yogi Anand
MrExcel MVP
 
Join Date: Mar 2002
Location: Michigan USA
Posts: 11,452
Default

Quote:
On 2002-04-18 07:07, moby wrote:
I am using the autofilter on a spreadsheet for a simple checkbook. when i filter out everything buy ATM transactions I want to know the sum of those transactions only. Then When I filter for deposits I want the sum for only the deposits. How do I do this?
Hi moby:
After you have the filtered list, if you simply want to see what the total is, select the items, and look at the status bar where you can right click to see the various statistics related to the selection, such as Count, Sum, Average, ...

HTH!
__________________
Regards!

Yogi Anand, D.Eng, P.E.
Energy Efficient Building Network LLC
www.energyefficientbuild.com
Yogi Anand is offline   Reply With Quote
Old Apr 18th, 2002, 01:19 PM   #8
Al Chara
MrExcel MVP
 
Join Date: Feb 2002
Location: Monterrey, Mexico
Posts: 1,433
Default

What about using SUMIF:
=SUMIF(transaction range,type of transaction,range to sum)
__________________
Kind regards,

Al Chara
Al Chara is offline   Reply With Quote
Old Apr 18th, 2002, 01:52 PM   #9
Drew
Board Regular
 
Join Date: Feb 2002
Location: Boston, Mass
Posts: 169
Default

I find it useful to put a subtotal formula above labels so that your subtotals don't expand or contract when filtering a list.
ex. labels start on row 3, A3=date, B3=type, C3=pymts, D3=deposits
In c2 put =subtotal(9,c4:c200) and in d2 put =subtotal(9,d4:D200)
You can filter on any column now and get the appropriate total.
HTH
Drew


[ This Message was edited by: Drew on 2002-04-18 12:53 ]

[ This Message was edited by: Drew on 2002-04-18 12:55 ]
Drew is offline   Reply With Quote
Old Apr 19th, 2002, 09:45 AM   #10
moby
Board Regular
 
Join Date: Apr 2002
Posts: 65
Default

I figured out what I was doing wrong. Under the Calculations section of the Calculations Tab in the Options menu I had Manual selected. So it was never updating my calculations.
Thanks to everyone
moby 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: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