Cellgrids Cellgrids
Home › Excel formulas › Text › TEXTJOIN + IF (conditional join)

TEXTJOIN + IF (conditional join) Function in Excel: Syntax, Examples and Free Practice

By Rinkesh Shah, founder of Cellgrids.

TEXTJOIN + IF (conditional join) is an Excel Text function. Combines TEXTJOIN with an IF condition to join only the values that meet a certain criteria.

TEXTJOIN + IF (conditional join) syntax

=TEXTJOIN(", ", TRUE, IF(criteria_range=criteria, value_range, ""))

Arguments

When to use TEXTJOIN + IF (conditional join)

Building a comma-separated list of only the products that are currently in stock.

Practice TEXTJOIN + IF (conditional join) online, free

Open the live Excel-style spreadsheet and try TEXTJOIN + IF (conditional join) yourself. No Excel install or sign-up needed to start.

Practice TEXTJOIN + IF (conditional join) now →

More Text functions

Frequently asked questions

What does the TEXTJOIN + IF (conditional join) function do in Excel?

Combines TEXTJOIN with an IF condition to join only the values that meet a certain criteria.

What is the syntax of TEXTJOIN + IF (conditional join) in Excel?

The syntax is =TEXTJOIN(", ", TRUE, IF(criteria_range=criteria, value_range, "")). criteria_range: Range to test; criteria: Value to match; value_range: Range of values to potentially join.

Where can I practice TEXTJOIN + IF (conditional join) online for free?

Open the free live spreadsheet on Cellgrids and try TEXTJOIN + IF (conditional join) yourself. No Excel install is needed and you can start without signing up.

All Excel formulas · Cheat sheet · Excel exercises · Text functions · Excel case studies · Excel tutorials · Excel shortcuts