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?
 

Some videos you may like

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK

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"))),"")
 

Watch MrExcel Video

Forum statistics

Threads
1,108,502
Messages
5,523,295
Members
409,508
Latest member
Afc

This Week's Hot Topics

Top