#1   Report Post  
Anna
 
Posts: n/a
Default How to IF dates?

=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!

  #2   Report Post  
Jason Morin
 
Posts: n/a
Default

Try:

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

HTH
Jason
Atlanta, GA

-----Original Message-----
=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!

.

  #3   Report Post  
Bob Phillips
 
Posts: n/a
Default

=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)


"Anna" wrote in message
...

=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!



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel not recognizing Dates properly. Dan Excel Discussion (Misc queries) 1 March 23rd 05 07:19 PM
How sort dates just by day/month and NOT year if all 3 given in ce smags Excel Worksheet Functions 1 January 25th 05 03:45 AM
Formating Dates for production schedule dpl7579 Excel Discussion (Misc queries) 1 January 11th 05 08:43 PM
due dates Niki New Users to Excel 4 January 10th 05 04:11 PM
I get wrong dates when i paste from a different sheet into a new s mmollat Excel Discussion (Misc queries) 2 January 6th 05 07:35 PM


All times are GMT +1. The time now is 11:26 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"