+ Reply to Thread
Results 1 to 2 of 2

How do I select for multiple shared values between 3 data sets?

Hybrid View

  1. #1
    Registered User
    Join Date
    03-31-2014
    Location
    Arcata, California
    MS-Off Ver
    Excel 2010
    Posts
    1

    How do I select for multiple shared values between 3 data sets?

    Hey everyone,

    I am currently trying to solve a problem with data for my undergraduate Honors Thesis.

    So, I have three years of data, each with a respective spreadsheet. The first year has a less robust dataset than the other two years. Since I want to keep all my years even, I only want to use data that is shared with the first year.

    I am interested in relating the three datasets with unique locations from year 1. ie: Selecting all data that have shared values and negate everything else. Each year more locations are added, but I am only interested in locations that were visited in the first year and revisited later.

    Ex: Imagine something like this, but Year One has 2844 values in the column (including site replicates). By year three there were 7000 values. I am only interested in the values that are shared between all three years

    1999
    Location|UTMx|UTMy|Date
    Warcreek
    JepsonIsland
    JepsonIsland
    MillerPark
    JonesCreek

    2000
    Location|UTMx|UTMy|Date
    Jupiter
    Voltaranch
    WarCreek
    Warcreek
    Market
    Jones Island
    WarCreek
    MillerPark
    Jupiter
    Jones Creek

    2001
    Location|UTMx|UTMy|Date
    VoltaRanch
    VoltaRanch
    JonesCreek
    JonesCreek
    SkylineRidge
    MillerPark
    Jupiter
    Jupiter
    Jupiter
    JepsonIsland
    JepsonIsland
    Warcreek

    So my question is this: How do I select or Query for values that are shared with Year One. Is this possible? If what I am asking doesn't make sense, please let me know where I should be more specific.

    Thank you so much I need to graduate!!!

    -Kurt

  2. #2
    Valued Forum Contributor
    Join Date
    07-04-2012
    Location
    Cape Town, RSA
    MS-Off Ver
    Office 365 ProPlus
    Posts
    1,050

    Re: How do I select for multiple shared values between 3 data sets?

    Hi,

    See the process in the attached workbook.
    Sheet 1 represents your original data,
    Sheet 2 instructs to move the year to a new column
    Sheet 3 instructs to remove the blank rows (and additional column headings) to make a proper list of data
    Sheet 4 instructs to run the macro to process and mark the data
    Sheet 5 instructs to filter the data for the information (I assume) you needed
    Attached Files Attached Files
    Regards,
    Rudi

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 2
    Last Post: 08-02-2013, 10:41 PM
  2. Comparing multiple sets of columns for greater values
    By metsfan666 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 12-09-2012, 08:41 PM
  3. Replies: 2
    Last Post: 12-05-2012, 01:52 PM
  4. Min values from multiple sets
    By pbeauchemin in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 03-08-2009, 06:23 PM
  5. Multiple charts over multiple sets of data over multiple worksheets.
    By matrocka in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-12-2007, 10:01 AM

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