Say there is a series of numbers 1, 2, 3, 4, 5, 6, 7, 8
I want to map this series to another set of values. For example
Series | Mapped Value
1, 1
2, 1
3, 1
4, 1
5, 2
6, 2
7, 2
8, 2
9, 3
10, 3
etc.
Does anyone know a good/general way of doing this in VBA, and therefore probably any other language? I've looked at using the Mod function, but it never seems as simple as it should be.
I want to map this series to another set of values. For example
Series | Mapped Value
1, 1
2, 1
3, 1
4, 1
5, 2
6, 2
7, 2
8, 2
9, 3
10, 3
etc.
Does anyone know a good/general way of doing this in VBA, and therefore probably any other language? I've looked at using the Mod function, but it never seems as simple as it should be.
Comment