+ Reply to Thread
Results 1 to 8 of 8

Allocating the most repeated text and sorting it in a specific cell

  1. #1
    Registered User
    Join Date
    01-26-2023
    Location
    Weggis, Switzerland
    MS-Off Ver
    Microsoft 365 Apps for Business Version 2102
    Posts
    13

    Allocating the most repeated text and sorting it in a specific cell

    Dear All

    I am stuck with the filter function I do not know how to sort the data.

    This is what I need:

    1. System checks the Missed points section
    2. System find the most repetitive text from the table
    3. System sorts out the repetitive text per What section
    4. Make a top 3 list of missed points per What section

    So if text "a" appeared 5 times in the list under the Check in then it should go to the list "Top 3 missed for Check in"

    For an example please see the excel document attached
    Attached Files Attached Files

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,984

    Re: Allocating the most repeated text and sorting it in a specific cell

    One way:

    =LET(a,TOCOL(FILTER($B$2:$E$11,$A$2:$A$11=H1)),u,UNIQUE(a),TAKE(SORTBY(u,MAP(u,LAMBDA(c,SUM(N(a=c)))),-1),3))

    copied ACROSS.
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  3. #3
    Registered User
    Join Date
    01-26-2023
    Location
    Weggis, Switzerland
    MS-Off Ver
    Microsoft 365 Apps for Business Version 2102
    Posts
    13

    Re: Allocating the most repeated text and sorting it in a specific cell

    Hi thank for the code but when I try to understand the code or make changes with the rows it gives me an error #NAME and doesn't want to come back I need to close the worksheet and open it again

  4. #4
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,984

    Re: Allocating the most repeated text and sorting it in a specific cell

    Hi. Before we get going on this one...

    Is your forum profile showing the Excel PRODUCT that you need this request to work with?

    The best solutions often rely on knowing WHICH Office PRODUCT (Excel, NOT Windows) that you have. Please check that your forum profile is up-to-date. If you aren't sure, in Excel go to File/Account and report what it says below the MS logo at the top of that page. If your version is for Mac, please also state this.

    The three most recent Excel PRODUCTS are Excel 2019, Excel 2021 and MS365 - if you are using MS365, please give this name along with the Version number in your profile (e.g. MS365 (PC) Version 2211). The version number is in the About Excel section further down the Account page.

    Cheers,

    Glenn.
    Attached Images Attached Images

  5. #5
    Registered User
    Join Date
    01-26-2023
    Location
    Weggis, Switzerland
    MS-Off Ver
    Microsoft 365 Apps for Business Version 2102
    Posts
    13

    Re: Allocating the most repeated text and sorting it in a specific cell

    Microsoft 365 Apps for Business
    Version 2102

  6. #6
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,984

    Re: Allocating the most repeated text and sorting it in a specific cell

    By O365 standards... that's a bit ancient. Back to the drawing board.

  7. #7
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,984

    Re: Allocating the most repeated text and sorting it in a specific cell

    A bit more cumbersome... but there it is!!

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    copied ACROSS.
    Attached Files Attached Files

  8. #8
    Registered User
    Join Date
    01-26-2023
    Location
    Weggis, Switzerland
    MS-Off Ver
    Microsoft 365 Apps for Business Version 2102
    Posts
    13

    Re: Allocating the most repeated text and sorting it in a specific cell

    Thank you very much. Works perfectly

+ 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] Extracting specific multiple text in cell and sorting into individual cell
    By synergy80 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 09-21-2022, 04:30 AM
  2. Allocating data/text from one cell to another.
    By qconnect in forum Excel General
    Replies: 5
    Last Post: 09-20-2016, 04:58 AM
  3. Color Cell Based on Specific Text in Other Cell and Sorting Based on Results
    By kre30a in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-24-2016, 07:51 PM
  4. [SOLVED] specific words repeated in a cell
    By ba13 in forum Excel General
    Replies: 7
    Last Post: 04-20-2016, 02:14 PM
  5. Macro for sorting data in a group and to calculate repeated text
    By vigneshkumar in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 01-04-2013, 07:43 AM
  6. Applying formatting to specific repeated blocks of text in Mail Merge generated documents
    By Uncle Bojangles in forum Word Programming / VBA / Macros
    Replies: 1
    Last Post: 04-01-2012, 08:47 AM
  7. [SOLVED] Printing text in a repeated cell/row that is longer than repeated
    By Valerie Dyet in forum Excel General
    Replies: 1
    Last Post: 02-12-2006, 11:30 PM

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