I am trying to count the number of days worked in a list the has different activities listed at different times in the day. Because of the different times in a single day I am having trouble getting a count of the days only.
I used a formula from another posting ......
=SUM(IF(LEN(B29:B100),1/COUNTIF(B29:B100,B29:B100)))
but it treats each date and time as a unique entity. I need to just count the days but am stuck with data that also has times attached. Is there any way around this?
example
4/12/04 12:00 AM
4/12/04 12:00 AM
4/13/04 12:00 AM
4/13/04 5:57 PM
4/13/04 8:37 PM
4/14/04 12:00 AM
4/14/04 6:26 PM
4/14/04 6:28 PM
4/14/04 6:28 PM
4/15/04 12:00 AM
4/15/04 7:29 PM
4/15/04 7:29 PM
4/16/04 12:00 AM
4/16/04 8:37 PM
4/17/04 12:00 AM
4/17/04 3:52 PM
I used a formula from another posting ......
=SUM(IF(LEN(B29:B100),1/COUNTIF(B29:B100,B29:B100)))
but it treats each date and time as a unique entity. I need to just count the days but am stuck with data that also has times attached. Is there any way around this?
example
4/12/04 12:00 AM
4/12/04 12:00 AM
4/13/04 12:00 AM
4/13/04 5:57 PM
4/13/04 8:37 PM
4/14/04 12:00 AM
4/14/04 6:26 PM
4/14/04 6:28 PM
4/14/04 6:28 PM
4/15/04 12:00 AM
4/15/04 7:29 PM
4/15/04 7:29 PM
4/16/04 12:00 AM
4/16/04 8:37 PM
4/17/04 12:00 AM
4/17/04 3:52 PM