How do I say this for when certain records have empty fields?

Hi,

I have a dropdown on the front end and I want it to say:

“If 3 of my records have empty fields, then for those records display different text”

Currently it displays [First Name] from [Company] as the option caption

but I when the record in that table is a team, I want the option caption to display:

[Team] for those teams instead.

So options would be:

[First Name] from [Company]
[First Name] from [Company]
[Team]
[First Name] from [Company]
[Team]

etc.

How do I do that?

Jess