Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 57
Default Counting Dates - Not Text

Ok, then that means your dates are actually TEXT strings.

This expression is testing the range for true Excel dates which are really
NUMBERS formatted to look like dates.

ISNUMBER(DATE!J2:J1116)

So, if your dates are TEXT strings then that expression will return an array
of 0s causing the final result to be 0.

I see Toppers got it straightened out.

--
Biff
Miscrosoft Excel MVP


"Danny" wrote:

Hi Biff,

I'm sorry but it dit not work. I come up with a zero (0).

"Biff" wrote:

Try it like this:

=SUMPRODUCT(--(ISNUMBER(DATE!J2:J1116)),--(TEXT(DATE!J2:J1116,"m")="1"))

--
Biff
Miscrosoft Excel MVP


"Danny" wrote:

Hi,

I'm trying to count the number of "date" occurrences on a particular month.
However in the same column, aside from dates, there are TEXT entries and
blank cells.

When I use the formula below it gives me a #VALUE!

Please edit the formula below so I can count the number of date occurences.

=SUMPRODUCT(--(MONTH('Date'!J2:J1116)=1))

Thank you.

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 occasions dates occur between 2 dates hoyt New Users to Excel 5 June 16th 06 08:11 AM
Counting dates, within a list of dates jrheinschm Excel Worksheet Functions 7 April 19th 06 06:13 PM
counting dates dayzee Excel Worksheet Functions 1 February 15th 06 10:20 AM
Counting Dates #2 Cody Excel Discussion (Misc queries) 3 November 27th 05 04:15 PM
Counting Dates Jerry Excel Worksheet Functions 1 March 8th 05 02:01 PM


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