PC Review


Reply
 
 
LUIS ANGEL
Guest
Posts: n/a
 
      30th Sep 2010
Hi Guys,

I have a column A with names and column B with dates.


I would like to have a formula that a can place in any other column
that will count how mnay unique dates are ther for a specific name.


For example if i have John Doe in A as one of the many names the
formula should tell me how many unique dates are there for John. With
in the many repeated dates that John may have, those dates should be
counted.


Example:


A B C
D E

DAYS
JOHN DOE 27-Sep JOHN DOE 3
JOHN DOE 27-Sep TINA DOE 3
TINA DOE 27-Sep CARL DOE 4
CARL DOE 27-Sep
CARL DOE 27-Sep
JOHN DOE 28-Aug
TINA DOE 29-Aug
TINA DOE 29-Aug
TINA DOE 29-Aug
CARL DOE 30-Aug
JOHN DOE 29-Aug
TINA DOE 30-Aug
CARL DOE 31-Aug
CARL DOE 25-Sep


Hope some one can help.... THNX


 
Reply With Quote
 
 
 
 
AB
Guest
Posts: n/a
 
      1st Oct 2010
There might be smarter way of doing this but for my 2 cents of worth,
try this:
insert a helper column (C, for instance) and havet his formula in
there:
=A2&B2 (fill it down as far as your data go)
(so all it does it concatenates NAMES with DATES).
So now what you need to know is how many unique values in that helper
column there are for a specific name.
Now, asuming that your
NAMES are in A2:A10
DATES are in B2:B0 (this one doesn't really matter that much as we'll
be using the helper column instead)
HELPER data is in C2:C10
The specfic name that you want to count dates for are in E2
try this formula:
=SUMPRODUCT(((A2:A10)=E2)/COUNTIF(C2:C10,C2:C10))

This should work. I couln't manage to figure out how to achieve the
same without the helper column...



On Sep 30, 10:54*pm, LUIS ANGEL <upslavazq...@gmail.com> wrote:
> Hi Guys,
>
> I have a column A with names and column B with dates.
>
> I would like to have a formula that a can place in any other column
> that will count how mnay unique dates are ther for a specific name.
>
> For example if i have John Doe in A as one of the many names the
> formula should tell me how many unique dates are there for John. With
> in the many repeated dates that John may have, those dates should be
> counted.
>
> Example:
>
> * * *A * * * * * * * * * * *B * * * ** C
> D * * * * * * * * * E
>
> DAYS
> JOHN DOE * * * * 27-Sep * * * * * * JOHN DOE * * * * * * 3
> JOHN DOE * * * * 27-Sep * * * * * * TINA DOE * * * * * * * 3
> TINA DOE * * * * *27-Sep * * * * * * *CARL DOE * * * * * * 4
> CARL DOE * * * *27-Sep
> CARL DOE * * * *27-Sep
> JOHN DOE * * * *28-Aug
> TINA DOE * * * *29-Aug
> TINA DOE * * * *29-Aug
> TINA DOE * * * *29-Aug
> CARL DOE * * * *30-Aug
> JOHN DOE * * * *29-Aug
> TINA DOE * * * *30-Aug
> CARL DOE * * * *31-Aug
> CARL DOE * * * *25-Sep
>
> Hope some one can help.... THNX


 
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
Count Occurences of Dates Between Two Dates EMB369 Microsoft Excel Worksheet Functions 0 25th Mar 2010 11:49 AM
Count Dates between Dates exclude Text Ken Microsoft Excel Misc 3 8th Apr 2009 07:59 PM
I want to count the total Number of dates between two dates How? seshu Microsoft Excel Worksheet Functions 3 7th Feb 2008 05:41 PM
need to convert list of dates to count no. of dates by week neowok Microsoft Excel Worksheet Functions 13 30th Jan 2006 03:54 PM
How do I get a number count of dates that fall between specific dates JohnB Microsoft Excel Discussion 3 3rd Jun 2004 03:26 PM


Features
 

Advertising
 

Newsgroups
 


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