+ Reply to Thread
Results 1 to 12 of 12

Summary of names on Excel and GoogleSheets.

  1. #1
    Forum Contributor
    Join Date
    08-19-2012
    Location
    Sydney
    MS-Off Ver
    MS Office 365/16
    Posts
    282

    Summary of names on Excel and GoogleSheets.

    Hi,

    I have attached a document. In Column A is a list of names separated by commas. In Column B is the output/result that I would like to have to summarise the list of names.

    If you need further information, please let me know.

    Thanks
    Attached Files Attached Files
    Last edited by sirdon; 05-12-2020 at 12:50 AM.

  2. #2
    Forum Contributor
    Join Date
    03-18-2014
    Location
    Singapore
    MS-Off Ver
    Excel 2016 / 2019
    Posts
    251

    Re: Summary of names

    Hi sirdon, may be you can download power query (excel 2010 add-on)

    this can be done by power query editor (one off steps mostly user interface and some simple M. code) to achieve what you want

    Attached is the results and also the code for you to paste to power query editor

    you can insert a new value in Sheet1 row 6, then goto output worksheet and right click on the table refresh, you can see the result instanty


    Chris
    Attached Files Attached Files
    Christopher Yap

  3. #3
    Forum Contributor
    Join Date
    08-19-2012
    Location
    Sydney
    MS-Off Ver
    MS Office 365/16
    Posts
    282

    Re: Summary of names

    Will see if someone else comes up with a different way without having to do that. Ideally i need this to work in googlesheets as well.

  4. #4
    Forum Contributor
    Join Date
    08-19-2012
    Location
    Sydney
    MS-Off Ver
    MS Office 365/16
    Posts
    282

    Re: Summary of names

    Here is a google link for the document: https://docs.google.com/spreadsheets...it?usp=sharing

  5. #5
    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,647

    Re: Summary of names

    Please update the thread title to say that this needs to work on Excel and GoogleSheets.
    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.

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

    Re: Summary of names on Excel and GoogleSheets.

    This one works with Excel 365, Excel online, Google sheet
    Pleaes try
    Formula: copy to clipboard
    Please Login or Register  to view this content.



    For score sort Excel and Google sheet work diffrently

    This only works with Excel
    Formula: copy to clipboard
    Please Login or Register  to view this content.



    This one only works with Google sheet
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files

  7. #7
    Forum Contributor
    Join Date
    08-19-2012
    Location
    Sydney
    MS-Off Ver
    MS Office 365/16
    Posts
    282

    Re: Summary of names on Excel and GoogleSheets.

    Thank you Bo_Ry, this works great. A huge appreciation to everyone again. Thanks

  8. #8
    Forum Contributor
    Join Date
    08-19-2012
    Location
    Sydney
    MS-Off Ver
    MS Office 365/16
    Posts
    282

    Re: Summary of names on Excel and GoogleSheets.

    Bo_Ry, I just noticed, there is an issue when i only have one name. An error comes up. Also if there is no name then return a blank cell.

    Here is the link again to view it: https://docs.google.com/spreadsheets...it?usp=sharing

    Thanks,
    Last edited by sirdon; 05-14-2020 at 12:44 AM.

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

    Re: Summary of names on Excel and GoogleSheets.

    Fixed by add =if(iserror(find(",",A2)),A2,

    and new formula in C4
    =ArrayFormula(TEXTJOIN("",,query(TRANSPOSE(trim(SPLIT(A2,",)"))), "select Col1, count(Col1) …

  10. #10
    Forum Contributor
    Join Date
    08-19-2012
    Location
    Sydney
    MS-Off Ver
    MS Office 365/16
    Posts
    282

    Re: Summary of names on Excel and GoogleSheets.

    That is great. I have now discovered another issue.

    If i have the same name twice and there is no other name, the first two formulas come up with an error. The third formula works, but an comma is displayed. Again the link will display this.

    As always I am greatly appreciated.

    Thanks,

  11. #11
    Forum Contributor
    Join Date
    08-19-2012
    Location
    Sydney
    MS-Off Ver
    MS Office 365/16
    Posts
    282

    Re: Summary of names on Excel and GoogleSheets.

    Bo_Ry, Sorry to keep at this, but obviously i keep testing things. If you now look at the link and see formula three (3), when i add in an extra name, there is no comma at all to separate the names. So i don't want a comma if there is only one (1) name. But once there is two (2) or more names, i need a comma to separate them. Many thanks

  12. #12
    Forum Contributor
    Join Date
    08-19-2012
    Location
    Sydney
    MS-Off Ver
    MS Office 365/16
    Posts
    282

    Re: Summary of names on Excel and GoogleSheets.

    Bo-Ry, thank you so much. Works amazingly well. Its a huge time and effort from you and i very much appreciate it.

+ 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. Pull in names to a summary sheet
    By scruz9 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-30-2018, 11:21 AM
  2. [SOLVED] Count Distinct Names in Team Summary
    By Jay_hl in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-11-2017, 11:15 AM
  3. Summary Sheet (Problem with TAB names)
    By TurTlepi in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-22-2015, 12:24 PM
  4. All worksheet names on summary page
    By sachinahj in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-26-2012, 03:05 PM
  5. Copy worksheet names into summary sheet
    By heathercoldsmith in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-02-2011, 06:09 PM
  6. How to generate a list of tab names in a summary sheet
    By deanJ in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-13-2009, 06:16 PM
  7. Creating a list of worksheet names on a Summary PAge
    By confusedexceler in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 12:05 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