Hey guys,
I have an array equation that returns a unique list of customer names, that references a part # in cell 'U2' that i need to copy down about 150 rows (to U27) and over 25 columns (to AU). The equation returns a unique list of customer names that purchase each product. The equation works fine when it stands alone:
{=INDEX('sheet1'!$B$2:$B$30000,SMALL(IF(('sheet1'!$U2='sheet1'!$D$2:$D$30000)*(COUNTIF($U2:U2,'sheet1'!$B$2:$B$30000)=0),ROW('sheet1'!$D$2:$D$30000)-MIN(ROW('sheet1'!$D$2:$D$30000))+1,""),1))}
However, when I add a vlookup in front of it and add the necessary vlookup info on the back, when I pull the equation over to the right,the first cell pulls the correct vlookup info, but the rest simply repeat the first returned value as shown:
{=VLOOKUP(INDEX('sheet1'!$B$2:$B$30000,SMALL(IF(('sheet1'!$U2='sheet1'!$D$2:$D$30000)*(COUNTIF($U2:U2,'sheet1'!$B$2:$B$30000)=0),ROW('sheet1'!$D$2:$D$30000)-MIN(ROW('sheet1'!$D$2:$D$30000))+1,""),1)),'sheet2'!$B$2:$K$510,10,0)}
If anyone knows a slight tweak or a way to make this work i would appreciate it.
Ryan
Bookmarks