+ Reply to Thread
Results 1 to 2 of 2

Merging text in a list between rown depending on a criteria

  1. #1
    Registered User
    Join Date
    12-10-2012
    Location
    Italy
    MS-Off Ver
    Excel 2003
    Posts
    1

    Merging text in a list between rown depending on a criteria

    Good evening everyone,
    I'm new to this forum and I join in order to improve my excel knowledge.

    I work in an hotel and I'm having the following problem:
    every week we do a cocktail for a part of our guests and I make a list, then I have to separate them by room and print 1 invitation per room with the surname of all the occupants of the room (using the mail merge and several invitation in Word format depending from the sitting and language of the guests).

    In the list there are room with 1 guest,2, 3 or more with different surnames.
    I need to insert all the surnames of one room in one cell and delete the rows of the same room. This takes a very long time (since there are more than 1200 people and rows) .
    Is there a way to manage it? I tried with advanced filter and unique record only but in this way I get all the room but with only 1 surname.
    I know it is not easy to understand with my description so I attach the file.

    I will greatly appreciate your help because it will save me from many hours of extra work.

    Best regards
    Attached Files Attached Files

  2. #2
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Merging text in a list between rown depending on a criteria

    Hi MassMass,

    Welcome to the forum. Hope your query resolved, if not consider below:

    You need SurNames to be merged in same room..See the attachment where I have used a pivot table in a new sheet and used below formula to achieve the desired results:-

    =IF(A5="","",B5&IF(A6="","-"&B6,""))

    Prova inviti cocktail.xls

    Regards,
    DILIPandey
    <click on below * if this helps>
    DILIPandey, Excel rMVP
    +919810929744 (India), +971528225509 (Dubai), [email protected]

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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