Calculate Amounts for Specific Dates

  • Thread starter Thread starter bw
  • Start date Start date
B

bw

Column A has Dates.
Column B has corresponding Amounts

I want to calculate the average amount for a specific given month.

If my data has two months in September, and the Amounts for these dates are
1.23 and 5.26 respectively, then my average for September would be
(1.23+5.26)/2.

So I need to calculate how many dates have September as the month, and the
rows they are in to get the Amounts.

Suggestions please?

Thanks,
Bernie
 
=AVERAGE(IF(MONTH(A1:A200)=9,B1:B200)

which is an array formula, so commit with Ctrl-Shift-Enter

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)
 
Excellent!
Thank you sir.

Bernie


Bob Phillips said:
=AVERAGE(IF(MONTH(A1:A200)=9,B1:B200)

which is an array formula, so commit with Ctrl-Shift-Enter

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)
 

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

Back
Top