+ Reply to Thread
Results 1 to 2 of 2

align data by ID# from two different files combined

  1. #1
    Registered User
    Join Date
    03-05-2013
    Location
    Tacoma, WA
    MS-Off Ver
    Excel 2010
    Posts
    1

    align data by ID# from two different files combined

    I have excel 2010.

    Two files are combined into one.
    They contain a common data element, the ID#.
    Sometimes both columns contain the same ID#, sometimes they do not.
    Each ID# has additional rows of information associated with that ID#

    I want to align the new combined file such that each row in the new file will contain only one ID# along with its associated information along that row.
    Sometimes there will be only one ID# in a row as it is unique to one of the imported datasets
    Sometimes both files will contain that ID# so it will contain both ID#'s associated information on that row.

    I thought I saw something on this forum about it but it involved this gigantic macro basic language stuff and I was lost.

    Can't I just do some sort of =lookup if then sort of thing?

    thanks, dave.

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: align data by ID# from two different files combined

    Yes you can do it fairly simply by using an =MATCH & =INDEX functions.

    Upload a sample workbook that contains some representative rows. Presumably the two files are combined into data in two sheets in a single workbook?
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

+ 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