+ Reply to Thread
Results 1 to 9 of 9

extract one of the duplicate names in the table below

  1. #1
    Registered User
    Join Date
    10-14-2018
    Location
    turkey
    MS-Off Ver
    2016
    Posts
    31

    extract one of the duplicate names in the table below

    hi
    I want to extract one of the duplicate names in the table below, and add the numbers to each step. for example, James has been repeated in weeks 1 and 2 (cells d4 and d5 ) then in cell o4 once Is written james, and the numbers of each step are combined.The name of James is repeated again in cells D9 to D11. Thus, in the cell o5, the name of James is written again and the numbers of each step are summed up.

  2. #2
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: extract one of the duplicate names in the table below

    Please see attached

    N4
    =INDEX($C$4:$C$21,AGGREGATE(15,6,MATCH($C$4:$C$21,$C$4:$C$21,)/($C$4:$C$21<>$C$3:$C$20),ROWS(N$4:N4)))

  3. #3
    Registered User
    Join Date
    10-14-2018
    Location
    turkey
    MS-Off Ver
    2016
    Posts
    31

    Re: extract one of the duplicate names in the table below

    thanks a lot
    but How can I get the last column (numbers of the week)?

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,939

    Re: extract one of the duplicate names in the table below

    I have not opened the file, but the suggested formula is pulling from col C $C$4:$C$21
    Adjust that so that it pulls from the column you want
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  5. #5
    Registered User
    Join Date
    10-14-2018
    Location
    turkey
    MS-Off Ver
    2016
    Posts
    31

    Re: extract one of the duplicate names in the table below

    I could not do it. Please help me

  6. #6
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: extract one of the duplicate names in the table below

    Function textjoin is needed to do in 1 cell, which I don't have.

    for difference cell,

    Y4 press Ctrl+Shift+Enter drag to AF4 and drag down

    =IFERROR(AGGREGATE(15,6,$B$4:$B$21/(IF($C$4:$C$21=$N4,$B$4:$B$21)** more in attached, Some how I can't post long formula
    Last edited by Bo_Ry; 10-31-2018 at 12:01 AM. Reason: Attched wrong files

  7. #7
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: extract one of the duplicate names in the table below

    Sorry, sami204098

    I attached wrong files, please download again from post #6

  8. #8
    Registered User
    Join Date
    10-14-2018
    Location
    turkey
    MS-Off Ver
    2016
    Posts
    31

    Re: extract one of the duplicate names in the table below

    If the first column was used instead of the number of letters, for example one two three instead 1 2 3 , What should I do now?

  9. #9
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: extract one of the duplicate names in the table below

    Change $B$4:$B$21 to (ROW($B$4:$B$21)-ROW($B$3))

    You can use Ctrl + H for replace at once, but still need Ctrl+Shift+Enter after replace

+ 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. [SOLVED] Extract names according to order from table
    By YasserKhalil in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 10-16-2016, 06:05 PM
  2. Extract rows if names are meet names in named range
    By Serggio in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-19-2015, 07:26 AM
  3. Replies: 9
    Last Post: 02-24-2014, 06:12 PM
  4. [SOLVED] extract Table names in a sheet
    By SMILE in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-18-2013, 07:33 AM
  5. Replies: 11
    Last Post: 10-21-2012, 01:40 AM
  6. Macro to extract table names
    By gouthaman in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-20-2011, 03:02 PM
  7. Pivot Table Showing Duplicate Names
    By realniceguy5000 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-14-2009, 07:49 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