Hello,
I am need of some assistance with a formula to calcualte some averages. I have the following range 85, 90, 95 and 97 each are given a value 0.5, 1.0, 1.5 and 2 respectively. I am using this formula to arrive at a number depending on where the Avg number lands.
=SUM(HLOOKUP(FLOOR(B1,5),$D$2:$G$3,2)+HLOOKUP(CEILING(B1,5),$D$2:$G$3,2))/2
Now an example of what I need this formula to do is if my Avg is 91 the result I want back is 1.1 and instead I am getting 1.25
I am using HLOOKUP because the range and the values are in the following format.
A 85 90
B 1.0 1.5
Also if the number is less than 85 the result is 0 and if the number is greater than 97 it remains goes no higher than 2.
Thank you for any assistance that can be provided!
I am need of some assistance with a formula to calcualte some averages. I have the following range 85, 90, 95 and 97 each are given a value 0.5, 1.0, 1.5 and 2 respectively. I am using this formula to arrive at a number depending on where the Avg number lands.
=SUM(HLOOKUP(FLOOR(B1,5),$D$2:$G$3,2)+HLOOKUP(CEILING(B1,5),$D$2:$G$3,2))/2
Now an example of what I need this formula to do is if my Avg is 91 the result I want back is 1.1 and instead I am getting 1.25
I am using HLOOKUP because the range and the values are in the following format.
A 85 90
B 1.0 1.5
Also if the number is less than 85 the result is 0 and if the number is greater than 97 it remains goes no higher than 2.
Thank you for any assistance that can be provided!