Assigning gender titles based on name lookup in Airtable

I’m trying to figure out how to automate gender-specific titles in Airtable. Here’s what I’m working with:

  • A ‘Data’ table with ‘Male’ and ‘Female’ columns, each containing about 30,000 names
  • A ‘Work’ table with ‘Name’ and ‘Title’ columns

What I want to do:

  • If a name from ‘Work’ is found in the ‘Male’ column of ‘Data’, set the title to ‘Herr’
  • If it’s in the ‘Female’ column, set it to ‘Frau’
  • If not found, set it to ‘no data’

I did this easily in Google Sheets, but I’m stuck in Airtable. Is this doable? Am I using the wrong tool?

The goal is to automate addressing people correctly in German (Dear Sir/Madam). I’ve got a big list of names and genders, but I can’t figure out how to use it in Airtable like I did in Sheets.

Any ideas on how to tackle this in Airtable? Thanks!

While Airtable is powerful, it might not be the best tool for this specific task, especially with such a large dataset. Have you considered using a dedicated database system like MySQL or PostgreSQL? These systems would handle 30,000+ names more efficiently and allow for quicker lookups.

If you’re set on using Airtable, you could try creating a separate table for each gender to reduce the data load. Then use lookup fields and formulas as others have suggested. However, this approach might still be slow when processing large datasets.

Another option is to use Airtable’s API with a custom script. This method allows you to process the data in batches, which could be more manageable. It requires some coding, but it’s more scalable for large datasets.

Ultimately, the right tool depends on your specific needs and technical capabilities.

I’ve tackled a similar challenge in Airtable before. Here’s what worked for me:

Create a lookup field in your ‘Work’ table that searches for the name in both the ‘Male’ and ‘Female’ columns of your ‘Data’ table. Then, use a formula field to determine the title based on the lookup results.

The formula might look something like this:

IF(SEARCH(Name, {Data Table}.[Male]), ‘Herr’,
IF(SEARCH(Name, {Data Table}.[Female]), ‘Frau’,
‘no data’))

This approach should automate the process for you. Just make sure your ‘Data’ table is comprehensive and up-to-date.

One caveat: This method might slow down with very large datasets. If you run into performance issues, consider breaking your data into smaller chunks or exploring Airtable’s scripting options for more efficient processing.

hey, airtable can do it but it’s a bit tricky. try a lookup field to connect names from ur data tble and then a formula to set the title. if u still cant get it then the forum might help.