formulas

L

looopy

on my spreadsheet i have 3 columns; name, date, amount.
the names given are of only two people, and the sheet is in date order.

NAME DATE AMOUNT
smith 18.01.09 20
jones 19.01.09 4
smith 21.01.09 2
smith 29.01.09 3

i want to work out the overall amount for both names. how can i do this?
 
P

Pecoflyer

looopy;238966 said:
on my spreadsheet i have 3 columns; name, date, amount.
the names given are of only two people, and the sheet is in dat
order.

NAME DATE AMOUNT
smith 18.01.09 20
jones 19.01.09 4
smith 21.01.09 2
smith 29.01.09 3

i want to work out the overall amount for both names. how can i d
this?

Try the SUMIF function or a Pivot Tabl

--
Pecoflye

Cheers -
*'Membership is free' (http://www.thecodecage.com)* & allows fil
upload ->faster and better answers

*Adding your XL version* to your post helps finding solution faste
 
M

Max

Something like this, in say E2:
=SUMPRODUCT((A2:A10="smith")*(TEXT(B2:B10,"mmmyy")="Jan09"),C2:C10)
will return the total amount in col C for "smith" in Jan 2009. The dates in
col B need not be sorted, but must be real dates. Adapt the ranges to suit.
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:23,500 Files:370 Subscribers:66
xdemechanik
 

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