indexing - Formula to create grid from list in Excel -
i have data in 2 columns (h2:i8
) , need able work through data , assign values within grid (b1:e5
).
as can see, there multiple values in first row, using formulas index
, match
started. next level, used formula:
{=if(index($i$2:$i$8,small(if($b2=$h$2:$h$8,row($h$2:$h$8)-row($h$2)+1),column(a1)))=c$1,"yes","no")}
-- don't worry #num!
now.
the trouble small
function contains values match, check 3
appears in d3
, want in e3
(and change yes
), whereas d3
should no
.
but don't know how it...
any appreciated!!
thanks, chris
try array {=sum(if($c2=$h$2:$h$8,1,0)*if(d$1=$i$2:$i$8,1,0))}
it gives sum of counts. assume can change 1=true, 0=false value results require afterwards
Comments
Post a Comment