Count formula

M

Mohill

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
 
M

Mike H

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
 
T

T. Valko

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)
 
C

CurlyDave

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top