iken
Mechanical
- May 13, 2003
- 151
Hi,
Just wondering if anyone knew of a way to sort a bunch of numbers, based on a formulea (macro is easy, but would like a formulea.
What I am trying to do is sort some numbers based on a frequency they show up.
i.e
Numbers 1 2 3 4 5 etc
Freq 4 5 1 1 0 etc
I also need to take into account differeing numbers that have the same freq as others.
So my result would be (from most freq to least)
Result 2 1 3 4 5
Thanks,
Just wondering if anyone knew of a way to sort a bunch of numbers, based on a formulea (macro is easy, but would like a formulea.
What I am trying to do is sort some numbers based on a frequency they show up.
i.e
Numbers 1 2 3 4 5 etc
Freq 4 5 1 1 0 etc
I also need to take into account differeing numbers that have the same freq as others.
So my result would be (from most freq to least)
Result 2 1 3 4 5
Thanks,