Titanclaymore
New Member
- Joined
- Nov 30, 2013
- Messages
- 15
I am trying to create a formula that allows a set of data to be interrogated and then extract and display in set pattern. The data set will cover thousands of rows, for simplicity I have cut this to 15 with three columns
<colgroup><col width="64" style="width:48pt"> <col width="76" style="width:57pt"> <col width="64" style="width:48pt"> </colgroup><tbody>
</tbody>
The output will be to order the data in numerical order by hourly rate and where the values are the same, this must be sorted in gender order 1 female then 1 male then 1 female etc and if there are none of difference then the same gender will populate until the next new number has been found.
The finished outcome will look like this
<colgroup><col width="64" style="width:48pt"> <col width="76" style="width:57pt"> <col width="64" style="width:48pt"> </colgroup><tbody>
</tbody>
Can anyone help?
Name | Hourly Rate | Gender |
Person A | 8 | Female |
Person B | 8 | Female |
Person C | 8 | Female |
Person D | 8 | Male |
Person E | 8 | Female |
Person F | 7 | Female |
Person G | 7 | Male |
Person H | 7 | Male |
Person I | 7 | Male |
Person J | 7 | Female |
Person K | 7 | Male |
Person L | 6 | Male |
Person M | 6 | Male |
Person N | 6 | Female |
<colgroup><col width="64" style="width:48pt"> <col width="76" style="width:57pt"> <col width="64" style="width:48pt"> </colgroup><tbody>
</tbody>
The output will be to order the data in numerical order by hourly rate and where the values are the same, this must be sorted in gender order 1 female then 1 male then 1 female etc and if there are none of difference then the same gender will populate until the next new number has been found.
The finished outcome will look like this
Name | Hourly Rate | Gender |
Person A | 8 | Female |
Person D | 8 | Male |
Person B | 8 | Female |
Person C | 8 | Female |
Person E | 8 | Female |
Person F | 7 | Female |
Person G | 7 | Male |
Person J | 7 | Female |
Person H | 7 | Male |
Person I | 7 | Male |
Person K | 7 | Male |
Person L | 6 | Male |
Person N | 6 | Female |
Person M | 6 | Male |
<colgroup><col width="64" style="width:48pt"> <col width="76" style="width:57pt"> <col width="64" style="width:48pt"> </colgroup><tbody>
</tbody>
Can anyone help?