Calculating a score based on multiple cells

mrbeanyuk

Board Regular
Joined
Nov 30, 2005
Messages
214
Office Version
  1. 365
Platform
  1. Windows
Hi, its been a while!

I am trying to calculate a score for using multiple cells. In effect, I would like the following three conditions in one statement:

If the total of B1:B4 is more than 50% of the total of A1:A4 return 1
If the total of B1:B4 is more than 75% of the total of A1:A4 return 2
If the total of B1:B4 is more than 90% of the total of A1:A4 return 3

Thanks v much
Nathan
 

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number
Should be something like this then:
Excel Formula:
=IF(SUM(B1:B4)>SUM(A1:A4)*90%;3;(IF(SUM(B1:B4)>SUM(A1:A4)*75%;2;(IF(SUM(B1:B4)>SUM(A1:A4)*50%;1;0)))))
 
Upvote 0
What version of Excel are you using?
I suggest that you update your Account details (or click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)
 
Upvote 0
What do you want to return when it's less than 50%? If that's not a concern then try:
Book1
ABC
1
210502
32050
4306
Sheet1
Cell Formulas
RangeFormula
C2C2=XMATCH(SUM(B2:B4)/SUM(A2:A4)-1,{0.5,0.75,0.9},-1)
 
Upvote 0

Forum statistics

Threads
1,221,469
Messages
6,160,027
Members
451,611
Latest member
PattiButche

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