ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Counting Characters in a cell (https://www.excelbanter.com/excel-programming/324648-counting-characters-cell.html)

Jordan

Counting Characters in a cell
 
Well the title pretty much explains it,
I need to be able to count how many characters there are in a cell
so if the following are three different cells

11111 would return 5
1111 would return 4
111111 would return 6

Dave Peterson[_5_]

Counting Characters in a cell
 
=len(a1)



Jordan wrote:

Well the title pretty much explains it,
I need to be able to count how many characters there are in a cell
so if the following are three different cells

11111 would return 5
1111 would return 4
111111 would return 6


--

Dave Peterson


All times are GMT +1. The time now is 02:10 AM.

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