Wad Mabbit
Board Regular
- Joined
- Mar 31, 2016
- Messages
- 74
- Office Version
- 2016
- Platform
- Windows
I want to return a list of headers in column R
Column n contains extracted phone numbers, which I use as ID's
Where TRUE exists in any row of a column AB to AK,
that header (AB1 .. AK1)) is returned plus a line break,
for each of columns AB:AK where there is any TRUE in a row that has the same number.
So if I have mattches in N5, N8 and N9 any TRUE matches in AB5, AB8, AB9 ... AK5, AK8, AK9 return the headers in AB1, AB1, AB1
E.g. N5, N8 and N9 share a phone number 0411 222 333
AB5, AC5, AD5 are TRUE
AF8, AG8 are TRUE
AK9 is TRUE
Therefore columns AB, AC, AD, AF, AG and AK are triggers to return the headers AB1, AC1, AD1, AF1, AG1 and AK1
...with a line break, say Char(10) to separate them.
What am I doing? I have an appointment record where I record subjects covered. I would like to list what subjects have been covered so that I can focus on thos not yet covered. So I hope to generate a list for each appointment as a checklist.
The first image is Google Sheets. The 2nd is Excel 365. I prefer a solution to Sheets, but would like both (if different).
Thanks in advance for helping with this brain twister..