Scores in a Range

ChetKG

New Member
Joined
Sep 4, 2018
Messages
5
Hi

I am looking for some help, been fiddling with excel most of last night but not any closer to solving this little problem.

Lets say I have some test results, based on the % achieved you get some points (which will be used later in combination with other test results).

Any score under 60% you get 0 points, any score above 95% you get 100 points.... so anything between 60 and 95 would earn you some points based on a scale... Could anyone help me define a formula i can use for this?

Appreciate any help
 

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.
Create a custom formula.
Usage:
=GetScore(A4)

Code:
public function GetScore(byval pvAmt)
   Select case pvAmt
      Case .95
         GetScore=100
      Case .85
          GetScore=90
      Case <.65
           GetScore=0
    End select.
end function
 
Upvote 0
See if this does what you want. If not, could you give some specific examples, the expected results an an explanation of the expected results?

Excel Workbook
AB
1ScorePoints
250%0
398%100
463%8.57143
595%100
688%80
772%34.2857
83%0
977.50%50
Score - Points
 
Upvote 0

Forum statistics

Threads
1,223,889
Messages
6,175,226
Members
452,620
Latest member
dsubash

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