If Column is X, display text

FelVuk

New Member
Joined
Jan 2, 2024
Messages
7
Office Version
  1. 365
Platform
  1. Windows
  2. MacOS
I have a list of names and all the countries. Column 1 is filled with names and the following columns represent all the countries of the world. In each row, there's an 'X' under the country that person has visited.
On another tab, I'm listing some of these names using the formula FILTER. In the following column I'd like to list every country where there's an 'X' for that person.
For example, in Cell A3, I have this formula: =FILTER(Table1[Name, first name];Table1[Age]=“20-25”;””), which gives Thomas. In Cell B3, I want all the countries where Thomas has an 'X', so that in Cell U3, I will get: Belgium, Tanzania, Poland.
 

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.
In that case the data you posted is not an accurate reflection of your real data.
 
Upvote 0
In that case the data you posted is not an accurate reflection of your real data.
The only difference are the names and countries for security reasons.
Your formula gave me #CALC!
 
Upvote 0

Forum statistics

Threads
1,223,886
Messages
6,175,195
Members
452,616
Latest member
intern444

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