gerald8000
New Member
- Joined
- Oct 13, 2016
- Messages
- 7
How can I count the number of didgits in a range up to a max value?
If Cell A1 had a value of 23. How can I calculate the B3:B12?
[TABLE="width: 500"]
<tbody>[TR]
[TD]
[/TD]
[TD]A
[/TD]
[TD]B
[/TD]
[/TR]
[TR]
[TD]1
[/TD]
[TD]23
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]2
[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]3
[/TD]
[TD]Number of 1's (1, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 21)
[/TD]
[TD]13
[/TD]
[/TR]
[TR]
[TD]4
[/TD]
[TD]Number of 2's (2, 12, 22) =
[/TD]
[TD]4
[/TD]
[/TR]
[TR]
[TD]5
[/TD]
[TD]Number of 3's (3, 13, 23) =
[/TD]
[TD]3
[/TD]
[/TR]
[TR]
[TD]6
[/TD]
[TD]Number of 4's (4, 14) =
[/TD]
[TD]2
[/TD]
[/TR]
[TR]
[TD]7
[/TD]
[TD]Number of 5's (5, 15) =
[/TD]
[TD]2
[/TD]
[/TR]
[TR]
[TD]8
[/TD]
[TD]Number of 6's (6, 16) =
[/TD]
[TD]2
[/TD]
[/TR]
[TR]
[TD]9
[/TD]
[TD]Number of 7's (7, 17) =
[/TD]
[TD]2
[/TD]
[/TR]
[TR]
[TD]10
[/TD]
[TD]Number of 8's (8, 18) =
[/TD]
[TD]2
[/TD]
[/TR]
[TR]
[TD]11
[/TD]
[TD]Number of 9's (9, 19) =
[/TD]
[TD]2
[/TD]
[/TR]
[TR]
[TD]12
[/TD]
[TD]Number of 0's (10, 20) =
[/TD]
[TD]2
[/TD]
[/TR]
</tbody>[/TABLE]
If Cell A1 had a value of 23. How can I calculate the B3:B12?
[TABLE="width: 500"]
<tbody>[TR]
[TD]
[/TD]
[TD]A
[/TD]
[TD]B
[/TD]
[/TR]
[TR]
[TD]1
[/TD]
[TD]23
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]2
[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]3
[/TD]
[TD]Number of 1's (1, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 21)
[/TD]
[TD]13
[/TD]
[/TR]
[TR]
[TD]4
[/TD]
[TD]Number of 2's (2, 12, 22) =
[/TD]
[TD]4
[/TD]
[/TR]
[TR]
[TD]5
[/TD]
[TD]Number of 3's (3, 13, 23) =
[/TD]
[TD]3
[/TD]
[/TR]
[TR]
[TD]6
[/TD]
[TD]Number of 4's (4, 14) =
[/TD]
[TD]2
[/TD]
[/TR]
[TR]
[TD]7
[/TD]
[TD]Number of 5's (5, 15) =
[/TD]
[TD]2
[/TD]
[/TR]
[TR]
[TD]8
[/TD]
[TD]Number of 6's (6, 16) =
[/TD]
[TD]2
[/TD]
[/TR]
[TR]
[TD]9
[/TD]
[TD]Number of 7's (7, 17) =
[/TD]
[TD]2
[/TD]
[/TR]
[TR]
[TD]10
[/TD]
[TD]Number of 8's (8, 18) =
[/TD]
[TD]2
[/TD]
[/TR]
[TR]
[TD]11
[/TD]
[TD]Number of 9's (9, 19) =
[/TD]
[TD]2
[/TD]
[/TR]
[TR]
[TD]12
[/TD]
[TD]Number of 0's (10, 20) =
[/TD]
[TD]2
[/TD]
[/TR]
</tbody>[/TABLE]