+ Reply to Thread
Results 1 to 4 of 4

Vlookup and Count Unique Records in adjacent column

  1. #1
    Registered User
    Join Date
    05-09-2011
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    38

    Vlookup and Count Unique Records in adjacent column

    I'm having some difficulty figuring out a formula for this one. Using the data in the below table, I want to write a formula that will tell me how many Days Worked (unique records) I have for each person: Dan, Frank, and James.

    The results should show that Dan = 4, Frank = 6, and James = 1.

    --------------------------------------------------------------------------------

    A B C
    1 Name Date Mins
    2 Dan 6/10/2012 22
    3 Dan 6/10/2012 24
    4 Dan 6/10/2012 20
    5 Dan 6/11/2012 25
    6 Dan 6/12/2012 14
    7 Dan 6/13/2012 19
    8 Dan 6/13/2012 20
    9 Frank 6/9/2012 30
    10 Frank 6/9/2012 26
    11 Frank 6/10/2012 15
    12 Frank 6/11/2012 20
    13 Frank 6/12/2012 14
    14 Frank 6/13/2012 20
    15 Frank 6/14/2012 12
    16 James 6/10/2012 13
    17 James 6/10/2012 14
    18 James 6/10/2012 30
    19 James 6/10/2012 20
    20 James 6/10/2012 23

    --------------------------------------------------------------------------------

    Book1.xlsx
    Last edited by gjohn282; 06-26-2012 at 03:04 AM.

  2. #2
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Vlookup and Count Unique Records in adjacent column

    Hi

    One way(using a helper column is this).

    Let's say in K2 and copy down, use this.

    Please Login or Register  to view this content.
    Then in B23 and copy down, use this.

    Please Login or Register  to view this content.
    Is this, works for you?
    Attached Files Attached Files
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  3. #3
    Registered User
    Join Date
    05-09-2011
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    38

    Re: Vlookup and Count Unique Records in adjacent column

    Works for me! Thanks for your help Fotis1991. I think this will work just fine for what I'm trying to accomlish. Much appreciated for your quick reply.

  4. #4
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Vlookup and Count Unique Records in adjacent column

    You are welcome!

    Thanks for the feed back and also for the reb*.

    Pls, mark your thread, as Solved.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1