Return a list of all matching headings for each row

MichelleNeedsHelp

New Member
Joined
Jul 7, 2023
Messages
5
Office Version
  1. 365
Platform
  1. MacOS
Hi there. I'm not that great at Excel formulas and am hoping there is an easy way to do this. I have a relatively lengthy spreadsheet that is being used to track packages we provide to customers. The packages are grouped by tags, so when setting up a new customer, I would like to generate a list of the tags that are to be included for that customer rather than having to scroll through this massive spreadsheet and check each column individually. Eventually, I would like the ability to email the contents of the cell that contains this final list to the user that enters it, but for now, I just need a way to generate the entire list into a cell. Currently, this whole spreadsheet has been manually entered with no automation. I am looking to automate it as much as possible.

1. The tag columns span from column H to column W.
2. I need a way to identify all of the columns that are marked "True" for that client and return the column heading name (i.e. the name of the tag) to a list preferably in one cell located in the same row as the client. In the picture I am attaching, there is a column called "Include Tag" which is ultimately what I would love to have it look like (except not manually typed, lol).

Also, I feel like having these tag cells marked as "TRUE" might be problematic for formulas. Would love to change it to checkmarks. Is there a way to do that quickly?

I just can't seem to figure out how to do this.

Any help or guidance would be appreciated.
 

Attachments

  • Test.png
    Test.png
    96.4 KB · Views: 5

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!
TRUE is a great cell tag.

MrExcelPlayground18.xlsx
HIJKLMNOPQRSTUVWX
1Header 1Header 2Header 3Header 4Header 5Header 6Header 7Header 8Header 9Header 10Header 11Header 12Header 13Header 14Header 15Header 16Tag
2TRUETRUETRUETRUETRUETRUETRUETRUETRUEHeader 1 Header 2 Header 4 Header 6 Header 8 Header 9 Header 12 Header 15 Header 16
3TRUETRUEHeader 7 Header 13
4TRUETRUEHeader 7 Header 13
5TRUETRUETRUETRUEHeader 9 Header 11 Header 14 Header 15
6TRUETRUETRUETRUETRUEHeader 2 Header 6 Header 10 Header 13 Header 16
Sheet19
Cell Formulas
RangeFormula
X2:X6X2=TEXTJOIN(CHAR(10),TRUE,FILTER($H$1:$W$1,H2:W2))
 
Upvote 0
Solution

Forum statistics

Threads
1,215,073
Messages
6,122,975
Members
449,095
Latest member
Mr Hughes

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top