ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Counting No of character in a string (https://www.excelbanter.com/excel-worksheet-functions/246788-counting-no-character-string.html)

Chandrashekar B

Counting No of character in a string
 
Hi,

I have a data for ex a;b;c;d in a cell if i find ";" excel formula should
display result as 3 because no of occurence of ";" in a cell is 3.

I need a excel formula to do this help me out.

Jacob Skaria

Counting No of character in a string
 
Hi Chandrashekar

Try the below
=LEN(A1)-LEN(SUBSTITUTE(A1,";",))

If this post helps click Yes
---------------
Jacob Skaria


"Chandrashekar B" wrote:

Hi,

I have a data for ex a;b;c;d in a cell if i find ";" excel formula should
display result as 3 because no of occurence of ";" in a cell is 3.

I need a excel formula to do this help me out.



All times are GMT +1. The time now is 04:21 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com