#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Count formula

I have created a budget spreadsheet and a exspense register. I have assigned
each exspense an account number. How can I get the sum of all exspenses
assigned to a certain account number
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default Count formula

Try

=SUMPRODUCT((A1:A25=account number)*(B1:B25))

You account number can be put in the formula or better be a cell reference

=SUMPRODUCT((A1:A25=C1)*(B1:B25))

Mike


"Mohill" wrote:

I have created a budget spreadsheet and a exspense register. I have assigned
each exspense an account number. How can I get the sum of all exspenses
assigned to a certain account number

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 73
Default Count formula

Assume:

A1:A100 = account numbers
b1:B100 = expenses

Use a cell to hold the criteria account number:

D1 = some account number

Then:

=SUMIF(A1:A100,D1,B1:B100)


--
Biff
Microsoft Excel MVP


"Mohill" wrote:

I have created a budget spreadsheet and a exspense register. I have assigned
each exspense an account number. How can I get the sum of all exspenses
assigned to a certain account number

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 206
Default Count formula

On Feb 26, 1:03*pm, Mohill wrote:
I have created a budget spreadsheet and a exspense register. I have assigned
each exspense an account number. *How can I get the sum of all exspenses
assigned to a certain account number


Try the SumIf formula
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
Count Formula - Count Ticks LittleAnn Excel Discussion (Misc queries) 3 May 8th 23 07:44 PM
Count formula Deepak New Users to Excel 2 February 26th 09 03:35 AM
Count Formula Brad Excel Worksheet Functions 1 August 9th 07 04:48 PM
Trying to construct a count count formula Chris K Excel Discussion (Misc queries) 6 May 26th 07 07:20 PM
need help with count formula.. Dan B Excel Worksheet Functions 1 February 8th 06 05:31 PM


All times are GMT +1. The time now is 10:49 PM.

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"