text results based on score and also changing the score

lezawang

Well-known Member
Joined
Mar 27, 2016
Messages
1,805
Office Version
  1. 2016
Platform
  1. Windows
Hi
I want to provide text result based on students score but also I want to modify the score and add bonus based on the score and put the new result in "new score" column. The conditions are the following

[FONT=&quot]If the score is >20 = very good ( they get a 5% performance bonus)[/FONT]
[FONT=&quot]If the score is 16-20 = good ( they get a 3% performance bonus)[/FONT]
[FONT=&quot]If the score is 15 and below = needs improvement ( no bonus)

namescoreresultnew score
mary22
john17
linda11

<tbody>
</tbody>

I am thinking of If() and maybe AND() and OR() and another formula for the "New score" column. Any help would be very much appreciated.[/FONT]
 

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.
Hi,

In cell C2 you could have : =LOOKUP(B2,{0,16,20},{"needs improvement","good","very good"})

and in cell D2 this formula : =IF(C2="very good",B2*1.05,IF(C2="good",B2*1.03,B2))

Hope this will help
 
Last edited:
Upvote 0
I want to provide text result based on students score but also I want to modify the score and add bonus based on the score and put the new result in "new score" column. The conditions are the following
If the score is >20 = very good ( they get a 5% performance bonus)
If the score is 16-20 = good ( they get a 3% performance bonus)mytable
If the score is 15 and below = needs improvement ( no bonus)
name
scoreresultnew score0needs improvement
mary22very good23.115good
john17good17.5121very good
linda11needs improvement1199very good
very good obtained by
=VLOOKUP(B8,mytable,2)
23.1 obtained by
=IF(B8>20,B8*1.05,IF(B8<=15,B8,B8*1.03))

<colgroup><col span="2"><col><col span="13"></colgroup><tbody>
</tbody>
 
Upvote 0
.
Another suggestion:

In C2 and copied down: =IF(B2>=20,"Very Good",IF(AND(B2>=16,B2<20),"Good",IF(B2<16,"Needs Improvement","")))

In D2 and copied down: =IF(C2="very good",B2*1.05,IF(C2="good",B2*1.03,B2))
 
Upvote 0
I had come up with Logit's suggestion. Only difference I would consider is creating another table to reference the text and bonus value, giving you control over the performance thresholds and bonus amounts rather than hard coding to the formulas.

HTH,
MB110
 
Upvote 0

Forum statistics

Threads
1,214,983
Messages
6,122,582
Members
449,089
Latest member
Motoracer88

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top