This custom function predicts gender based on an email address using GenderAPI.io. The function intelligently extracts names from email usernames and matches them against a global dataset.
This function works with the GenderAPI for Microsoft Excel Add-in.
To use it, please make sure you have the add-in installed:
https://appsource.microsoft.com/en-us/product/office/WA200008555
=GENDER.FROM_EMAIL(email, [enable_additional_info], [country])
If enable_additional_info
is 0 or omitted:
➤ Returns a single value: male
, female
, or null
.
If enable_additional_info
is 1:
➤ Returns a 1-row, 4-column array with:
Gender | Probability | Most Likely Country | Matched Name |
---|---|---|---|
female | 94 | US | emily |
Example 1: Predict gender from email
=GENDER.FROM_EMAIL("alex.johnson@example.com")
Example 2: Include extended info
=GENDER.FROM_EMAIL("emily.j@example.com", 1)
Example 3: Add country filter for better results
=GENDER.FROM_EMAIL("andrea.rossi@domain.com", 1, "IT")
enable_additional_info
is set to 1.