+ Reply to Thread
Results 1 to 5 of 5

Unique values for each date and location

  1. #1
    Registered User
    Join Date
    11-16-2011
    Location
    New Hampshire
    MS-Off Ver
    Excel 2007
    Posts
    7

    Unique values for each date and location

    Hey everyone - I'd really appreciate some help

    I attached a file showing the basic data format. I have sites, which were visited on multiple dates, and each time I went I recorded the species I saw. I want a tally of the number of species (unique values) for each site on each date (criteria). I have about 850 site/date combinations. Thank you very very much!

    Pat

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,366

    Re: Unique values for each date and location

    I'm sure there's a way with formulae but, in the meantime ...

    You could make a copy of the sheet and then, in a helper column, concatenate the date, site and species. Sort the helper column ascending and then use delete duplicates to get a list of unique combinations.

    You can then delete the helper column.

    Regards
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Registered User
    Join Date
    11-16-2011
    Location
    New Hampshire
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: Unique values for each date and location

    Thanks for your quick response and the excellent suggestion.

    I need to delete all but one of the duplicates, so that way I know which species were present at a given site on a given date. Looking into that elsewhere on the net, seems a bit tricky. Once I do that I will want to delete lines of data that have a blank in the helper column... seems like I am making this harder than it should be!

    any other ideas/advice?
    THANKS!

  4. #4
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,366

    Re: Unique values for each date and location

    Why would the helper column have blanks in it?

    I also realised that, having made the helper column, you should be able to use that in a formula to get a list of unique entries.

    Search this forum for something like, extracting a list of unique entries from a column of data. Should be more straightforward than three columns.

    Regards

  5. #5
    Forum Contributor
    Join Date
    01-18-2005
    Location
    Auckland New Zealand
    MS-Off Ver
    Office Professional 2007
    Posts
    295

    Re: Unique values for each date and location

    No file attached?

+ 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