Array

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have values from a2:a500 which contains various dates(not sorted) and
amount in b2:b500.

I would like to sum, where month(a2:a500) represents my values in
c2:c13(Jan,Feb ... Dec)

Please advice ...

TIV.
 
in D2:

=SUMPRODUCT(--(MONTH($A$2:$A$500)=MONTH(C2)),$B$2:$B$500)

where C2=01/01/2007 i.e. 1st January (for any year) formatted as "mmm"
C3=01/02/2007 i.e. 1st February (for any year)


Copy down to C13
 

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