J
Jay Hanks
My question is regarding using IF statements with MIN or MAX I am takin
a class and our spreadsheet deals with a car dealership and sales. I a
having problems with creating an IF statement, using MIN, to displa
who sold the least cars. I was able to create one for the MAX number o
cars sold.
Here is the MAX statement which works displaying “Hill”
=IF(J11=MAX($E$11:$J$11:$O$11:$E$20:$J$20),"Hill",IF(E11=MAX($E$11:$J$11:$O$11:$E$20:$J$20),"Hanks",IF(O11=MAX($E$11:$J$11:$O$11:$E$20:$J$20),"Sills",IF(E20=MAX($E$11:$J$11:$O$11:$E$20:$J$20),"Farmer",IF(J20=MAX($E$11:$J$11:$O$11:$E$20:$J$20),"Linnville","")))))
Here is the MIN statement I cannot get to work, it shoul
display”Hanks”
=IF(J11=MIN($E$11:$J$11:$O$11:$E$20:$J$20),"Hill",IF(E11=MIN($E$11:$J$11:$O$11:$E$20:$J$20),"Hanks",IF(O11=MIN($E$11:$J$11:$O$11:$E$20:$J$20),"Sills",IF(E20=MIN($E$11:$J$11:$O$11:$E$20:$J$20),"Farmer",IF(J20=MIN($E$11:$J$11:$O$11:$E$20:$J$20),"Linnville","")))))
The one problem I noticed is when I try to break this down and use i
in individual cells I only get False and no name at all. I did use thi
formula to verify that I could display the cell with the right answer.
=MIN($E$11,$J$11,$O$11,$E$20,$J$20)
Can anyone point me in the right direction here? Thanks Ja
a class and our spreadsheet deals with a car dealership and sales. I a
having problems with creating an IF statement, using MIN, to displa
who sold the least cars. I was able to create one for the MAX number o
cars sold.
Here is the MAX statement which works displaying “Hill”
=IF(J11=MAX($E$11:$J$11:$O$11:$E$20:$J$20),"Hill",IF(E11=MAX($E$11:$J$11:$O$11:$E$20:$J$20),"Hanks",IF(O11=MAX($E$11:$J$11:$O$11:$E$20:$J$20),"Sills",IF(E20=MAX($E$11:$J$11:$O$11:$E$20:$J$20),"Farmer",IF(J20=MAX($E$11:$J$11:$O$11:$E$20:$J$20),"Linnville","")))))
Here is the MIN statement I cannot get to work, it shoul
display”Hanks”
=IF(J11=MIN($E$11:$J$11:$O$11:$E$20:$J$20),"Hill",IF(E11=MIN($E$11:$J$11:$O$11:$E$20:$J$20),"Hanks",IF(O11=MIN($E$11:$J$11:$O$11:$E$20:$J$20),"Sills",IF(E20=MIN($E$11:$J$11:$O$11:$E$20:$J$20),"Farmer",IF(J20=MIN($E$11:$J$11:$O$11:$E$20:$J$20),"Linnville","")))))
The one problem I noticed is when I try to break this down and use i
in individual cells I only get False and no name at all. I did use thi
formula to verify that I could display the cell with the right answer.
=MIN($E$11,$J$11,$O$11,$E$20,$J$20)
Can anyone point me in the right direction here? Thanks Ja