TEXTJOIN / HR Administrator

Compiling Department Employee Rosters

An HR administrator frequently needs to generate a quick list of employee names for a specific department or team, formatted as a single string with semicolons as separators. This roster might be used for internal communication, team meeting invitations, or to provide a quick overview to a team lead. Manually listing and separating names is inefficient and can lead to formatting inconsistencies.

formula.xlsx
=TEXTJOIN("; ",TRUE,B2:B5)

How it works: The `TEXTJOIN` function combines the employee names from the specified range `B2:B5`. The delimiter `"; "` ensures each name is separated by a semicolon followed by a space, creating a clean, readable list. The `TRUE` argument is crucial as it instructs Excel to ignore any blank cells within the range, preventing unnecessary semicolons in the final roster.

Data Setup

Employee ID Employee Name Department
1001 Alice Smith Marketing
1002 Bob Johnson Marketing
1003 Charlie Brown Sales
1004 Diana Prince Marketing

Step-by-Step Guide

1

Identify the column containing the employee names you want to list (e.g., column B).

2

Select the specific range of employee names (e.g., B2:B5).

3

In an empty cell, type the formula `=TEXTJOIN("; ",TRUE,B2:B5)`.

4

Press Enter to display the combined employee roster string.

Explore More