if formula

G

Guest

i need an if formula that does the following...if a grade is 60 or greater
add 5 points, if the grade is between 50 and 60 add 10 points, if the grade
is below 50, make grade 60
 
B

Barb Reinhardt

Here is the equation you requested

=IF(A2>60,A2+5,IF(AND(A2<60,A2>50),A2+10,IF(A2<50,60)))

You didn't consider if the value was =50, or =60 however.
 
M

Max

Just another play to try ..

Assuming Grades are listed in A2 down

Put in B2:
=IF(A2="","",IF(A2<50,60,
SUM(A2,VLOOKUP(A2,{50,10;60,5},2))))

Copy B2 down
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top