have you looked into pivot tables or the sumif command?
Pivot tables would be nice if you wanted to look at all of the categories in col F at once, sumif would work better for targeting specific categories in col F
to use the sumif formula, try entering the following in F1
=SUMIF(F10:F200,"credit",A10:A200)
also, you could change the part that says "credit" to another cell address, like E1, and then type the criteria you want to sum there. For instance type "credit" in E1 and get the sum of credits, type "cash" to get the sum of cash.
HTH
=SUMIF(F10:F200,"=credit",A10:A200)
Regards,
BarrieBarrie Davidson
Thanks Barrie & Eric, Slight Variation: can you help?
SUMIF works great. I realized in the process of implementing it that the "types" aren't mutually exclusive and I will also need a formula which totals amounts which fall into more than one type. For instance, the $50,000 in A10 might be identified as a "credit" sale in column F but also be identified as a "taxable" sale in column G. Could you offer a formula which would sum the amounts which satisfy both the "credit" and "taxable" criteria (ie, would exclude amounts which are not both).
Sorry I didn't think of the need for this earlier.
Pedro
Re: Thanks Barrie & Eric, Slight Variation: can you help?
If you want to sum if F ="credit" and G="taxable" use this:
=SUMPRODUCT((F10:F200="credit")*(G10:G200="taxable")*A10:A200)
Juan Pablo
------------------
Excellent! Thank you, Juan Pablo (NT)