Summerrr

New Member
Joined
Aug 9, 2017
Messages
4
Hi guys,

I have a question about the "count" formulas in excel. In the cell below, there are 10 sets of 3-digit-code in there. I'm wondering what the formula would be in order for me to count the sets with in this cell. Can anyone help me with this please?

M22 D01 D07 D09 D92 Db5 Db6 Du3 Du5 Dv3

<tbody>
</tbody>

<tbody>
</tbody>
 

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.
If the codes were all entered in a single cell, with Alt+Enter used to drop to a new line within the cell, then the formula would need to be:
=LEN(SUBSTITUTE(A1,CHAR(10),""))/3
The Alt+Enter puts in a line-feed character (Char(10))
 
Last edited:
Upvote 0
Hi Jonmo1,

Thanks for the answer! I pasted this formula in excel and the number it returned is 13 instead of 10...And no there are only 10 sets of 3 digit codes in that cell.
 
Upvote 0

Forum statistics

Threads
1,216,045
Messages
6,128,480
Members
449,455
Latest member
jesski

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