+ Reply to Thread
Results 1 to 9 of 9

Need a formula to consolidate a 2 column list

  1. #1
    Registered User
    Join Date
    03-09-2011
    Location
    Detroit, Michigan
    MS-Off Ver
    Excel 2016
    Posts
    21

    Need a formula to consolidate a 2 column list

    I have 2 columns, I need to consolidate one of the columns separated by a character.

    For example, I need to turn this.........

    Part# Part #2
    1AMAC33022 1132609
    1AMAC33022 2724908
    1AMAC33022 2724977
    1AMAC33034 19188468
    1AMAC33034 F6ZZ-19C836A
    1AMAC33051 07-0442A
    1AMAC33051 1911006
    1AMAC33051 19188473
    1AMAC33051 F0TZ-19C836-A
    1AMAC33051 FOTZ-19C836-C


    into this..........

    Part# Part #2
    1AMAC33022 1132609*2724908*2724977
    1AMAC33034 19188468*F6ZZ-19C836A
    1AMAC33051 07-0442A*1911006*19188473*F0TZ-19C836-A*FOTZ-19C836-C

    Thanks in Adavance. A.xlsx

  2. #2
    Forum Expert
    Join Date
    10-09-2012
    Location
    Dallas, Texas
    MS-Off Ver
    MO 2010 & 2013
    Posts
    3,048

    Re: Need a formula to consolidate a 2 column list

    What are you trying to accomplish? Can you not try to aggregate or whatever with a pivot table instead?
    Please ensure you mark your thread as Solved once it is. Click here to see how.
    If a post helps, please don't forget to add to our reputation by clicking the star icon in the bottom left-hand corner of a post.

  3. #3
    Registered User
    Join Date
    03-09-2011
    Location
    Detroit, Michigan
    MS-Off Ver
    Excel 2016
    Posts
    21

    Re: Need a formula to consolidate a 2 column list

    I thinking I could use a pivot table with multiple consolidation ranges? But not sure how to do it.

  4. #4
    Forum Expert
    Join Date
    10-09-2012
    Location
    Dallas, Texas
    MS-Off Ver
    MO 2010 & 2013
    Posts
    3,048

    Re: Need a formula to consolidate a 2 column list

    What are you trying to accomplish, this seems like a partial solution, what is your end game?

  5. #5
    Registered User
    Join Date
    03-09-2011
    Location
    Detroit, Michigan
    MS-Off Ver
    Excel 2016
    Posts
    21

    Re: Need a formula to consolidate a 2 column list

    turn this......
    Column A Column B
    1AMAC33022 1132609
    1AMAC33022 2724908
    1AMAC33022 2724977

    into this....
    Column A Column B
    1AMAC33022 1132609*2724908*2724977

  6. #6
    Forum Expert
    Join Date
    10-09-2012
    Location
    Dallas, Texas
    MS-Off Ver
    MO 2010 & 2013
    Posts
    3,048

    Re: Need a formula to consolidate a 2 column list

    for what purpose? that is the end state?

  7. #7
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,639

    Re: Need a formula to consolidate a 2 column list

    You will need a VBA solution to achieve this. If you are open to a VBA solution, please find the attached sheet and click on the Green Button on the sheet to get the desired output in col. C and col. D. Is this something you can work with?
    Attached Files Attached Files
    Regards
    sktneer


    Treat people the way you want to be treated. Talk to people the way you want to be talked to.
    Respect is earned NOT given.

  8. #8
    Registered User
    Join Date
    03-09-2011
    Location
    Detroit, Michigan
    MS-Off Ver
    Excel 2016
    Posts
    21

    Re: Need a formula to consolidate a 2 column list

    Thank you.

  9. #9
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Need a formula to consolidate a 2 column list

    I know that this is late but here is a way to solve your problem without using VBA.
    Attached Files Attached Files
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Consolidate Unique List Items into an Adjacent Column
    By packetdog in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 08-09-2012, 11:29 AM
  2. [SOLVED] How to consolidate/sum a list
    By Larry Wallis in forum Excel General
    Replies: 5
    Last Post: 02-11-2005, 04:06 AM
  3. How to consolidate/sum a list
    By Larry Wallis in forum Excel General
    Replies: 5
    Last Post: 02-11-2005, 03:06 AM
  4. How to consolidate/sum a list
    By Larry Wallis in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 02-11-2005, 03:06 AM
  5. How to consolidate/sum a list
    By Larry Wallis in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 02-11-2005, 03:06 AM

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