Sorry for any confusion - it's obviously clear in my head

, but I see how it might not have come out right...

I was trying to say that the size of each TYPE A (if there are any) needs to be bigger than the size of each TYPE B (if there are any), which in turn needs to be bigger than the size of each TYPE C (if there are any).

The complication arises because in any individual case there may (or may not) be any TYPE As, or TYPE Bs, or TYPE Cs.

Let me try and show you some examples of these scenarios.

NB - I don't have answers for them that's why I need a formula...

Example 1

NUMBER = 1000

I have 2x TYPE A

I have 1x TYPE B

I have 4x TYPE C

I need 1000 to be divided into 7 parts (2+1+4), I need both the A's to be the same size as each other, and all four C's to be the same size as each other. But I need each one of the 2x TYPE As to be greater in size than each one of the 4x TYPE Cs.

========

Example 2

NUMBER = 2000

I have 0x TYPE A

I have 4x TYPE B

I have 6x TYPE C

I need 2000 to be divided into 6 parts (0+4+6), I need all four B's to be the same size as each other, and all six C's to be the same size as each other. But I need each one of the 4x TYPE Bs to be greater in size than each one of the 6x TYPE Cs.

========

Example 3

NUMBER = 12,000

I have 15x TYPE A

I have 1x TYPE B

I have 1x TYPE C

I need 12,000 to be divided into 17 parts (16+1+1), I need all fifteen A's to be the same size as each other, and I need each one of the 15x TYPE As to be greater in size than the single TYPE B, which itself needs to be greater in size than the single TYPE C.

In all the real life cases, I'll know the NUMBER, and how many of each TYPE I have. What I want to work out is what each A, B or C is equal to; and I need it to be a repeatable forumula so that it always works out on the same criteria.

Does that make it any clearer...?