Nested IF

T

Tony

I can't figure out a formula for the following problem:
Student A has the choice of taking 4 out of 5 possible test but if he took
all 5 then the lowest grade would be dropped??
 
D

Don Guillett

Assuming grades are in d18,d19,d20,d21,d22 then put this in e18 and copy
down FOUR
=IF(LEN(TRIM(D18))<1,"",LARGE($D$18:$D$22,ROW(A1)))
 
B

Bernie Deitrick

Tony,

=(SUM(B2:B6)-IF(COUNT(B2:B6)=5,MIN(B2:B6),0))/MIN(COUNT(B2:B6),4)

with test grades in B2:B6

HTH,
Bernie
MS Excel MVP
 

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