Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default COUNTIFS for 2003

My daughter is trying to count dates within a certain range, and I figured it
out quickly with COUNTIFS:

=COUNTIFS(Log!H:H,"2/8/08",Log!H:H,"<2/16/08")
result was 34

Then I found out she only has Office 2003 at her office. I've tried all
kinds of solutions and suggestions but haven't had success. I think it might
be because I'm using dates and most examples I've seen are using strings or
numbers.

I know SUMPRODUCT can't use whole rows, and tried this

=SUMPRODUCT(--(Log!H1:H4874"2/8/2008"),--(Log!H1:H4874<"2/16/2008")
result was 0 so it didn't work

Any suggestions?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,572
Default COUNTIFS for 2003

One way:

=COUNTIF(Log!H:H,"2/8/08")-COUNTIF(Log!H:H,"=2/16/08")

--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"Tromba" wrote in message
...
My daughter is trying to count dates within a certain range, and I figured

it
out quickly with COUNTIFS:

=COUNTIFS(Log!H:H,"2/8/08",Log!H:H,"<2/16/08")
result was 34

Then I found out she only has Office 2003 at her office. I've tried all
kinds of solutions and suggestions but haven't had success. I think it

might
be because I'm using dates and most examples I've seen are using strings

or
numbers.

I know SUMPRODUCT can't use whole rows, and tried this

=SUMPRODUCT(--(Log!H1:H4874"2/8/2008"),--(Log!H1:H4874<"2/16/2008")
result was 0 so it didn't work

Any suggestions?


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default COUNTIFS for 2003



"Ragdyer" wrote:

One way:

=COUNTIF(Log!H:H,"2/8/08")-COUNTIF(Log!H:H,"=2/16/08")


THANK YOU.... that did it. I know I tried two COUNTIFs before, but I must
have misplaced the quotes
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default COUNTIFS for 2003

Try one of these:

=COUNTIF(Log!H:H,"2008/2/8")-COUNTIF(Log!H:H,"=2008/2/16")

=SUMPRODUCT(--(Log!H1:H4874--"2008/2/8"),--(Log!H1:H4874<--"2008/2/16"))

Personally, I don't like to reference dates like that. I would use either
the DATE function or I'd use cells to hold the dates and then refer to those
cells:

=COUNTIF(Log!H:H,""&DATE(2008,2,8))-COUNTIF(Log!H:H,"="DATE(2008,2,16))

=SUMPRODUCT(--(Log!H1:H4874DATE(2008,2,8)),--(Log!H1:H4874<DATE(2008,2,16)))

A1 = 2/8/2008
B1 = 2/16/2008

=COUNTIF(Log!H:H,""&A1)-COUNTIF(Log!H:H,"="&B1)

=SUMPRODUCT(--(Log!H1:H4874A1),--(Log!H1:H4874<B1))


--
Biff
Microsoft Excel MVP


"Tromba" wrote in message
...
My daughter is trying to count dates within a certain range, and I figured
it
out quickly with COUNTIFS:

=COUNTIFS(Log!H:H,"2/8/08",Log!H:H,"<2/16/08")
result was 34

Then I found out she only has Office 2003 at her office. I've tried all
kinds of solutions and suggestions but haven't had success. I think it
might
be because I'm using dates and most examples I've seen are using strings
or
numbers.

I know SUMPRODUCT can't use whole rows, and tried this

=SUMPRODUCT(--(Log!H1:H4874"2/8/2008"),--(Log!H1:H4874<"2/16/2008")
result was 0 so it didn't work

Any suggestions?



  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,572
Default COUNTIFS for 2003

Appreciate the feed-back.
--
Regards,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"Tromba" wrote in message
...


"Ragdyer" wrote:

One way:

=COUNTIF(Log!H:H,"2/8/08")-COUNTIF(Log!H:H,"=2/16/08")


THANK YOU.... that did it. I know I tried two COUNTIFs before, but I must
have misplaced the quotes


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
Countifs equiv in 2003 Dan Excel Discussion (Misc queries) 6 August 26th 09 08:30 AM
Countifs Fx in 07 how in 03? HenderH Excel Discussion (Misc queries) 19 March 26th 08 12:37 PM
countifs Forza MIlan Excel Discussion (Misc queries) 2 July 4th 07 09:48 AM
2 COUNTIFS Joey041 Excel Discussion (Misc queries) 1 November 16th 06 08:11 AM
excel's new countifs...on 2003? AndyBrown Excel Discussion (Misc queries) 1 July 20th 06 04:20 PM


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