excel - Doing an array formula lookup -
i have list of data this:
name | number bob | 300 joe | 200 jane | 400 sisqo | 450 jill | 500 there's 62 rows of this, numbers can different, repeated. goal add column contains list of people @ 400 or above. looks this:
name jane sisqo jill what have is:
{=iferror(index($a$2:$b$6, small(if($b$2:$b$6 >= 400, $b$2:$b$6,), row(1:1)), 1), "")} what imagine doing: 1) small function looking in range b2:b6, , because array formula, looks @ each cell in b2:b6 see if greater or equal 400. 2) don't know how, hope row function finding array of b2:b6 if value in cell under consideration greater or equal 400. if doesn't find anything, nothing happens. 3) runs comparison small(b2:b6, 1) lowest value in range. when copied down, because i'm using row() function, small(b2:b6, 2), small(b2:b6, 3) , on.
at point row of lowest number @ 400 or below should found.
so index function should read
index(a2:b6, 3, 1) for first one.except i'm getting
name
bob bob
so error?
i prefer use match in array form:
=iferror(index($a$2:$a$6,match(1,(countifs($e$1:e1,$a$2:$a$6)=0)*($b$2:$b$6>=400),0)),"") being array formula must confirmed ctrl-shift-enter instead of enter when exiting edit mode. if done correctly excel put {} around formula.

Comments
Post a Comment