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

[µo°Ý] EXCEL INDEX¨ç¼ÆÂàVBA

[µo°Ý] EXCEL INDEX¨ç¼ÆÂàVBA

¤£¦n·N«ä¡A¥»¨­¨Ã¤£·|¼gµ{¦¡
¦³¬Ý¤F¤@¨Ç¤å³¹¡A¦ýÁÙ¬O¤£¤ÓÀ´
¥Ø«e¥u·|¤@¨Ç²³æªº¦Û°Ê§ì¨úºô­¶¸ê®Æ
§Ú©Ò·Q­nªºªF¦è¡A¦³¤@ÂI½ÆÂø¡A«D±`©êºp¡A§Ú·|ºÉ¶q»¡²M·¡
Àɮצ³¤W¶Ç¡A·Q¸ß°Ý²Ä¤G¤À­¶¤é´Á­pºâ¡A¨º¤@­¶B2~B19¡BD2~D19¡BF2~F19¡BH2~19¡BJ2~19
§Ú¤À§O³£¦³¼g¤WINDEX»PMATCH¨ç¼Æ¡A§Ú·Q­n§â³o¨Ç¨ç¼Æ¼g¶iVBA¸Ì­±
¨Ò¦p²Ä¤G¤À­¶B2ªº¨ç¼Æ
B2=INDEX(ªÑ»ù¸ê°T!A1:CM6,MATCH(ªÑ²¼½s¸¹!A2,ªÑ»ù¸ê°T!A1:A6,0),MATCH(¤é´Á­pºâ!A2,ªÑ»ù¸ê°T!A1:CM1,0))
§Ú·Q­nªº¬O¬õ¦âªÑ²¼½s¸¹!A2³o¤@¦a¤è¡A·|¦Û°Ê¸òµÛ²Ä¤@¤À­¶ªÑ²¼½s¸¹¦Û°Ê±À²¾©¹A3¡AA4©¹¤U±À²¾ªºÅܼƨC¤@¤ñ¸ê®Æ¦Û°Ê¤Á´«¶K¤W­ìÀx¦s®æ
·|³o¼Ë°µªº­ì¦]¡A§Ú¦Û¤v¥»¨­·|»Ý­n°µ¤j¶q¼Æ¾Ú¤ÀªR¡A©T©wªºÄæ¦ì§Ú¥i¥H¦bEXCELªÅ¥Õ³B¼g¤W§Ú¦Û¤v·Q­nªº¤ÀªR¤½¦¡
¦b¤Á´«¤U¤@­ÓªÑ²¼½s¸¹«eVBA¼g¤W¤½¦¡­È¶K¤W¦A¤Á´«ªÑ²¼½s¸¹Ä~Äò¥ÎINDEXÂ^¨ú¸ê®Æ
§Ú´N¥i¥H±o¨ì§Ú©Ò»Ý­nªº¤j¶q¸ê®Æªº¤ÀªR¹L«áªº¼Æ¾Ú
¸Ñ»¡ªº¦³ÂI½ÆÂø¡AÁٽФj®a¥]®e
½Ð¤j¤j±Ð§Ú«ç»ò¼g¥XB2Àx¦s®æ³o¤@¦ê¨ç¼Æ¬õ¦â¦r¼Ë¬OÅܼƪºVBA
¤p§Ì­è±µÄ²¡A¥¿¦b§V¤O¾Ç²ß¡A½Ð¤j¤j¶}®©

ÀÉ®×´ú¸Õ.rar (23.91 KB)

·PÁ­㴣³¡ªL¤j¤jÀ°§U¡A°µ·L½Õ«ö¶sªº½T¥i¥H¸Ñ¨M§Úªº°ÝÃD
«D±`·PÁÂ

TOP

¬Ý¤£À´­n¦p¦óÅÜ´«?
°µ­Ó¼Ëªí, ¥H·L½Õ«ö¶s§ïÅܯÁ¤Þ­È,
¥ý¬Ý¬Ý:
Xl0000133.rar (13.19 KB)

TOP

        ÀR«ä¦Û¦b : §Ú­Ì­n°µ¦nªÀ·|ªºÀô«O¡A¤]­n°µ¦n¤º¤ßªºÀô«O¡C
ªð¦^¦Cªí ¤W¤@¥DÃD