How to extract a domain name from an email address in Google Sheets?

Use a Google Sheets formula to get a domain name from an email address.

The following formula will extract the domain name portion of an email address. This assumes the email address is cell A2:

=RIGHT(A2,Len(A2)-FIND("@",A2))