+ Reply to Thread
Results 1 to 10 of 10

Make more cells with duplicate names and new phones

  1. #1
    Registered User
    Join Date
    08-21-2013
    Location
    Greece
    MS-Off Ver
    Excel 2016
    Posts
    18

    Make more cells with duplicate names and new phones

    Hello,

    i am describing what i need. I have a list of people with their phones. Please look below a small example:

    ΒΑΣΩ ΤΣΟΛΑΚΗ 6984523654
    Ευρυδίκη Κυριακού 6908212345
    ΠΑΝΑΓΙΩΤΑ ΛΑΣΚΑΡΙΔΟΥ 694754321

    i need this to be done like :

    ΒΑΣΩ ΤΣΟΛΑΚΗ 6984523654
    ΒΑΣΩ ΤΣΟΛΑΚΗ 00306984523654
    ΒΑΣΩ ΤΣΟΛΑΚΗ +306984523654

    for each name. I think it will be a text formula please help
    Thanks

  2. #2
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Make more cells with duplicate names and new phones

    See the attache file with the result in green.

    I used Vlookup twice to get the result of the Phone number.

    d1 =IFERROR(INDIRECT(ADRESS(IF(MOD(ROW(),3)=0,INT(ROW()/3),1+INT(ROW()/3)),COLUMN()-3)),"") and drag down.

    e1 =IFERROR(VLOOKUP(COUNTIF($D$1:$D1,$D1),$K$2:$L$4,2,0)&VLOOKUP($D1,$A$1:$B$3,2,0),"") and drag down.
    Attached Files Attached Files
    Last edited by oeldere; 08-28-2017 at 01:31 PM.
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  3. #3
    Registered User
    Join Date
    08-21-2013
    Location
    Greece
    MS-Off Ver
    Excel 2016
    Posts
    18

    Re: Make more cells with duplicate names and new phones

    i need also another in the table 4 30

  4. #4
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Make more cells with duplicate names and new phones

    show the expected result manualy>

    What is 4 30?

  5. #5
    Registered User
    Join Date
    08-21-2013
    Location
    Greece
    MS-Off Ver
    Excel 2016
    Posts
    18

    Re: Make more cells with duplicate names and new phones

    i mean in the table i need another so table must be
    table
    1
    2 0030
    3 +30
    4 30

  6. #6
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Make more cells with duplicate names and new phones

    and what did you tried yourself to get this anwer (on the second question)?

    I asked this because this needs a whole differant approach for column D.

    You now need to duplicate 4 times instead of 3 (in your earlies question).

  7. #7
    Registered User
    Join Date
    08-21-2013
    Location
    Greece
    MS-Off Ver
    Excel 2016
    Posts
    18

    Re: Make more cells with duplicate names and new phones

    what will be changed in the formula?

  8. #8
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Make more cells with duplicate names and new phones

    d1 =IFERROR(INDIRECT(ADRESS(IF(MOD(ROW(),4)=0,INT(ROW()/4),1+INT(ROW()/4)),COLUMN()-3)),"") and drag down.

    e1 =IFERROR(VLOOKUP(COUNTIF($D$1:$D1,$D1),$K$2:$L$10,2,0)&VLOOKUP($D1,$A$1:$B$3,2,0),"") and drag down. (after adding the new data in the table).

  9. #9
    Registered User
    Join Date
    08-21-2013
    Location
    Greece
    MS-Off Ver
    Excel 2016
    Posts
    18

    Re: Make more cells with duplicate names and new phones

    hello,

    thanks for the solution i need a forth alternative
    please sell below:

    ΒΑΣΩ ΤΣΟΛΑΚΗ 6984523654
    ΒΑΣΩ ΤΣΟΛΑΚΗ 00306984523654
    ΒΑΣΩ ΤΣΟΛΑΚΗ +306984523654
    ΒΑΣΩ ΤΣΟΛΑΚΗ 306984523654

    what should i change in the excel you have sent me?

    Thanks again

  10. #10
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,554

    Re: Make more cells with duplicate names and new phones

    Here is a copy of oeldere's file which has updated formulas applied.
    Let us know if you have any questions.
    Attached Files Attached Files
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

+ 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. Appending duplicate cells to make them unique by adding alphabetic characters
    By kaysee10man in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-12-2021, 11:57 AM
  2. Need to copy store names from sheet1 to sheet3 and remove duplicate names
    By aleanboy in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-21-2014, 08:47 AM
  3. Replies: 1
    Last Post: 10-06-2014, 09:44 AM
  4. Replies: 2
    Last Post: 05-02-2013, 08:01 PM
  5. Find duplicate text in cells in column, then give names of cells containing duplicate text
    By spelunkerforlife in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-19-2013, 10:13 AM
  6. Replies: 11
    Last Post: 10-21-2012, 01:40 AM
  7. Replies: 3
    Last Post: 08-28-2008, 09:05 AM

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