+ Reply to Thread
Results 1 to 3 of 3

combine cells based on criteria

  1. #1
    Registered User
    Join Date
    11-10-2016
    Location
    chicago, il
    MS-Off Ver
    2007
    Posts
    2

    combine cells based on criteria

    I'm looking to combine the vehicles based on column A.

    e.g. a1:a3 has the same number so I need to combine like this; "2012 Toyota Prius V, 2013 Toyota Prius V, 2014 Toyota Prius V", and then the same for each other matching in column A.
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    11-10-2016
    Location
    chicago, il
    MS-Off Ver
    2007
    Posts
    2

    Re: combine cells based on criteria

    =if(A2=A1,D2&" "&B2&" "&C2&", "&E1, D2&" "B2&" "&C2)

    Then sort by column E (Z-A), then remove duplicates based on column A.

    This works but eats up a lot of resources.

  3. #3
    Forum Contributor
    Join Date
    12-13-2013
    Location
    Calgary,AB,Canada
    MS-Off Ver
    2016,O365
    Posts
    236

    Re: combine cells based on criteria

    another option by using helper column F

    1. F1=D1&" "&B1&" "&C1&IFERROR(","&VLOOKUP(A1,A2:$F$23,6,),"") then copy down
    2. copy all number in A then paste it into column H, then remove duplicates
    3. J1=VLOOKUP(H1,A:F,6,)

+ 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. Combine cells based on criteria
    By thisismyname2 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-11-2016, 04:16 PM
  2. [SOLVED] Combine rows of data based on multiple criteria?
    By hopegriffin in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-26-2015, 12:54 PM
  3. [SOLVED] Combine cell entries based on criteria
    By Niclal in forum Excel Programming / VBA / Macros
    Replies: 23
    Last Post: 03-13-2014, 01:00 PM
  4. Combine Columns Based on Criteria
    By halama in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-15-2013, 05:53 PM
  5. [SOLVED] Combine Several Cells into a New Cell Based on Criteria
    By Exia in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-14-2012, 06:15 PM
  6. Replies: 2
    Last Post: 12-03-2011, 03:51 AM
  7. Combine muliple rows into one based on criteria
    By smb2004 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-08-2007, 10:38 PM

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