+ Reply to Thread
Results 1 to 5 of 5

Filtering multiple returns

Hybrid View

  1. #1
    Registered User
    Join Date
    06-19-2007
    Posts
    16

    Filtering multiple returns

    I have a raw data page which contians peoples name and where they charged thier time. My problem is that I only want thier name to appear once. What type of formula do i need to use to make this happen.

    Ex
    Employee name Project No. WBS Code Hours
    John Smith 123456 1 4
    Jane Doe 123456 1 2
    John Smith 123456 2 2
    Jane Doe 123456 2 1
    John Smith 123456 3 2
    Jane Doe 123456 3 5

    At the end I want to do a count to let me know how many people I have charging the job but I don't know what formula I need to exclude duplicate entries.

    Thanks
    Last edited by JEllison; 12-03-2008 at 06:31 PM. Reason: solved

  2. #2
    Registered User
    Join Date
    11-06-2008
    Location
    Canada
    Posts
    36
    This isn't the cleanest way, but assuming your names are in the range A2:A10 you can add a column with the function =COUNTIF($A$2:A2,A2) in ROW 2 and then copy that formula into the rest of the column. ROW 10's formula would be =COUNTIF($A$2:A10,A10). In this new column, you can filter for the value 1 and it will only show the 1st record for each name. Assuming the new column is COLUMN K, you can also use the COUNTIF function again to tell you how many unique Names there are =COUNTIF($K$2:$K$10,1)

  3. #3
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582
    Do you want it set up such that the same person cannot put their name into column A a second time or are you looking to just count the unique names?
    The first can be done with Data Validation, the second with Advanced filter.
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  4. #4
    Registered User
    Join Date
    11-06-2008
    Location
    Canada
    Posts
    36
    You could also summarize the data in a PivotTable and put the "Name" in the Column

  5. #5
    Registered User
    Join Date
    06-19-2007
    Posts
    16
    Thanks everyone.

+ 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