Count occurences of a character in a cell in LibreOffice

Let’s say you have a list of e-mails in a column in LibreOffice Calc spreadsheet and you want to see if there are cells which contain more than one e-mail address.

To do that you can use the formula below (assuming your e-mails are stored in column A) which will show the number of symbols @ in the particular cell:

=LEN(A1)-LEN(SUBSTITUTE(A1,”@”,””))

Advertisements


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s