+ Reply to Thread
Results 1 to 3 of 3

sorting a list by first rows value equal to a specific character

  1. #1
    Registered User
    Join Date
    11-09-2011
    Location
    Seville
    MS-Off Ver
    Excel 2007
    Posts
    91

    sorting a list by first rows value equal to a specific character

    Hi,

    Sorry for the very long title but I can't find a more synthetic way to say it.
    I have a list like that in the attachment (much longer than that). The list represent the capture history of animals.
    The first column represents the names of the individuals and the next 9 columns are the encounter history of that individual (D means found as "Diseased", H found as "Healthy", U found as "Unknown state", 0 means that it has not been captured).
    I want to find a subset of this list that is formed by those individuals whose first encounter (no zero value) was a D (after will do the same with H).
    I thought that a convenient way would be to sort the list in some way for example by using VLOOKUP but I can't figure out how to do this.
    Any idea on this?

    Thanks for any help you might provide

    Simone
    Attached Files Attached Files
    Last edited by simone77; 11-09-2011 at 11:50 AM.

  2. #2
    Forum Contributor
    Join Date
    01-28-2010
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2003
    Posts
    157

    Re: sorting a list by first rows value equal to a specific character

    Maybe with AutoFilter and a few helper columns.
    See attachment where D, H or U can be selected from the Data Validation selection list in A1, then when the same condition code is selected in the column B AutoFilter only visible rows are the rows where that condition was recorded for the first capture.

    Beau Nydal
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    11-09-2011
    Location
    Seville
    MS-Off Ver
    Excel 2007
    Posts
    91

    Re: sorting a list by first rows value equal to a specific character

    Thank you for showing me the function "match". It is the key to make that sort of things I was trying to do.
    All the best

    Simone

+ 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