TEXTJOIN / Real Estate Agent

Compile Property Features List

I have columns for 'Pool', 'Garage', and 'Garden' marked with 'Yes' and want to join the feature names into a description.

formula.xlsx
=TEXTJOIN(", ", TRUE, IF(B2="Yes", "Pool", ""), IF(C2="Yes", "Garage", ""), IF(D2="Yes", "Garden", ""))

How it works: This TEXTJOIN formula efficiently combines property features into a single, readable string. The `", "` acts as the separator between features. `TRUE` for the second argument ensures that if a feature's IF statement returns an empty string (because the feature is 'No'), TEXTJOIN will ignore it, preventing extra delimiters. Each `IF(B2="Yes", "Pool", "")` statement checks if a specific feature column contains 'Yes'. If it does, the feature's name ('Pool', 'Garage', 'Garden') is included; otherwise, an empty string is returned. TEXTJOIN then intelligently concatenates only the non-empty feature names.

Data Setup

Property ID Pool Garage Garden
101 Yes Yes No
102 No Yes Yes
103 Yes No No
104 No No No

Step-by-Step Guide

1

Organize your property data with distinct columns for each feature (e.g., 'Pool', 'Garage', 'Garden'), using 'Yes' or 'No' to indicate presence.

2

Select the cell where you want the combined property features description to appear (e.g., E2, if your data starts in row 2).

3

Enter the TEXTJOIN formula, specifying the delimiter (e.g., ", "), setting the 'ignore_empty' argument to TRUE, and using IF statements to conditionally include feature names based on the 'Yes' value in their respective columns.

4

Press Enter to apply the formula to the first property.

5

Drag the fill handle (the small square at the bottom-right of the selected cell) down to apply the formula to all other properties in your list.

Explore More