Excel formula questions

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?

[TABLE="class: outer_border, width: 500"]
<tbody>[TR]
[TD][TABLE="width: 64"]
<tbody>[TR]
[TD="class: xl68, width: 64"]M22 D01 D07 D09 D92 Db5 Db6 Du3 Du5 Dv3[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.
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,223,893
Messages
6,175,240
Members
452,621
Latest member
Laura_PinksBTHFT

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