AVERAGE but treat scores < 75 as 50

burnsy180

New Member
Joined
May 13, 2019
Messages
7
Office Version
  1. 2016
Platform
  1. Windows
Hi everyone,

I'm working on a spreadsheet to calculate average scores from a given range,where they're 0-100. What I have is working fine, however for the purpose ofranking the averages I need to treat scores that are < 75 as “50” whencalculating the averages.


Eg. Scores are 100, 89, 85, 76, 74, 66 currently
Code:
=AVERAGE(that range)
is 81.667

I need the average to calculate based on 100, 89, 85, 76,50, 50 returning 75

I want to retain the original scores for graphing, justneed the 50 for calculations.

Does anyone have any suggestions? TIA
 

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.
Welcome to Mr Excel forum

Assuming data in A2:A7, maybe this array formula
=AVERAGE(IF(A2:A7>=75,A2:A7,50))
confirmed with Ctrl+Shift+Enter, not just Enter

Hope this helps

M.
 
Upvote 0
Welcome to Mr Excel forum

Assuming data in A2:A7, maybe this array formula
=AVERAGE(IF(A2:A7>=75,A2:A7,50))
confirmed with Ctrl+Shift+Enter, not just Enter

Hope this helps

M.

Success! Can't believe it was so simple haha.
Code:
{=AVERAGE(IF(C11:AK11>=75,C11:AK11,50))}
works where C11:AK11 is my data.
Now the only issue is that blanks (not filled yet) add as 50.
Can an extra IF be added to ignore blanks? Something like this? Perhaps a cleaner method?
Code:
{=AVERAGE(IF(AND(C11:AK11>=75,C11:AK11>0),C11:AK11,50))}
 
Upvote 0
this works
Code:
=AVERAGE(IF(C11:AK11>=75,C11:AK11,IF(C11:AK11>0,50)))
thanks for your help!
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,175
Members
453,021
Latest member
Justyna P

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