+ Reply to Thread
Results 1 to 8 of 8

Excel 2007 : Align rows by matching values in other columns

  1. #1
    Registered User
    Join Date
    02-13-2012
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    3

    Excel 2007 : Align rows by matching values in other columns

    I have an extremely large spreadhseet with many rows of data.

    Column A is a master list of part numbers (in ascending order).
    Column D is a list of part numbers with a corresponding quantity in column E.

    A
    B
    C
    D
    E
    Part No Description Location Part No Qty
    1028-001 7/16 J channel, white W531 1028-001 525
    1028-002 7/16 J channel, blue W534 1028-003 101
    1028-003 7/16 J channel, cream W653 1028-004 630
    1028-004 7/16 J channel, slate W413 1028-005 542
    1028-005 7/16 J channel, red W535 1028-006 678


    I need the part numbers in D (along with their quantities in E) to line up with corresponding part numbers in Column A like this:

    A
    B
    C
    D
    E
    Part No Description Location Part No Qty
    1028-001 7/16 J channel, white W531 1028-001 525
    1028-002 7/16 J channel, blue W534
    1028-003 7/16 J channel, cream W653 1028-003 101
    1028-004 7/16 J channel, slate W413 1028-004 630
    1028-005 7/16 J channel, red W535 1028-005 542


    I'm not sure this makes sense or is even possible but if anyone can help, I'd greatly appreciate it.
    Attached Files Attached Files
    Last edited by jhanson60; 02-22-2012 at 12:18 PM. Reason: attachment

  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,929

    Re: Align rows by matching values in other columns

    I have added a column to your data that does what you need. However, it might help if the 2nd set of part mumber info could be in a seperate table. The formula provided will work either way though
    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
    02-13-2012
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Align rows by matching values in other columns

    Quote Originally Posted by FDibbins View Post
    I have added a column to your data that does what you need. However, it might help if the 2nd set of part mumber info could be in a seperate table. The formula provided will work either way though
    That file has nothing to do with what I need.

  4. #4
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Align rows by matching values in other columns

    Try this out - in F2 put this formula -
    Please Login or Register  to view this content.
    Put this formula in G2 -
    Please Login or Register  to view this content.
    Drag both down as necessary.
    Then copy columns F & G and paste special values them in columns D & E.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

  5. #5
    Registered User
    Join Date
    02-13-2012
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    3

    Thumbs up Re: Align rows by matching values in other columns

    Quote Originally Posted by arlu1201 View Post
    Try this out - in F2 put this formula -
    Please Login or Register  to view this content.
    Put this formula in G2 -
    Please Login or Register  to view this content.
    Drag both down as necessary.
    Then copy columns F & G and paste special values them in columns D & E.
    THANK YOU! THANK YOU! THANK YOU! It worked perfectly! You saved me hours, if not days of work. I truly appreciate it.

  6. #6
    Registered User
    Join Date
    09-10-2013
    Location
    ph
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: Excel 2007 : Align rows by matching values in other columns

    hi, tried this out but #NAME? appears. something i am missing? thanks

  7. #7
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Excel 2007 : Align rows by matching values in other columns

    Have you changed the cell references to match your file?

  8. #8
    Registered User
    Join Date
    05-13-2014
    MS-Off Ver
    Excel 2003
    Posts
    1

    Re: Excel 2007 : Align rows by matching values in other columns

    Works for me. Thank you arlu1201

+ 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