# Calculating scores based on age.

#### acmorris

##### New Member
Hello I just built a spreadsheet that will add up scores for physical fitness tests the only thing is the scores get calculated differently depending on the persons age. How do I get excel to use one formula over another based on the number in the age column?

### Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney
Hello. You'll need to enlighten us as to which formulas apply to which age.

Its just a basic math equation but I need excel to use either one or the other based on the age. Heres one =100-(M5-18)*6-(N5/10) the other one will be basically the same format I haven't taken the time to work it yet because I don't how to make excel chose automatically what formula to use.

It would be something like

=IF(A1<30,100-(M5-18)*6-(N5/10),other formula)

where A1 contains the age.

It would be something like

=IF(A1<30,100-(M5-18)*6-(N5/10),other formula)

where A1 contains the age.

made it work thank you. Not to get demanding but how would I assign a class to each set of scores? I've tried using IF but can't quite get it. It would be if someone overal score was a
225-300=1st
200-224=2nd
185-199=3rd
184-0=fail

made it work thank you. Not to get demanding but how would I assign a class to each set of scores? I've tried using IF but can't quite get it. It would be if someone overal score was a
225-300=1st
200-224=2nd
185-199=3rd
184-0=fail
One way...

Assuming cell B1 = score

=IF(COUNT(B1),IF(B1>224,"1st",IF(B1>199,"2nd",IF(B1>184,"3rd","Fail"))),"")

Replies
17
Views
871
Replies
13
Views
374
Replies
10
Views
795
Replies
1
Views
113
Replies
16
Views
876

1,214,264
Messages
6,118,563
Members
448,837
Latest member
Josephjet

### 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.

### Which adblocker are you using?

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

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