ªð¦^¦Cªí ¤W¤@¥DÃD µo©«

[µo°Ý] ¦p¦ó§Q¥ÎVlookup¬d¸ß²Å¦X¸ê®Æªº«e¤@­ÓÀx¦s®æ

[µo°Ý] ¦p¦ó§Q¥ÎVlookup¬d¸ß²Å¦X¸ê®Æªº«e¤@­ÓÀx¦s®æ

¥»©«³Ì«á¥Ñ adam2010 ©ó 2015-3-7 10:57 ½s¿è

½Ð±Ð¦U¦ì¥ý¶i¡A·Q­n±q¬yµ{¯¸ÂI
¬d¸ß¦U®Æ¸¹¦@³q¯¸ÂI#2950ªº(¨Ó·½)«e1~2¯¸¡AÁÙ¦³¬d¸ß¦³µL¬Y¤@¯¸(xe:¦³µL1200¯¸)
20150307.rar (6.87 KB)
½Ð°Ý­n¦p¦ó³]©wB2~D4ªº¤½¦¡¡AÁÂÁÂ~
Adam

¦^´_ 1# adam2010
B2»PC2½Ð¿é¤J°}¦C¤½¦¡(¦P®É«ö¤UCtrl+Shift+Enter¤T­ÓÁä¿é¤J¤½¦¡)
B2=INDEX(¬yµ{¯¸ÂI!$A$1:$C$16,MATCH(1,(¬yµ{¯¸ÂI!$A$1:$A$16=¤ÀªR!A2)*(¬yµ{¯¸ÂI!$C$1:$C$16=2950),0)-1,3)
C2=INDEX(¬yµ{¯¸ÂI!$A$1:$C$16,MATCH(1,(¬yµ{¯¸ÂI!$A$1:$A$16=¤ÀªR!A2)*(¬yµ{¯¸ÂI!$C$1:$C$16=2950),0)-2,3)
D2=IF(C2=1200,"Y","N")

¦V¤U½Æ»s
½Ð°Ñ¦Ò¡I

TOP

1] B2, "2950«e1¯¸" ªº¤½¦¡, ¦V¤U½Æ»s :

=INDEX(¬yµ{¯¸ÂI!$C$2:$C$16,MATCH(1,INDEX((¬yµ{¯¸ÂI!$A$1:$A$16=¤ÀªR!$A2)*(¬yµ{¯¸ÂI!$C$2:$C$16=2950),),)-1)

2] C2, "2950«e2¯¸" ªº¤½¦¡, ¦V¤U½Æ»s :

=INDEX(¬yµ{¯¸ÂI!$C$2:$C$16,MATCH(1,INDEX((¬yµ{¯¸ÂI!$A$1:$A$16=¤ÀªR!$A2)*(¬yµ{¯¸ÂI!$C$2:$C$16=2950),),)-2)

3] D2, "¦³µL1200¯¸" ªº¤½¦¡, ¦V¤U½Æ»s :

=IF(ISNUMBER(MATCH(1,INDEX((¬yµ{¯¸ÂI!$A$1:$A$16=¤ÀªR!$A2)*(¬yµ{¯¸ÂI!$C$2:$C$16=1200),),)),"Y","N")

TOP

­ì¨Ó§Ú¾ã­Ó¤è¦V¿ù¤F¡A·PÁ¨â¦ì¥X¤â¬Û§U¡A¨â¦ì´£¨Ñªº¨ç¼Æ§¡²Å¦X»Ý¨D¡AÁÂÁ¡I
Adam

TOP

¦^´_ 1# adam2010

B2=INDEX(¬yµ{¯¸ÂI!$C:$C,SMALL(IF((¬yµ{¯¸ÂI!$A$2:$A$16=$A2)*(¬yµ{¯¸ÂI!$C$2:$C$16=2950),ROW($G$2:$G$16),""),1)-COLUMN(A$1),)
°}¦C¤½¦¡©¹¥k¤U©Ô
D2=IF(SUMPRODUCT((¬yµ{¯¸ÂI!$A$2:$A$16=$A2)*(¬yµ{¯¸ÂI!$C$2:$C$16=1200)),"Y","N")

TOP

B2 : =LOOKUP(2,1/((¬yµ{¯¸ÂI!$A$2:$A$16=¤ÀªR!$A2)*(¬yµ{¯¸ÂI!$C$2:$C$16=2950)),¬yµ{¯¸ÂI!$C$1:$C$15)

C2 : =LOOKUP(2,1/((¬yµ{¯¸ÂI!$A$3:$A$16=¤ÀªR!$A2)*(¬yµ{¯¸ÂI!$C$3:$C$16=2950)),¬yµ{¯¸ÂI!$C$1:$C$15)

D2 : =IF(ISNA(LOOKUP(2,1/((¬yµ{¯¸ÂI!$A$1:$A$16=¤ÀªR!$A2)*(¬yµ{¯¸ÂI!$C$1:$C$16=1200)))),"N","Y")

¤½¦¡¦V¤U½Æ»s

TOP

¦^´_ 5# samwang
·PÁÂsamwang¤j´£¨Ñªº¤½¦¡OK
¦ý¬O¤£©ú¥Õ B2=INDEX(¬yµ{¯¸ÂI!$C:$C,SMALL(IF((¬yµ{¯¸ÂI!$A$2:$A$16=$A2)*(¬yµ{¯¸ÂI!$C$2:$C$16=2950),ROW($G$2:$G$16),""),1)-COLUMN(A$1),)
¤¤¨Ï¥ÎSMALL & ¨ú ROW($G$2:$G$16)ªº¥Î·N
Adam

TOP

¦^´_ 2# aer
·PÁÂaer¤jªº¨ó§U
¥i¯à¬O§Ú´y­zÅý±z»~¸Ñ¡AD2¨Ã¤£¬O°w¹ï«e2¯¸¬O§_¬°1200¯¸¥h§P©w
¦Ó¬O­n¬Ý¸Ó®Æ¸¹¬O§_¾ã­Ó»sµ{¯¸ÂI¦³µL¥]§t¨ì1200¯¸
¤£¹L¦³¨ä¥L¤j¤j¤w´£¨Ñ¾A¥Î¤§¤½¦¡¡AÁÙ¬OÁÂÁÂaer¤jªº¬Û§U~
Adam

TOP

¦^´_ 6# JBY
·PÁÂJBY¤j¦A¦¸´£¨Ñ¸Ñ¨Mªº¤è®×~®¤¦b¤U¤~²¨¾Ç²L¡A¬Ý¤£¤ÓÀ´
B2 : =LOOKUP(2,1/((¬yµ{¯¸ÂI!$A$2:$A$16=¤ÀªR!$A2)*(¬yµ{¯¸ÂI!$C$2:$C$16=2950)),¬yµ{¯¸ÂI!$C$1:$C$15)
C2 : =LOOKUP(2,1/((¬yµ{¯¸ÂI!$A$3:$A$16=¤ÀªR!$A2)*(¬yµ{¯¸ÂI!$C$3:$C$16=2950)),¬yµ{¯¸ÂI!$C$1:$C$15)
½Ð°Ý¤@¨Ç«Ü²Ê²Lªº°ÝÃD~
lookup_value¥Î2ªº·N«ä¬O...
lookup_vector¶}ÀY¥Î1/ªº·N«ä¬O...¤§«e¦³¬Ý¹L0/ªº
B2¸òC2ªº®t²§¦b©ólookup_vector½d³ò¤U²¾¤@¦C¡A©Ò¥H¸ê®Æ¶q¤j®É¬O¤£¬O´N¤£¯à¥Î¾ãÄæ¨Ó·í½d³ò¤F
¦Ó±z¤§«e´£¨Ñªº=INDEX(¬yµ{¯¸ÂI!$C$2:$C$16,MATCH(1,INDEX((¬yµ{¯¸ÂI!$A$1:$A$16=¤ÀªR!$A2)*(¬yµ{¯¸ÂI!$C$2:$C$16=2950),),)-1)¤¤
¸ê®Æ¶q¤j®É¥i¥H¥Î¾ãÄæ¨Ó·í·j´M½d³ò=INDEX(¬yµ{¯¸ÂI!$C:$C,MATCH(1,INDEX((¬yµ{¯¸ÂI!$A:$A=¤ÀªR!$A2)*(¬yµ{¯¸ÂI!$C:$C=2950),),)-1)
Adam

TOP

lookup_value¥Î2ªº·N«ä¬O...
lookup_vector¶}ÀY¥Î1/ªº·N«ä¬O...¤§«e¦³¬Ý¹L0/ªº


§A¤]¥i¥H¨Ï¥Î :

=LOOKUP(1,0/(¡K¡K
=LOOKUP(2,1/(¡K¡K
=LOOKUP(3,1/(¡K¡K
=LOOKUP(4,1/(¡K¡K
=LOOKUP(5,1/(¡K¡K
¡K¡K¡K¡K¡K¡K

TOP

        ÀR«ä¦Û¦b : ¦³®É·í«äµL®É­W¡A¦n¤Ñ­n¿n«B¨Ó³¡C
ªð¦^¦Cªí ¤W¤@¥DÃD