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

¤£©T©wªºÀɦW¡A°ÊºA²M³æ

¤£©T©wªºÀɦW¡A°ÊºA²M³æ

§Ú¤§«e½Ð±Ð¹L¤@¦¸Ãþ¦üªº°ÝÃD
http://forum.twbts.com/thread-10753-1-1.html

¨ü¯q¨}¦h¡A²{¦b§Ú­n¾ã¦X§ó½ÆÂøªºÀ³¥Î¡A½Ð°ª¤âÂI¡AÁÂÁÂ~~

§Ú¦³¤@­Ó db.xls ¡AùØ­±¬O¤@°ï¥æ©ö³æ¸¹

Àɮצb³o
https://dl.dropboxusercontent.com/u/12575824/db.xls

§Ú°Ñ¦Ò¡y°ÊºA²M³æ¡zªº°µªk

°µ¤F¤@­Ó¦WºÙ test01 =OFFSET('[db.xls]Sheet1'!$B$1,MATCH(Sheet1!A1,'[db.xls]Sheet1'!$A:$A)-COUNTIF('[db.xls]Sheet1'!$A:$A,Sheet1!A1),,COUNTIF('[db.xls]Sheet1'!$A:$A,Sheet1!A1),)

µM«á¦bÀx¦s®æ ¨Ï¥Î ¸ê®Æ->ÅçÃÒ->²M³æ = test01 ³o¼Ëªº¤è¦¡

´N¯à²£¥Í°Ñ¦Ò AÄæ¡AµM«á¤U©Ôªº²M³æ




¥Ø«e¶i«×¡G
https://dl.dropboxusercontent.com/u/12575824/Book2.xls

²{¦b db.xls ³o­ÓÀÉ®×ÀɦW¤£©T©w

§Ú°Ñ¦Ò http://forum.twbts.com/thread-6224-1-1.html §¹¦¨¤F ¶}±ÒÀÉ®×Ū¨úÀɦWªº¥\¯à¡C

·s¼W¤F¤@­Ó¦WºÙ test02="'"&Sheet1!$B$10&Sheet1!$B$11&"'!"

¦bÀx¦s®æ¤W´ú¸Õ =test02 ¡Aok

±µµÛ§Ú±N
test01 =OFFSET('[db.xls]Sheet1'!$B$1,MATCH(Sheet1!A1,'[db.xls]Sheet1'!$A:$A)-COUNTIF('[db.xls]Sheet1'!$A:$A,Sheet1!A1),,COUNTIF('[db.xls]Sheet1'!$A:$A,Sheet1!A1),)               

ªº '[db.xls]Sheet1'  ³q³q¸m´«¦¨  'E:\excel_test\[db.xls]Sheet1'! (¥Ø«eÀɮ׬O¦s¦b e¼Ñªº excel_test)

·s¼W test03=OFFSET('E:\excel_test\[db.xls]Sheet1'!$B$1,MATCH(Sheet1!A1,'E:\excel_test\[db.xls]Sheet1'!$A:$A)-COUNTIF('E:\excel_test\[db.xls]Sheet1'!$A:$A,Sheet1!A1),,COUNTIF('E:\excel_test\[db.xls]Sheet1'!$A:$A,Sheet1!A1),)

¥Î¦P¼Ëªº¤âªk¡A¦bÀx¦s®æ ¨Ï¥Î ¸ê®Æ->ÅçÃÒ->²M³æ = test03 ¡A«oµLªk²£¥Í¤U©Ô¸ê®Æ

½Ð°ª¤â«üÂI¤@¤U¡AÁÂÁ¡C


³Ì²×¥Ø¼Ð¬O±N test03§ï¼g¦¨ ¥H test02¦WºÙ¨ú¥N¸ô®|¡AÅý test03=OFFSET(test02$B$1,MATCH(Sheet1!A1,test02$A:$A)-COUNTIF(test02$A:$A,Sheet1!A1),,COUNTIF(test02$A:$A,Sheet1!A1),)
¡]²µu¦n¾\Ū¡^

µM«á¯à°÷¦bÀx¦s®æ ¨Ï¥Î ¸ê®Æ->ÅçÃÒ->²M³æ = test03
¤½¶}¸gÅç¡A³Ð³y´¼¼z¡]§Ú¤S¤£¾a³o¹L¬¡¡^

        ÀR«ä¦Û¦b : ¡i¥Í©R¦b©I§l¶¡¡j¦òªû»¡¡G¡u¥Í©R¦b©I§l¶¡¡C¡v¤HµLªkºÞ¦í¦Û¤vªº¥Í©R¡A§óµLªk¾×¦í¦º´Á¡AÅý¦Û¤v¥Ã¦í¤H¶¡¡C¬JµM¥Í©R¥h¨Ó³o»òµL±`¡A§Ú­Ì§óÀ³¸Ó¦n¦n¦a·R±¤¥¦¡B§Q¥Î¥¦¡B¥R¹ê¥¦¡AÅý³oµL±`¡BÄ_¶Qªº¥Í©R¡A´²µo¥¦¯uµ½¬üªº¥ú½÷¡A¬M·Ó¥X¥Í©R¯u¥¿ªº»ù­È¡C
ªð¦^¦Cªí ¤W¤@¥DÃD