#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default counting dates

Thanks for feeding back, Tim.

I think you'll find this link explains things in a bit more detail:

http://www.xldynamic.com/source/xld.SUMPRODUCT.html

Pete

Tim Rowlan wrote:
Pete and Toppers,

Thanks for the information, I took what Toppers wrote and just broke it down
till I found out what I was doing wrong. Pete, yes I did do that, it was a
data error on my part. Thanks for the quick lesson.

Tim

"Pete_UK" wrote:

Did you also put the sheet name (plus !) before the range A2:A100?

The -- effectively turns an array of Trues and Falses to an array of
1's and 0's, so they can be counted.

Hope this helps.

Pete

Tim Rowlan wrote:
Ok, I copied the formula over and it still returns a value of 0. I have the
data in a seperate sheet, so right before the C2, I added the sheet name and
!. I am not sure what I am doing wrong. Does this formula have to be run on
the sheet where the data is? Also, for my own learning, what are the two --
for?
Thanks,

"Toppers" wrote:

=SUMPRODUCT(--(Year(C2:C100)=2006),--(A2:A100="RFP"))

"Tim Rowlan" wrote:

I have a spreadsheet with many many dates that I need to graph/chart. I want
to chart the number of RFPs I received in each year. How do I count on
column C which is a date column to see the number for any given year?
Thanks,
Tim




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
Counting Dates PH NEWS Excel Worksheet Functions 2 February 21st 06 04:07 PM
counting dates in a column that less than 6 months from today Kaye Excel Discussion (Misc queries) 2 February 11th 06 07:10 PM
Counting dates for a the present month but not future months BrianInCalifornia Excel Worksheet Functions 3 December 7th 05 02:00 AM
Counting the number of dates? aaronwexler New Users to Excel 5 September 1st 05 11:26 PM
counting entries between two dates? Todd Excel Worksheet Functions 7 November 1st 04 11:07 PM


All times are GMT +1. The time now is 05:47 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"