PC Review


Reply
Thread Tools Rate Thread

Count first instance of entry only.

 
 
J.W. Aldridge
Guest
Posts: n/a
 
      9th Feb 2008
List of Names in Column A
Dates in Column B.
Times (hours only) in column C.

How do I count the first instance for each name for the hour only?
(Some names are duplicated and I want a name count in my pivot table)
 
Reply With Quote
 
 
 
 
Max
Guest
Posts: n/a
 
      10th Feb 2008
Assuming real times in col C

In D2, copied down:
=IF(COUNTA(A2,C2)<2,"",IF(SUMPRODUCT((A$2:A2=A2)*(HOUR(C$2:C2)=HOUR(C2)))<2,1,""))

Just sum col D for the result
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"J.W. Aldridge" <(E-Mail Removed)> wrote in message
news:b5f0dfe6-a3de-4d2e-9777-(E-Mail Removed)...
> List of Names in Column A
> Dates in Column B.
> Times (hours only) in column C.
>
> How do I count the first instance for each name for the hour only?
> (Some names are duplicated and I want a name count in my pivot table)



 
Reply With Quote
 
J.W. Aldridge
Guest
Posts: n/a
 
      22nd Feb 2008
thanx!

 
Reply With Quote
 
Max
Guest
Posts: n/a
 
      23rd Feb 2008
welcome, nice of you to feedback here.
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"J.W. Aldridge" <(E-Mail Removed)> wrote in message
news:2963edbb-d3d1-4a05-b17e-(E-Mail Removed)...
> thanx!
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot open an instance of a recurring entry MikeR Microsoft Outlook Calendar 2 20th Nov 2008 09:00 AM
count instance Brad Microsoft Excel Worksheet Functions 3 29th Aug 2008 04:02 PM
Class instance count. Per Forsgren Microsoft VB .NET 3 8th Sep 2004 05:09 PM
String instance count Jon Microsoft VB .NET 10 3rd Oct 2003 04:15 PM
String instance count Jon Microsoft VB .NET 10 3rd Oct 2003 03:07 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:14 AM.