So I have a master list of companies, people, and their title and separate sheets for each company. I want each company sheet to lookup if each person listed for their company is C-Level or above(CEO, President, CFO, etc) and then list all of the C-Level names on that company sheet horizontally.
I started by adding a column to the master sheet that sees if the job title has any of the C-Level words/titles and then to eturn true if they are C-Level, or False if they are not. This worked totally fine.
However, I am stuck on how to move those names over to the company sheet. I am able to move the first one listed for the company using this formula. =IF(ISNUMBER(SEARCH((VLOOKUP(A1,Sheet2!A:C,3,FALSE)), "TRUE")), VLOOKUP(A1,Sheet2!A:C,2,FALSE), 0). However, I do not know how to get the rest of the people that are C-Level.
The company name is in cell A1 for each sheet and I am matching that cell to the company name in the master sheet. How do I make it so it copies over the first C-Level person, then continues down the rows, putting C-Level people in a horizontal list, until it reaches a row that does not match the company name?
I have an example below with stuff I made up because of confidentiality.
Screenshot (7).png
Screenshot (10).png
What I want is a result like this:
Screenshot (11).png
On the actual one however, I have 862 rows on the master sheet and 7 columns.
Thanks!
Bookmarks