Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
dond
 
Posts: n/a
Default countif function hassle


Im working on two sheets
On sheet 1, I wish cell e37 to enter the number of times a date is
placed in the column h34:h44. (These dates will be randomly entered
manually later)

The dates will fall on or between the current day "today()" and a date
enntered in sheet 2, cell N2

Every syntax I try falls over and I keep getting zero values in E37.
Its got to be easy but it escapes me. Any help out there?


--
dond
------------------------------------------------------------------------
dond's Profile: http://www.excelforum.com/member.php...o&userid=25477
View this thread: http://www.excelforum.com/showthread...hreadid=393816

  #2   Report Post  
Bob Phillips
 
Posts: n/a
Default

Dond,

Try this

=COUNTIF(H34:H44,"<="&Sheet2!N2)-COUNTIF(H34:H44,"<"&TODAY())

--
HTH

Bob Phillips

"dond" wrote in message
...

Im working on two sheets
On sheet 1, I wish cell e37 to enter the number of times a date is
placed in the column h34:h44. (These dates will be randomly entered
manually later)

The dates will fall on or between the current day "today()" and a date
enntered in sheet 2, cell N2

Every syntax I try falls over and I keep getting zero values in E37.
Its got to be easy but it escapes me. Any help out there?


--
dond
------------------------------------------------------------------------
dond's Profile:

http://www.excelforum.com/member.php...o&userid=25477
View this thread: http://www.excelforum.com/showthread...hreadid=393816



  #3   Report Post  
Eric
 
Posts: n/a
Default

dond,

Sounds like your problem might be that you're counting an exact day when
your date list might have decimal places which aren't showing. That is,
you're trying to count "August 1, 2005" when your list includes "August 1,
2005 10:03AM", so they aren't counted.

Eric


"dond" wrote:


Im working on two sheets
On sheet 1, I wish cell e37 to enter the number of times a date is
placed in the column h34:h44. (These dates will be randomly entered
manually later)

The dates will fall on or between the current day "today()" and a date
enntered in sheet 2, cell N2

Every syntax I try falls over and I keep getting zero values in E37.
Its got to be easy but it escapes me. Any help out there?


--
dond
------------------------------------------------------------------------
dond's Profile: http://www.excelforum.com/member.php...o&userid=25477
View this thread: http://www.excelforum.com/showthread...hreadid=393816


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 option to store trendline's coefficients in cells for use Miguel Saldana Charts and Charting in Excel 9 June 20th 05 08:45 PM
Automatically up date time in a cell Mark Excel Discussion (Misc queries) 5 May 12th 05 12:26 AM
Countif Function -Nested Angi Excel Discussion (Misc queries) 7 May 4th 05 07:04 PM
clock Wildman Excel Worksheet Functions 2 April 26th 05 10:31 AM
How do I use COUNTIF in a SUBTOTAL function to differentiate the . Lettie Excel Worksheet Functions 6 March 22nd 05 08:47 AM


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