If want to extract the domain from an email address, you can do so with a formula that uses the RIGHT, LEN, and FIND functions. In the generic form above, email represents the email address you are working with.
In the example, we are using this formula:
Here’s how the formula works:
C4 contains the email address “[email protected]“.
At the core, this formula is extracting characters starting from the right, and using the FIND and LEN functions to figure out how many characters to extract.
LEN computes the length of the entire email address, which 19 characters.
FIND locates the “@” character inside the email address “[email protected]“. The “@” character is the 7th character, so FIND returns 7. The number 7 is then subtracted from the 19, which is 12. The number 12 is used as the second argument for the RIGHT function, which extracts 12 characters from the email address, starting from the right. The result is the domain, “scoodish.com“
Altogether, this formula works something like this