jshwhitlow
New Member
- Joined
- May 4, 2016
- Messages
- 1
I am using Microsoft Excel 2011 for Mac.
I have a phone log that I want to report some data off of. All of the solutions out there that I have looked up seem to assume I only have a time value and that they don't include an actual date.
I have a bunch of dates like this:
I want to know how many phone calls we have received between 5PM and 6PM.
So far I have tried the following and none of them worked:
<code style="margin: 0px; padding: 0px; border: 0px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, sans-serif; white-space: inherit;">=COUNTIFS(C2:C1288,">="&B1,C2:C1288,"<="&B2)
=COUNTIF(C2:C1288,">=17:00:00")-COUNTIF(C2:C1288,">18:00:00")
=SUMPRODUCT((C2:C1288>=TIME(17,0,0))*(C2:C1288 <=TIME(18,0,0)))
</code>Bonus points if you can also help me group phone numbers to tell me how many rows contain the same numbers. (5555555555 has 3 rows)(4444444444 has 2 rows)
I have a phone log that I want to report some data off of. All of the solutions out there that I have looked up seem to assume I only have a time value and that they don't include an actual date.
I have a bunch of dates like this:
- 2/1/16 3:39 AM
- 2/1/16 10:06 AM
- 2/1/16 10:27 AM
- 2/1/16 10:34 AM
- 2/1/16 10:38 AM
I want to know how many phone calls we have received between 5PM and 6PM.
So far I have tried the following and none of them worked:
<code style="margin: 0px; padding: 0px; border: 0px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, sans-serif; white-space: inherit;">=COUNTIFS(C2:C1288,">="&B1,C2:C1288,"<="&B2)
=COUNTIF(C2:C1288,">=17:00:00")-COUNTIF(C2:C1288,">18:00:00")
=SUMPRODUCT((C2:C1288>=TIME(17,0,0))*(C2:C1288 <=TIME(18,0,0)))
</code>Bonus points if you can also help me group phone numbers to tell me how many rows contain the same numbers. (5555555555 has 3 rows)(4444444444 has 2 rows)
- 5555555555
- 4444444444
- 3333333333
- 6666666666
- 5555555555
- 8888888888
- 5555555555
- 4444444444