Forum Discussion
formula help - calculating score needed to bring score past certain marks
- Aug 08, 2022
Put this formula in J2 and drag it down to fill the column
=IF(3.5<$D2,"",(($C2*$D2)-(3.5*$C2))/(3.5-5))
Put this formula in K2 and drag in down to fill the column
=IF(4<$D2,"",(($C2*$D2)-(4*$C2))/(4-5))
cmckernan93 Same thought and result as Jagodragon though formulated slightly different and noting that the scores you typed are substantially different from ours.
Formula in J2, copied down and across:
=MAX(0,$C2*(J$1-$D2)/(5-J$1))
Note that I took the liberty to use dynamic headers in J1 and K1 so that you don't have to hard-code the value of the target into the formula.
File attached.
- cmckernan93Aug 09, 2022Copper Contributorthank you, that worked perfect
if i wanted to find the rating to 4.95 star average would just change the below "3.5" numbers to 4.95? or is it different again?
=IF(3.5<$D2,"",(($C2*$D2)-(3.5*$C2))/(3.5-5))- Riny_van_EekelenAug 09, 2022Platinum Contributor
cmckernan93 Personally I prefer solutions that allow me to set variables outside the formulas. With my formula, you would just change the 3.5 in the header to 4.95 once, rather than change it twice in the first formula and then copy the formula down. Up to you what you prefer.
- JagodragonAug 09, 2022Iron ContributorRiny_van_Eekelen: I agree. but i didn't want to suggest reformatting his entire sheet.
cmckernan93: you are correct. if you added a cell where you could enter a desired review value by itself, you could change the "3.5" to a cell address.