excel - MAX function with VLOOKUP -
i need able see last date each reference , gender (if any) associated reference , last date. need perform in function rather vba. data:
a0001 11/06/2002 f a0001 21/02/2012 f a0001 11/06/2002 m a0001 21/02/2012 m a0001 21/02/2012 a0002 20/05/2002 f a0002 20/05/2002 m a0002 20/05/2002 f a0002 20/05/2002 m a0002 11/04/2007 f a0002 11/04/2007 m
i've been banging head against lookup, address, index, match, max functions morning , have headache, please put me out of misery.
first off if can use pivot table, drag item number rows, gender rows, , date values. click on arrow next date in values section. choose value field settings, choose max, go number format, , choose date. ask.
now, if must use formulas (this amusing item number in column a, date in column b, , gender in column c)
=max(if($a$2:$a$11=$e2,if($c$2:$c$11=f$1,$b$2:$b$11)))
which require control shift enter.
Comments
Post a Comment