ªð¦^¦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 : §g¤l¦p¤ô¡AÀH¤è´N¶ê¡AµL³B¤£¦Û¦b¡C
ªð¦^¦Cªí ¤W¤@¥DÃD