Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default Count and Sum if Date

Try this amendment to Peo's formula:

=SUMPRODUCT((MONTH(C1:Z1)=11)*(YEAR(C1:Z1)=2007)*( C2:Z2))

As he was starting in column A, you have some non-numerics in the
range. I've also made it Z2 at the end, as you had asked to add values
from row 2 only.

Hope this helps.

Pete

On Nov 27, 7:11 pm, Tina Winter
wrote:
I have tried both suggestions and still get #VALUE as a result. Any
suggestions on what I am doing wrong?



"Peo Sjoblom" wrote:
One way


=SUMPRODUCT((MONTH(A1:Z1)=11)*(YEAR(A1:Z1)=2007)*( A2:Z3))


--


Regards,


Peo Sjoblom


"Tina Winter" wrote in message
...
I realize this question has been answered before for other scenerios, but I
can't seem to get it to work for mine...Please Help!


Here is my table


A B C D E F
1 11/25/07 11/28/07 12/2/07 12/15/07
2 # 4.00 6.00 2.00 9.00
3 $ 200 300 100 450


I need a formula that sums all row 2 cells that have a November 2007 date
in
row 1.


Thank you, thank you, thank you to anyone who can help me.


Tina- Hide quoted text -


- Show quoted text -


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
How can I count a record if it contains a date within a date range hile trotman Excel Worksheet Functions 0 September 20th 06 08:58 PM
count the mean in few date but on de date it has various data LinSeang Excel Worksheet Functions 1 June 30th 06 02:12 PM
count between start date and end date flow23 Excel Discussion (Misc queries) 5 May 10th 06 01:22 PM
Count number of cells with date <today's date Cachod1 New Users to Excel 2 January 28th 06 02:37 AM
count the number of cells with a date <= today's date Cachod1 New Users to Excel 3 January 27th 06 09:14 PM


All times are GMT +1. The time now is 05:07 PM.

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

About Us

"It's about Microsoft Excel"