+ Reply to Thread
Results 1 to 4 of 4

Transfer Unorganized Data between sheets

  1. #1
    Forum Contributor
    Join Date
    07-12-2010
    Location
    United States
    MS-Off Ver
    Excel 2003
    Posts
    136

    Transfer Unorganized Data between sheets

    Hello. Please see the attachment. In Sheet 1 I have a list of different categories. Sheet two has the category ID numbers. Is there a formula that will pull from sheet 2 the category id to sheet 1? The only issue is they are not in the same sort order.
    Attached Files Attached Files

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Transfer Unorganized Data between sheets

    Put this in C2 and copy down:

    =IF(B2="", "", VLOOKUP(B2, Sheet2!A:B, 2, 0))


    You will see an #N/A error when there is no match. Just add new items to the table on Sheet2 for each NA you see and all of those will correct at once.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Forum Contributor
    Join Date
    07-12-2010
    Location
    United States
    MS-Off Ver
    Excel 2003
    Posts
    136

    Re: Transfer Unorganized Data between sheets

    Works great thank you. But when I try to edit my worksheet it doesn't work for me. Please see the attachments. Please note that the sheet1 has the text in in column F and on sheet2 this other info needed is in column b and c. I have tried to edit this on my own but i keep getting N/A
    Attached Files Attached Files

  4. #4
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Transfer Unorganized Data between sheets

    If the formula above I gave you was to go in cell C2 and it clearly references the cell next to it (B2), and compares it to columns B:C of a sheet named Sheet2, then what would YOU change the formula to go in G2 (not G1) and look at cell F2 and compare to columns B:C on a sheet named Sheet2?

+ 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