+ Reply to Thread
Results 1 to 4 of 4

concatenate cells with repeated information

Hybrid View

mavi99 concatenate cells with... 06-27-2019, 06:41 AM
Sam Capricci Re: concatenate cells with... 06-27-2019, 07:30 AM
mavi99 Re: concatenate cells with... 06-27-2019, 07:46 AM
Sam Capricci Re: concatenate cells with... 06-27-2019, 08:14 AM
  1. #1
    Registered User
    Join Date
    11-28-2014
    Location
    istanbul, turkey
    MS-Off Ver
    2010
    Posts
    12

    concatenate cells with repeated information

    Hi guys,

    I have a small problem regarding my excel worksheet. It has two columns:
    In one column (A) there are repeated cells. I want to concatenate the information on the second column cells (B), if the first column (A) has repeated cells and finally reach Column C. Which formula(s) need to be used in order to create Column C? Would you help me with that?

    Presentation1.jpg

    Thanks a lot in advance!

    Onur

  2. #2
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.96 for Mac MS 365
    Posts
    8,690

    Re: concatenate cells with repeated information

    I can get you there but it would take some helper columns, are you open to that?
    Plus, how far out do these markets go for one individual. My solution would require one column for each market value for a person, so for Steve his results would go out to column G, if you have someone with 8 markets that would take it out to column K. You'll see in my sample workbook. And you'd have to add to the summary formula for add'l covered areas beyond column G.

    BTW, here are the formulas.
    Cell D2 dragged right then down... =IF($A1=$A2,"",IFERROR(INDEX($B$2:$B$9,AGGREGATE(15,6,ROW($1:$10)/($A$2:$A$9=$A2)/($B$2:$B$9<>""),COLUMNS($A:A))),""))
    Cell C2 dragged down... =IF(AND(D2<>"",E2=""),D2,IF(AND(D2<>"",E2<>"",F2=""),D2&"; "&E2,IF(AND(D2<>"",E2<>"",F2<>"",G2=""),D2&"; "&E2&"; "&F2,IF(AND(D2<>"",E2<>"",F2<>"",G2<>"",H2=""),D2&"; "&E2&"; "&F2&"; "&G2,""))))
    Attached Files Attached Files
    Last edited by Sam Capricci; 06-27-2019 at 07:34 AM.
    Make contributors happy, click on the "* Add Reputation" as a way to say thank you.
    Sam Capricci

  3. #3
    Registered User
    Join Date
    11-28-2014
    Location
    istanbul, turkey
    MS-Off Ver
    2010
    Posts
    12

    Re: concatenate cells with repeated information

    Thanks a lot Sambo.
    Indeed, my original dataset has thousands of lines, and there are more than 50 individual "markets". So, opening a column for each individual market couldn't be the best idea. But if there are no other solutions, I guess we need to follow this.

  4. #4
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.96 for Mac MS 365
    Posts
    8,690

    Re: concatenate cells with repeated information

    Well, you could start the helper columns out of the area they could be visible, say in column BA for example but the if statement in column C would be quite long to handle up to 50 individual markets AND the names would all have to be combined (not out of order) because if you had John again below Steve you'd get an additional summary line across from him again.
    It almost sounds like you might need a VBA solution but I'll be interested in seeing what else is proposed.

+ 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. Need help making data entry easier since some information is repeated on rows.
    By MissAudrey in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-28-2015, 01:05 PM
  2. Concatenate information with only one cell
    By davidingilbert in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-19-2014, 11:36 AM
  3. [SOLVED] Concatenate With Loop Through 2 Columns of Information
    By nigelld in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 05-29-2014, 03:20 PM
  4. how to highlight repeated information
    By TheMightyFederer in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 11-04-2012, 10:43 AM
  5. [SOLVED] Return row 1 information if selected and concatenate
    By rmack1272 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 09-07-2012, 02:54 PM
  6. Replies: 8
    Last Post: 08-06-2012, 09:58 PM
  7. Replies: 2
    Last Post: 04-12-2010, 12:35 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