Home |
Search |
Today's Posts |
#1
|
|||
|
|||
Help! Formulas
Can I do a count function by date?
For instance, I have a spreadsheet that includes all employees in my company, and their hire date. I would like to somehow be able to count all employees hired this year, and do so by using this column of "hire date" which is in the format of 02/01/2005. Thanks |
#2
|
|||
|
|||
if your hire date is in column A, this would work:
=COUNTIF(A:A,"1/1/05") "jbressma" wrote: Can I do a count function by date? For instance, I have a spreadsheet that includes all employees in my company, and their hire date. I would like to somehow be able to count all employees hired this year, and do so by using this column of "hire date" which is in the format of 02/01/2005. Thanks |
#3
|
|||
|
|||
one way:
=SUMPRODUCT(--(YEAR(A1:A1000)=2005)) alternatively: =COUNTIF(A:A,"=1/1/2005") or, if you use this after this year, =COUNTIF(A:A,"=1/1/2005") - COUNTIF(A:A,"=12/31/2005") In article , "jbressma" wrote: Can I do a count function by date? For instance, I have a spreadsheet that includes all employees in my company, and their hire date. I would like to somehow be able to count all employees hired this year, and do so by using this column of "hire date" which is in the format of 02/01/2005. Thanks |
#4
|
|||
|
|||
Should have been
=COUNTIF(A:A,"=1/1/2005") - COUNTIF(A:A,"12/31/2005") In article , JE McGimpsey wrote: =COUNTIF(A:A,"=1/1/2005") - COUNTIF(A:A,"=12/31/2005") |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Need Formulas for counting multiple conditions | Excel Worksheet Functions | |||
Help, Urgent Excel Formulas are not calculating | Excel Discussion (Misc queries) | |||
Problem with named formula's | Excel Worksheet Functions | |||
Way to make Excel only run certain formulas on a worksheet? | Excel Discussion (Misc queries) | |||
calculating formulas for all workbooks in a folder | Excel Worksheet Functions |