+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Brown
    Guest

    How to combine two data sets with one category of variable in com.

    I want to take to sets of ID numbers with different associated data and
    combine them on one sheet.

    How do I do this?

  2. #2
    Forum Guru
    Join Date
    06-23-2004
    Location
    Houston, TX
    Posts
    571
    Quote Originally Posted by Brown
    I want to take to sets of ID numbers with different associated data and
    combine them on one sheet.

    How do I do this?
    Here is how I interpret your post.

    In sheet 1, you have the following entries:

    A1:A100 -- contains your ID numbers
    B1:B100 -- contains the first set of data associated with the ID numbers

    In Sheet 2, you have the following entries:

    A1:A100 -- contains your ID numbers (let us assume that the order which
    the ID numbers appear in Sheet 2 is not the same order as the ID
    numbers in Sheet 1).
    B1:B100 -- contains the second set of data associated with the ID numbers

    In Sheet 1, you can combine all your data as follows:

    A1:A100 -- contains your ID numbers
    B1:B100 -- contains the first set of data associated with the ID numbers
    C1:C100 -- contains the second set of data associated with the ID numers.
    (these will be taken from Sheet2!B1:B100)


    To combine all the data in Sheet 1, enter this formula in Cell C1

    =vlookup(A1,Sheet2!$A$1:$B$100,2,0)

    and copy down until C100.

    Hope this is what you are looking for.
    BenjieLop
    Houston, TX

  3. #3
    JulieD
    Guest

    Re: How to combine two data sets with one category of variable in com.

    possbily using VLOOKUP
    check out help and post back with more details - workbook / worksheet names,
    ranges, how the data is arranged on the sheets etc - if you require further
    assistance (but please don't attach a workbook)

    Cheers
    JulieD

    "Brown" <Brown@discussions.microsoft.com> wrote in message
    news:7E08174F-394C-49D8-AE1A-0F598E5DCAAE@microsoft.com...
    >I want to take to sets of ID numbers with different associated data and
    > combine them on one sheet.
    >
    > How do I do this?




  4. #4
    Chris Rogers
    Guest

    Re: How to combine two data sets with one category of variable in com.

    I'd suggest using the vlookup formula.


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.2.0