Formula Help

ststern45

Well-known Member
Need help with a formula:

I have numbers ranging from 000000 through 999999

The numbers can be grouped:

Can be in any order.

123456 = No Match = 0

999999 = sextuplet = 6/1

999991 = quintuple/single = 5/1 (1 = no repeats)

999912 = Quadruple/singles = 4/1 (1 = no repeats)
999911 = Quadruple/double = 4/2 (2 = double)

999888 = Triple/Triple = 3/3 (3 = triple/3 = triple)
999123 = Triple/Single = 3/1 (3 = triple/1 = singles)
999122 = Triple/double = 3/2 (3 = triple/2 = double)

998877 = Double/Double/Double = 2/2/2 (2 = double/2 = double/2 = double)
998812 = Double/Double/Single = 2/2/1 (2 = double/2 = double/1 = singles)
991234 = Double/Single = 2/1 (2 = double/1 = singles)

Is their a way to classify each of the above into separate results such as "0", "6/0", "5/1", "4/1", etc.?

Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney
Re: Forlmula Help

just a question, 900009 how does that get treated

Re: Forlmula Help

900009

Treat in smallest form:

000099

Re: Forlmula Help

That's sort of what I thought might happen, but I wasn't sure from what was published

Replies
11
Views
256
Replies
5
Views
233
Replies
3
Views
228
Replies
0
Views
131
Replies
6
Views
191

Forum statistics

1,203,491
Messages
6,055,727
Members
444,814
Latest member
AutomateDifficulty

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.

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

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