help with MAX value please

formratings

Board Regular
Joined
Apr 5, 2015
Messages
119
Office Version
  1. 2019
Platform
  1. Windows
hi could someone tell me how to add max value to be 5 on this formula please
=IF(M5="","",IFERROR(IF(OR(X5="",X5=" "),"",AE5*INDEX('Class Ratings'!$B$1:$B$9,MATCH(VALUE(X5),'Class Ratings'!$A$1:$A$9,0))),"")/6)

and in this formula which is average formula where any number can be blank,I don't want the blanks to count in the average
=AVERAGE(P44:P83,P89:P128,P134:P173,P179:P218,P224:P263,P269:P308,P314:P353,P359:P398,P404:P443,P449:P488,P494:P533,P539:P578,P584:P623,P629:P668,P674:P713,P719:P758,P764:P803,P809:P848,P854:P893,P899:P938,P944:P983,P989:P1028,P1034:P1073,P1079:P1118,P1124:P1163,P1169:P1208,P1214:P1253,P1259:P1298,P1304:P1343,P1349:P1388,P1394:P1433,P1439:P1478,P1484:P1523,P1529:P1568,P1574:P1613,P1619:P1658,P1664:P1703,P1709:P1748,P1754:P1793,P1799:P1838,P1844:P1883,P1889:P1928,P1934:P1973)

many many thanks in advance
cheers dave
 
In what way isn't the formula doing that?
Please remember that I cannot see your sheet. ;)
 
Upvote 0

Excel Facts

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December

Forum statistics

Threads
1,214,891
Messages
6,122,101
Members
449,066
Latest member
Andyg666

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