Hi,
I need to be able to take a range of values, that will almost always not be sequential, and redistribute those values such that the cell to the right of each value is given a number between 200 and 400 based on the relative magnitude of the original value. The original values will have a range between 1 and 50, but the minimum and maximum values will usually not always be 1 and 50). It is important that the highest value will be given a new value of 400 and the lowest value is given a value of 200. All values in between need to be evenly distributed between these values based on the spread of the original values. It is also important that the code can deal with any number of original values between 1 and 200 (these are students' scores and there could potentially be between 1 and 200 students).
For example:
original values: new values:
22 ~270
40 ~380
14 200
46 400
39 ~375
32 ~310
The above "new values" (other than 200 and 400) are just guesses at what value they should be.
Any help will be appreciated. Thanks
I need to be able to take a range of values, that will almost always not be sequential, and redistribute those values such that the cell to the right of each value is given a number between 200 and 400 based on the relative magnitude of the original value. The original values will have a range between 1 and 50, but the minimum and maximum values will usually not always be 1 and 50). It is important that the highest value will be given a new value of 400 and the lowest value is given a value of 200. All values in between need to be evenly distributed between these values based on the spread of the original values. It is also important that the code can deal with any number of original values between 1 and 200 (these are students' scores and there could potentially be between 1 and 200 students).
For example:
original values: new values:
22 ~270
40 ~380
14 200
46 400
39 ~375
32 ~310
The above "new values" (other than 200 and 400) are just guesses at what value they should be.
Any help will be appreciated. Thanks