#1   Report Post  
holy dog
 
Posts: n/a
Default Ecell 2000 SP3

I have a user that is using the following function:
=SUMPRODUCT(--(MONTH(Index!J3:J9997)=1),--(YEAR(Index!J3:J9997)=1998))

The cells in question in the index sheet are formated for date ex.
8/29/2005. Is this the correct function for this, if yes what is wrong, if
no what function should i have my user use? Thanks much
  #2   Report Post  
Dave Peterson
 
Posts: n/a
Default

It seems like a very nice formula if your user is counting the number of dates
in January of 1998.

Another formula that's just as nice:
=sumproduct(--(text(index!j3:j9997,"yyyymm")="199801")


holy dog wrote:

I have a user that is using the following function:
=SUMPRODUCT(--(MONTH(Index!J3:J9997)=1),--(YEAR(Index!J3:J9997)=1998))

The cells in question in the index sheet are formated for date ex.
8/29/2005. Is this the correct function for this, if yes what is wrong, if
no what function should i have my user use? Thanks much


--

Dave Peterson
  #3   Report Post  
holy dog
 
Posts: n/a
Default

Yes she is, but she gets #VALUE! for the result. Thanks much for your
assistance.

"Dave Peterson" wrote:

It seems like a very nice formula if your user is counting the number of dates
in January of 1998.

Another formula that's just as nice:
=sumproduct(--(text(index!j3:j9997,"yyyymm")="199801")


holy dog wrote:

I have a user that is using the following function:
=SUMPRODUCT(--(MONTH(Index!J3:J9997)=1),--(YEAR(Index!J3:J9997)=1998))

The cells in question in the index sheet are formated for date ex.
8/29/2005. Is this the correct function for this, if yes what is wrong, if
no what function should i have my user use? Thanks much


--

Dave Peterson

  #4   Report Post  
holy dog
 
Posts: n/a
Default

Your formula is working nice. Thanks much. I learned something today.

"Dave Peterson" wrote:

It seems like a very nice formula if your user is counting the number of dates
in January of 1998.

Another formula that's just as nice:
=sumproduct(--(text(index!j3:j9997,"yyyymm")="199801")


holy dog wrote:

I have a user that is using the following function:
=SUMPRODUCT(--(MONTH(Index!J3:J9997)=1),--(YEAR(Index!J3:J9997)=1998))

The cells in question in the index sheet are formated for date ex.
8/29/2005. Is this the correct function for this, if yes what is wrong, if
no what function should i have my user use? Thanks much


--

Dave Peterson

  #5   Report Post  
holy dog
 
Posts: n/a
Default

That fourmula worked and I was able to modify it for the diferent months and
years, plus it was esier to understand. Would you be able to help me with
this formula and also let me know what the nestes =isnumber means Thanks much:

=SUMPRODUCT(--(Index!$L$3:$L$9997="home"),--(ISNUMBER(Index!$J$3:$J$9997)),--(MONTH(Index!$J$3:$J$9997)=1),--(YEAR(Index!$J$3:$J$9997)=2005))

"Dave Peterson" wrote:

It seems like a very nice formula if your user is counting the number of dates
in January of 1998.

Another formula that's just as nice:
=sumproduct(--(text(index!j3:j9997,"yyyymm")="199801")


holy dog wrote:

I have a user that is using the following function:
=SUMPRODUCT(--(MONTH(Index!J3:J9997)=1),--(YEAR(Index!J3:J9997)=1998))

The cells in question in the index sheet are formated for date ex.
8/29/2005. Is this the correct function for this, if yes what is wrong, if
no what function should i have my user use? Thanks much


--

Dave Peterson

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 2003 FAILS, but Excel 2000 SUCCEEDS ??? Richard Excel Discussion (Misc queries) 2 May 13th 23 11:46 AM
office 2000 sue Excel Discussion (Misc queries) 1 August 12th 05 02:31 PM
Hyperlink in Excel 2000 can't open bookmarked Word 2000 file DCheslock Excel Discussion (Misc queries) 1 May 5th 05 10:46 PM
moving administrative installation of MS Office 2000 Christian Phoenix Excel Discussion (Misc queries) 0 March 8th 05 08:33 PM
Excel 2002 and 2000 co-install. Control Which Starts ? cnuk Excel Discussion (Misc queries) 2 January 17th 05 08:07 PM


All times are GMT +1. The time now is 06:43 AM.

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"