Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
ilmeaz
 
Posts: n/a
Default formula for countif between 2 dates

I want to do a headcount by month. I list startdates in "C" and
terminationdates in "D".

Thanks~
  #2   Report Post  
HITESH
 
Posts: n/a
Default

hi,

Use the MONTH function whic will return the month of the start date and end
date and then by countif function you can go ahead.

A lot of ways where you can find out however after this month function i
guess u will be albe to figure out

hitesh

"ilmeaz" wrote:

I want to do a headcount by month. I list startdates in "C" and
terminationdates in "D".

Thanks~

  #3   Report Post  
ilmeaz
 
Posts: n/a
Default

Thanks for your response. I guess I need to clarify that this covers a
number of years also. I can use YEAR and MONTH to make two new columns and
do a nested countif but I was hoping for something that would explain how to
get dates recognized within a countif formula.

My first stab, which didn't work because the dates weren't recognized may
give you an idea of where I am headed. It was:
=countif((c2:c897<=1/1/1995 <2/1/1995)-(d2:d897<=1/1/1995 <2/1/1995)
I'll keep playing with your suggestion and see what I get.

Thanks!!

"HITESH" wrote:

hi,

Use the MONTH function whic will return the month of the start date and end
date and then by countif function you can go ahead.

A lot of ways where you can find out however after this month function i
guess u will be albe to figure out

hitesh

"ilmeaz" wrote:

I want to do a headcount by month. I list startdates in "C" and
terminationdates in "D".

Thanks~

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
Formula for Continuous Services Dates pvbridges Excel Worksheet Functions 1 June 19th 05 01:51 AM
formula to find and flag dates older than 30 days Will G. Excel Worksheet Functions 1 June 18th 05 12:13 AM
Formula including dates R L Sandel Excel Worksheet Functions 2 May 25th 05 12:30 PM
Formula to count number of dates in an array Lilasviolet Excel Worksheet Functions 2 April 7th 05 07:44 PM
How do I format dates accessed by a formula Mont22 Excel Discussion (Misc queries) 2 January 12th 05 04:09 PM


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