F
Frank
A B C D E
F G
fname lname age married
frank smith 40 yes
smith yes
john smith 21 no
mary jones 44 no
tom jomes 33 yes
sam smith 35 yes
44
=SUMPRODUCT(MAX((B2:B7=F2)*(D27=G2),(C2:C7))) why does
this yield 44 and not 40?
Got this from someone else and would think it would work but a test
seems to not work. Want I want returned is the oldest person who's
lname = "smith" and is married, i.e. result I want is 40 but get 44
Thanks,
Frank
F G
fname lname age married
frank smith 40 yes
smith yes
john smith 21 no
mary jones 44 no
tom jomes 33 yes
sam smith 35 yes
44
=SUMPRODUCT(MAX((B2:B7=F2)*(D27=G2),(C2:C7))) why does
this yield 44 and not 40?
Got this from someone else and would think it would work but a test
seems to not work. Want I want returned is the oldest person who's
lname = "smith" and is married, i.e. result I want is 40 but get 44
Thanks,
Frank