COALESCE returns the first non-NULL value from a short list of columns or literals.
highlighted = computed this step
Input table
Start with contact rows where some email and phone cells are NULL.
Contacts
Select query
Use COALESCE to choose email first, then phone, then a default label.
COALESCE email, phone, default
Output table
Each row gets the first non-NULL contact value.
best contact