+ Reply to Thread
Results 1 to 4 of 4

Repeating Names

  1. #1
    Registered User
    Join Date
    10-19-2015
    Location
    edinburgh
    MS-Off Ver
    mac 2011
    Posts
    2

    Repeating Names

    Hi there,

    I am sorting a load of data, with information on peoples names, emails etc.

    The spreadsheet is in this format:

    Email Address Last Name First Name

    XXX@XXX Bloggs Joe
    YYY@YYY Bloggs Joe
    ZZZ@ZZZ Bloggs Joe
    AAA@AAA Smith Craig
    ETC.

    Unfortunately as shown above, the email addresses are fine and are in order, however the names are repeated for 3 or 4 lines.

    Is there any way for the name just to appear once so that Joe Bloggs has the email address XXX@XXX and Craig Smith has the email address YYY@YYY etc.

    Thanks!

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,916

    Re: Repeating Names

    Why would Craig Smith have an E-mail address that is associated with Joe Bloggs? Are you wanting to see only the first E-mail address associated with each person?
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    10-19-2015
    Location
    edinburgh
    MS-Off Ver
    mac 2011
    Posts
    2

    Re: Repeating Names

    The email list doesn't need changing.

    It's that the first name repeats for a few rows and then the next name repeats for a few rows. Instead they should only appear once.

    So the name list so be Joe Bloggs, then Craig Smith etc.

  4. #4
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Repeating Names

    See if this works with your live data.

    Row\Col
    A
    B
    C
    D
    E
    F
    1
    XXX@XXX Bloggs Joe
    1
    XXX@XXX Bloggs Joe In C1:C4 helper column :=IF(COUNTIF($B$1:B1,B1)=1,ROWS($1:1),"")
    2
    YYY@YYY Bloggs Joe YYY@YYY Smith Craig In D1:E4 :=IFERROR(INDEX(A$1:A$4,CHOOSE(COLUMNS($A:A),IF(ROWS($1:1)<=COUNT($C$1:$C$4),ROWS($1:1),""),SMALL($C$1:$C$4,ROWS($1:1)))),"")
    3
    ZZZ@ZZZ Bloggs Joe
    4
    AAA@AAA Smith Craig
    4
    Last edited by FlameRetired; 10-19-2015 at 02:25 PM.
    Dave

+ 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. pick a name out of list of 20 names without repeating names picked
    By gammoneer2b in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 12-06-2014, 10:14 AM
  2. How to List Only Non-repeating Names?
    By omaral in forum Excel General
    Replies: 4
    Last Post: 03-05-2014, 04:07 PM
  3. quantifying repeating names
    By Cashew in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-26-2012, 11:59 PM
  4. Random Names and Numbers (non-repeating)
    By mitchp in forum Excel General
    Replies: 5
    Last Post: 01-15-2011, 10:29 PM
  5. How to filter repeating Names
    By ctrl lady in forum Excel General
    Replies: 4
    Last Post: 08-18-2006, 05:57 AM
  6. List of repeating names
    By johnT in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 03-29-2005, 06:06 PM
  7. random non-repeating names
    By rivet in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-18-2005, 10: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