Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / February 2008

Tip: Looking for answers? Try searching our database.

Count first instance of entry only.

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
J.W. Aldridge - 09 Feb 2008 18:45 GMT
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)
Max - 10 Feb 2008 02:52 GMT
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
Signature

Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---

> 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)
J.W. Aldridge - 22 Feb 2008 22:47 GMT
thanx!
Max - 23 Feb 2008 02:22 GMT
welcome, nice of you to feedback here.
Signature

Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---

> thanx!
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.