Count number of entered data.

countryfan_nt

Well-known Member
Joined
May 19, 2004
Messages
758
Hello friends,

I have Cell A1. I want to a formula that would count the number of letters/numbers entered. Is there such a thing?

Thanks,
Nawaf
 

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.
Pekka,

What do you do if the is a space in-between two groups of letter of numbers, or any combination of letters and numbers?

Like: Pekka Vee. =LEN(A1) counts to 9. :eek:

RAM
 
Upvote 0
RAM said:
Pekka,

What do you do if the is a space in-between two groups of letter of numbers, or any combination of letters and numbers?

Like: Pekka Vee. =LEN(A1) counts to 9. :eek:

RAM

I am a simple man, so I have simple solutions.

There are certainly better ways with VBA and so.

1. Make Data- text to columns - with a space as a delimiter. This way you get rid of spaces.
2. Then CONCATENATE these new column into one column
3. Then use LEN formula.
Työkirja1
ABCD
1PekkaVeePekkaVee8
Taul1


PITUUS = LEN
KETJUTA = CONCATENATE
Sorry for my finish Excel :confused:
Pekka
:eek: :eek: :eek:
 
Upvote 0
Thanks Pekka,

I'm a simple man too and I don't the answer in my head either. The OP might not want to delete spaces and they might not be aligned to be removed with Data - Text to Columns in one try.

But I'm pretty sure I've seen the solution on this board before. We just need to wait until the right member enters.....

RAM
 
Upvote 0
This will subtract the 1st space, still working on how to do it if there are more than 1 spaces.

=LEN(A1)-COUNT(FIND(" ",A1,1))
 
Upvote 0
Aladin Akyurek said:
=LEN(SUBSTITUTE(A1," ",""))

Nice Aladin :biggrin: :biggrin:

I didn't find SUBSTITUTE in my finish Excel.
It's cool to learn everyday something new.

Thanks. :biggrin:

Pekka
:eek: :eek: :eek:
 
Upvote 0

Forum statistics

Threads
1,214,422
Messages
6,119,396
Members
448,891
Latest member
tpierce

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top