How to IF dates?

A

Anna

=IF(Enter!C2:C1690=March,SUMIF(Enter!$B$2:$B$1690,$A9,Enter!$D$2:$D$1690),0)
Enter! - is my sheet with data
C column contains dates
B column contains account info
D column contains $

I am trying to say that if Any date in C column is in March, perform the
following calculation. Any suggestions?

Thanks!
 
J

Jason Morin

Try:

=IF(SUMPRODUCT(--(MONTH(C2:C1690)=3)),<your_SUMIF_here>,0)

HTH
Jason
Atlanta, GA
 
B

Bob Phillips

=IF(SUMPRODUCT(--(TEXT(Enter!C2:C1690,"mmmm")=March))>0,SUMIF(Enter!$B$2:$B$
1690,$A9,Enter!$D$2:$D$1690),0)


--

HTH

RP
(remove nothere from the 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

Top