+ Reply to Thread
Results 1 to 4 of 4

Line up columns where row values match

  1. #1
    Registered User
    Join Date
    11-21-2011
    Location
    boston, ma
    MS-Off Ver
    Excel 2007
    Posts
    25

    Line up columns where row values match

    Hi Excel Help, you've been extremely helpful in the past and I greatl appreciate it.

    I've had this problem before and have not found a good solution.


    Column A:_____________Column B

    House_____________Car
    Car_____________Farm
    Farm_____________iPad
    Dog_____________Surface
    iPad_____________

    I want to line up these lists by row, leaving blanks, or something such as #N/A, where they would occur..Leaving something like:

    Column A:_______Column B
    House__________Blank or #N/A
    Car____________Car
    Farm___________Farm
    Dog____________Blank or #N/A
    iPad____________Blank or #N/A
    Blank or #N/A____Surface


    I've played around with V lookups and functions to explain which are missing in column B vs A, and vice-versa, but what's the best way to just create a table with them lined up?

    Thanks,
    Andrew

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,936

    Re: Line up columns where row values match

    depending on which way round you want to test, in column C, use this...
    =VLOOKUP(B1,$A$1:$A$5,1,FALSE)
    this finds B in A and returns A
    or
    =VLOOKUP(A1,$B$1:$B$5,1,FALSE)
    this finds A in B and returns B
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    11-21-2011
    Location
    boston, ma
    MS-Off Ver
    Excel 2007
    Posts
    25

    Re: Line up columns where row values match

    Thanks Fdibbins,
    I've gotten this far with the vlookups. But is there a non-manual way of taking it a step further and lining up the columns as I (tried to) exlain in my post?
    Thanks.

  4. #4
    Registered User
    Join Date
    11-21-2011
    Location
    boston, ma
    MS-Off Ver
    Excel 2007
    Posts
    25

    Re: Line up columns where row values match

    Thanks Fdibbins,
    I've gotten this far with the vlookups. But is there a non-manual way of taking it a step further and lining up the columns as I (tried to) exlain in my post?
    Thanks.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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