Calculating scores based on age.

acmorris

New Member
Joined
Mar 17, 2011
Messages
4
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

Fastest way to copy a worksheet?
Hold down the Ctrl key while dragging tab for Sheet1 to the right. Excel will make a copy of the worksheet.

VoG

Legend
Joined
Jun 19, 2002
Messages
63,650
Hello. You'll need to enlighten us as to which formulas apply to which age.
 

acmorris

New Member
Joined
Mar 17, 2011
Messages
4
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.
 

VoG

Legend
Joined
Jun 19, 2002
Messages
63,650
It would be something like

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

where A1 contains the age.
 

acmorris

New Member
Joined
Mar 17, 2011
Messages
4
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
 

T. Valko

Well-known Member
Joined
May 9, 2009
Messages
16,623
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"))),"")
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,163,703
Messages
5,833,218
Members
430,197
Latest member
edeibold

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
Top