Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Penny Pincher
 
Posts: n/a
Default How to add only certain rows in a spreadsheet

I want to create a budget spreadsheet to keep track of how much we are
spending in various categories. I'll enter all of our expenses for the
month. Then I want to be able to add up those catergoies individually.
Example. Assume my spreadsheet has two columns as follows:

A B
1 Home $100
2 Gas $32
3 Food $18
4 Home $29
5 Home $44
6 Gas $31
7 Food $13

What formula do I need to total all Home expenses, food expenses, etc?
  #2   Report Post  
CLR
 
Posts: n/a
Default

=SUMIF(A:A,"home",B:B)

Beware, "home" etc must always be spelled the same...........


Vaya con Dios,
Chuck, CABGx3


"Penny Pincher" <Penny Pincher @discussions.microsoft.com wrote in message
...
I want to create a budget spreadsheet to keep track of how much we are
spending in various categories. I'll enter all of our expenses for the
month. Then I want to be able to add up those catergoies individually.
Example. Assume my spreadsheet has two columns as follows:

A B
1 Home $100
2 Gas $32
3 Food $18
4 Home $29
5 Home $44
6 Gas $31
7 Food $13

What formula do I need to total all Home expenses, food expenses, etc?



  #3   Report Post  
RagDyer
 
Posts: n/a
Default

Say you enter the category of interest into C1, then try this:

=SUMIF(A1:A25,C1,B1:B25)
--
HTH,

RD
==============================================
Please keep all correspondence within the Group, so all may benefit!
==============================================




"Penny Pincher" <Penny Pincher @discussions.microsoft.com wrote in message
...
I want to create a budget spreadsheet to keep track of how much we are
spending in various categories. I'll enter all of our expenses for the
month. Then I want to be able to add up those catergoies individually.
Example. Assume my spreadsheet has two columns as follows:

A B
1 Home $100
2 Gas $32
3 Food $18
4 Home $29
5 Home $44
6 Gas $31
7 Food $13

What formula do I need to total all Home expenses, food expenses, etc?


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding five new rows every 40 rows in a spreadsheet? Olzki Excel Discussion (Misc queries) 8 May 18th 07 02:14 AM
how do I unhide Excel 2003 spreadsheet rows with usual method. Sandy Excel Discussion (Misc queries) 2 July 13th 05 09:30 PM
How do I identify dulicate rows in a spreadsheet? Spyder Excel Discussion (Misc queries) 1 April 27th 05 11:53 PM
Row selections by row # OR by even/odd rows in another spreadsheet Tom Excel Discussion (Misc queries) 0 February 9th 05 04:03 PM
Data Filter - Not all rows in spreadsheet will display in Autofilt Excel Help Excel Worksheet Functions 1 November 17th 04 05:40 PM


All times are GMT +1. The time now is 02:50 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"