+ Reply to Thread
Results 1 to 10 of 10

Display different cells containing X

  1. #1
    Registered User
    Join Date
    01-17-2024
    Location
    BEL
    MS-Off Ver
    MS365 Version 2302
    Posts
    3

    Question Display different cells containing X

    I have a list of names and different key numbers. Column C is filled with names and the following columns F:X represent all the keys. In each row, there's an 'X' under the key number that person has.
    On another tab, I'm listing some of these names using the formula FILTER. In the following column I'd like to list every key where there's an 'X' for that person.
    For example, in Cell D3, I have this formula: =FILTER(Table1[Name, first name];Table1[UPDATE]="Add";""), which gives Peter. In Cell G3, I want all the keys that Peter has an 'X', so that in Cell G3, I will get: "1, 8, 15".
    See File as attachment.

    Test.xlsx

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,669

    Re: Display different cells containing X

    Maybe something like this:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    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. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,448

    Re: Display different cells containing X

    Administrative Note:

    Welcome to the forum.

    Is your forum profile showing the Excel PRODUCT that you need this to work for? Windows 10 is not what we need.

    Members will tailor the solutions they offer to the Office PRODUCT (Excel, NOT Windows) that you have. Please check that your forum profile is up-to-date in this respect. 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 product 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 Version 2306). This is in the About Excel section further down the Account page.

    Thanks.
    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.

  4. #4
    Registered User
    Join Date
    01-17-2024
    Location
    BEL
    MS-Off Ver
    MS365 Version 2302
    Posts
    3

    Re: Display different cells containing X

    This works! Thank you so much, been working on this for ages :D.
    One remark: When all cells are blank it gives me an #CALC! error. Is there any way to keep the cell blank when no X'es are found?

  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. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,448

    Re: Display different cells containing X

    Please address post #3.

  6. #6
    Registered User
    Join Date
    01-17-2024
    Location
    BEL
    MS-Off Ver
    MS365 Version 2302
    Posts
    3

    Re: Display different cells containing X

    Done.



    I think...

  7. #7
    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. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,448

    Re: Display different cells containing X

    Yes - thanks.

  8. #8
    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. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,448

    Re: Display different cells containing X

    Try this:

    =IFERROR(TEXTJOIN(", ",,FILTER(Table1[[#Headers],[1]:[19]],F2:X2="x")),"")

  9. #9
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,669

    Re: Display different cells containing X

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

  10. #10
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,669

    Re: Display different cells containing X

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

    Also, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of those who helped.

+ 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] Various cells click to display that cells value in another cell, is a macro the way?
    By waternut in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 06-26-2019, 02:53 PM
  2. [SOLVED] COUNT cells and IF ALL cells are blank do not display 0
    By Abu Abdurakhim in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 05-27-2013, 09:51 AM
  3. Replies: 11
    Last Post: 08-13-2012, 01:18 PM
  4. Replies: 5
    Last Post: 07-05-2012, 07:09 AM
  5. Replies: 3
    Last Post: 06-27-2012, 05:47 PM
  6. Replies: 4
    Last Post: 01-16-2012, 12:12 PM
  7. Display a hyphen in cells that link to BLANK cells
    By NicB in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-15-2010, 04:34 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