+ Reply to Thread
Results 1 to 4 of 4

Combining county data sets where order of counties is mismatched

  1. #1
    Registered User
    Join Date
    09-15-2020
    Location
    New York, USA
    MS-Off Ver
    Excel 16.40
    Posts
    3

    Combining county data sets where order of counties is mismatched

    Hello,

    I am trying to compile county-level variables from various data sets into one excel sheet so that I can run a regression on them. The problem is that the orders of the counties in the data sets are not identical, and the data sets are all missing different counties, so I can't just copy and paste the variables because then I'll have the wrong values for the counties.

    I'm not an excel expert by any means so maybe there's a formula or something I'm missing, or maybe I just have to do it manually (I really hope not because there are thousands of counties).

    I've been using vlookup to do it, but I've only managed to use that to find which counties are missing, it doesn't help me with making sure the different variables have all the counties in the correct order...

    If it's helpful I can link a spreadsheet with only a few counties to give an idea of what I mean, any help is much appreciated :)

    Thanks!

  2. #2
    Banned User!
    Join Date
    02-06-2020
    Location
    Iowa City, IA, USA
    MS-Off Ver
    2016 - 365 / 2007
    Posts
    2,014

    Re: Combining county data sets where order of counties is mismatched

    I would assume that the sorting function in excel could help you greatly in this regard. USE it on every set and then more than likely it becomes easy. as a last resort, you could loop the range from top to bot. on every sheet using a RANGE object and compare appropriately.

  3. #3
    Forum Expert
    Join Date
    02-10-2019
    Location
    Georgia, USA
    MS-Off Ver
    Office 365
    Posts
    2,829

    Re: Combining county data sets where order of counties is mismatched

    Do not link a spreadsheet. Read the banner at the top of the page and upload a file.

  4. #4
    Banned User!
    Join Date
    02-06-2020
    Location
    Iowa City, IA, USA
    MS-Off Ver
    2016 - 365 / 2007
    Posts
    2,014

    Re: Combining county data sets where order of counties is mismatched

    Quote Originally Posted by Gregb11 View Post
    Do not link a spreadsheet.
    how is that even possible?

+ 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. [SOLVED] VLOOKUP assistance for mismatched data sets, is it possible...
    By Lacey87 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-25-2020, 10:47 PM
  2. Combining to sets of data with different x axis'
    By dxg169 in forum Excel General
    Replies: 6
    Last Post: 02-16-2015, 01:32 PM
  3. Combining large sets of data
    By cab0317 in forum Excel General
    Replies: 9
    Last Post: 10-02-2013, 12:50 PM
  4. [SOLVED] Combining two unlike sets of data
    By smls in forum Excel General
    Replies: 4
    Last Post: 07-09-2012, 11:22 AM
  5. Combining two data sets
    By Teacher in forum Excel General
    Replies: 10
    Last Post: 09-11-2011, 12:11 PM
  6. combining two data sets
    By pani_hcu in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-29-2009, 12:43 PM
  7. Combining two sets of data
    By chrmlr2 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 08-28-2009, 09:41 PM

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