Board logo

¼ÐÃD: [µo°Ý] ½Ð°Ý¤@¤U¦p¦óÂ^¨úA1Àx¦s®æ¤¤¬A¸¹¤ºªº¼Æ­È,¨Ã±N¤§Åã¥Ü¦bB1Àx¦s®æ©O? [¥´¦L¥»­¶]

§@ªÌ: happycoccolin    ®É¶¡: 2012-6-28 17:52     ¼ÐÃD: ½Ð°Ý¤@¤U¦p¦óÂ^¨úA1Àx¦s®æ¤¤¬A¸¹¤ºªº¼Æ­È,¨Ã±N¤§Åã¥Ü¦bB1Àx¦s®æ©O?

¤j®a¦n~¤£¦n·N«ä~:)

·Q½Ð°Ý¤@¤U¦p¦óÂ^¨úA1Àx¦s®æ¤¤¬A¸¹¤ºªº¼Æ­È,¨Ã±N¤§Åã¥Ü¦bB1Àx¦s®æ©O?¨Ò¦p:ABC(1234)EFG->1234,¦ý¬O¨C¤@®æªº¤º®e¤£ºÉ¬Û¦P,¤]¦³¥i¯à¬OABCDEF(5687)CDE->5678,©Ò¥H¨S¦³¥ÎLEFT() & RIGHT()°µ

°ß¤@¬Û¦Pªº¬O¨C¤@Àx¦s®æ³£¦³¬A¸¹()¤@²Õ

ÁÙ¦³,¥Ø«e»Ý­n¤ñ¹ï¤j¶qÀx¦s®æ¸ê®Æ,¦ý¬O¦]¬°³æ¤@Àx¦s®æ¤º¥i¯à·|¦³¦hµ§¸ê®Æ¦s¦b(A1,A2,A3...A50),¦³¿ìªk¸òÀx¦s®æ¤¤¥u¦³¤@­Ó¼Æ­Èªº°µ¤ñ¹ï¶Ü

¨Ò¦p:sheet1¸ÌªºB1Àx¦s®æ(¤º®e¥]§t:A01,A02,A03...A50¼Æ­È),»Ý­n¸òsheet2ªºB1Àx¦s®æ(¤º®e¬°A01)¤ñ¹ï,­Y¼Æ­È¬Û¦P(³£¦³A01)§Æ±æ¶Ç¦^Sheet1¤¤ªºA1­È¦bsheet2ªºC1¤¤,½Ð°Ý¦³¨S¦³¿ìªk°µ¨ì©O?

¤£ª¾»¡ªº²M¤£²M·¡~~¤]½Ð¦U¦ì°ª¤â¼·¤¾¬Ý¤@¤U~~~·PÁ·PÁÂ~
§@ªÌ: happycoccolin    ®É¶¡: 2012-6-28 18:16

ªþ¤Wªþ¥ó~FYR~
§@ªÌ: Hsieh    ®É¶¡: 2012-6-28 18:43

¦^´_ 2# happycoccolin
²Ä¤@­Ó°ÝÃD
B1=MID(A1,FIND("(",A1)+1,FIND(")",A1)-FIND("(",A1)-1)
²Ä¤G­Ó°ÝÃD´N¤£À´§Aªº¥Øªº¬°¦ó¤F
Sheet1ªºBÄæ¬O¦h²Õ¦r¦ê¡A¦ý¤S¥u¤ñ¹ï¤@²Õ¤å¦r¡A³o¼Ë»¡ªk¦³ÂI¼Ò½k
½Ð§â¹ê¨ÒªþÀÉ»¡©ú
§@ªÌ: happycoccolin    ®É¶¡: 2012-6-29 09:34

Hsieh¦Ñ®v,ÁÂÁ±zªº¦^ÂÐ~~
°ÝÃD¤G§Ú¦A¸Ô­z¤@¦¸¦p¤U~~~¤]½ÐÀ°¦£¬Ý¤@¤U,¦]¬°§Ú¥u·|¨Ï¥ÎVLOOKUP¤ñ¹ï,³o¼Ë¤@­ÓÄæ¦ì¦³¦h­Ó­Èªº¹ê¦b·Q¯}ÀY¤F..ÁÂÁÂ~


Sheet1
A                                       B                   C
09-87654321        A1        12-34567890        Sheet1 BÄæ»PSheet2 BÄæ¥þ³¡¤ñ¹ï,­Y¤§¤¤¦³¬Û¦Pªº­È,§Æ±æ¬°¶ÇSheet2 AÄ檺­È¦bSheet1ªºCÄæ
09-87654322        G4        12-34567895       
09-87654323        D1               
09-87654324        C1        None                              <-Sheet2¤¤µL¬Û²Å
09-87654325        D3        12-34567892

Sheet2
A                                       B
12-34567890        A1,A2,A3,A4,A5,A6,A7,A8,A9,A10
12-34567891        B1
12-34567892        C2,D3
12-34567893        F4
12-34567894        G1
12-34567895        G4,G5,G6
§@ªÌ: happycoccolin    ®É¶¡: 2012-7-2 17:20

«¢Åo~·Q½Ð±Ð¤@¤U³o¼Ëªº¤ñ¸û¤è¦¡EXCEL¥i¥H°µ¨ì¶Ü?¤£ª¾¹D¦³¨S¦³¤Hª¾¹D©O?ÁÂÁÂ~~~~~
§@ªÌ: Hsieh    ®É¶¡: 2012-7-2 18:10

¦^´_ 5# happycoccolin


    [attach]11559[/attach]
§@ªÌ: happycoccolin    ®É¶¡: 2012-7-5 09:59

«z!!¯u¬O¤Ó·P®¦¤F!!ÁÂÁ¦Ѯvªº±Ð¾Ç~
§@ªÌ: jackson7015    ®É¶¡: 2012-7-18 08:17

ÂǦ¹¥DÃD°ÝÃD
­Y¬O±N°ÝÃD¤@ªº¤å¦rÂ^¨ú¡AÅܧ󬰥uÂ^¨úABC-DEF-ABCDEF«á­±-¸¹¬õ¦â¦rÅ骺³¡¤À
½Ð°Ý¨ç¼Æ­n¦p¦ó§ó¥¿
®M¥ÎHsiehª©¤jªº¤½¦¡«á¡A·|¥X²{ABCDEªºÂ^¨ú¸ê®Æ

°ÝÃD¤¤ªº-¸¹¡A·|¤£©w¼Æ¶q2~3­Ó¡A¦ý³£¬O¥u»Ý­nÂ^¨ú³Ì«á-¸¹ªº«á­±ªºABCDEF³¡¤À¦Ó¤w
§@ªÌ: Hsieh    ®É¶¡: 2012-7-18 08:37

¦^´_ 8# jackson7015


    =MID(SUBSTITUTE(A1,"-",";",LEN(A1)-LEN(SUBSTITUTE(A1,"-",""))),FIND(";",SUBSTITUTE(A1,"-",";",LEN(A1)-LEN(SUBSTITUTE(A1,"-",""))))+1,255)
§@ªÌ: jackson7015    ®É¶¡: 2012-7-18 08:53

¦^´_ 9# Hsieh

·PÁÂHsiehªO¤j
¨ç¦¡¥i¥¿±`¹B§@¡F
­Y­n§ï¦¨Åã¥ÜABC-DEF-ABCDEF¡A«á­±¬õ¦â¦rÅ鳡¤À¡F³Ì«áªº¤@­Ó¦ì¤¸(©Î¦rÅé)¤£Â^¨ú
¤½¦¡­nÅܧó­þ­Ó¦a¤è©O?
§@ªÌ: Hsieh    ®É¶¡: 2012-7-18 14:07

¦^´_ 10# jackson7015

¦n¹³¬O¦b¦Ò¸Õ­ò
=LEFT(MID(SUBSTITUTE(A1,"-",";",LEN(A1)-LEN(SUBSTITUTE(A1,"-",""))),FIND(";",SUBSTITUTE(A1,"-",";",LEN(A1)-LEN(SUBSTITUTE(A1,"-",""))))+1,255),LEN(A1)-(FIND(";",SUBSTITUTE(A1,"-",";",LEN(A1)-LEN(SUBSTITUTE(A1,"-",""))))+1))
§@ªÌ: jackson7015    ®É¶¡: 2012-7-19 08:24

©êºp¡A¤@ª½³Â·ÐHsieh ª©¤j
¦]¬°·Q­n¤F¸Ñ¡A³oºØÃþ¦ü°ÝÃDªº¬ÛÃö¤£¦P±Æ¦CÂ^¨ú¡A©Ò¥H¤~°Ý¤F¬Û¦üªº°ÝÃD
¥Ø«e¤TºØ³£¥i¥¿±`°õ¦æ¹B¥Î
·PÁÂHsieh ª©¤jªº¼ö¤ßÀ°¦£
§@ªÌ: Hsieh    ®É¶¡: 2012-7-19 09:04

¦^´_ 12# jackson7015
³oºØÃþ¦ü°ÝÃD¡A¨ä¹ê³£¥i¥H¦Û¤v«ä¦Ò¡A§A·|µo²{³o­Ó°ÝÃD¤¤©Ò¥Îªº¨ç¼Æ¤£´N¬OMID¨ç¼Æ¤¤¡AÂ^¨úªø«×ªºÅܤÆ
³Ìªìªº§Þ¥©¥u¦³SUBSTITUTE¨Ó±N³Ì«á¤@­Ó¤À¹j²Å¸¹¥Î¯S©w¦r¤¸¨ú¥N¡A±o¥H§PÂ_©Ò»ÝÂ^¨úªº¤ù¬q
±µ¤U¨ÓªºÅܧ㣬OMID©ÎLEFT©ÎRIGHT¨ÓÂ^¨ú³¡¤À¦r¦ê
À³¸Ó¹ý©³¤F¸Ñ¾ã­Ó¤½¦¡ªº·N¸q¤~¯à¥[¥H¹B¥Î¡C
§@ªÌ: jackson7015    ®É¶¡: 2012-7-19 16:27

·PÁÂHsiehª©¤jªº«ü¾É
¤p§Ìªº¨ç¼Æ¹B¥ÎÁÙ¦b°_¨B¾Ç²ß¶¥¬q¡A¬Û¦P¨ç¼Æ¦h­n°Ñ¦Ò¦hºØ¬Û¦ü¹B¥Î¨ÓºCºC¸ÑªR
·|ºCºC§ï¶i¾Ç²ßºA«×¡F·P¿EHsiehª©¤j¤£§[«ü±Ð
§@ªÌ: happycoccolin    ®É¶¡: 2012-9-5 18:22

¦^´_ 6# Hsieh


Hsieh ¤j¤j½Ð±Ð¤@¤U~
¥Ø«e§Ú¨Ï¥Î¤W¹J¨ì¤@­Ó°ÝÃD,§Q¥ÎBÄæ¨Ó°µ¤ñ¹ï,¦ý¬O­Y¤ñ¹ï¨ì¨Ò¦p¦r¤¸¬°:IR10000 & R10000,·|¥X²{²V²cªº²{¶H~¥u·|§ì¨ìIR10000ªº­È,½Ð°Ý­n«ç»ò§ï©O?ÁÂÁÂ!!

Sheet1
A                                       B                   C
09-87654321        IR10000        12-34567890        
09-87654322        R10000          12-34567890 (À³¸Ó­n§ì¨ì12-34567891)        
09-87654323        D1               

Sheet2
A                                       B
12-34567890        R10000,R10001
12-34567891        IR10000
12-34567892        C2,D3
§@ªÌ: Hsieh    ®É¶¡: 2012-9-5 22:23

¦^´_ 15# happycoccolin

¼Ò½k¤ñ¹ïµLªk¹F¦¨¨º´N¥Î¦Û©w¸q¨ç¼Æ¸Õ¸Õ

   [attach]12385[/attach]
  1. Function Dictionary(key As Range, item As Range, crt As String)
  2. Set d = CreateObject("Scripting.Dictionary")
  3. For i = 1 To key.Count
  4.   For Each a In Split(key(i), ",")
  5.     d(CStr(a)) = item(i).Value
  6.   Next
  7. Next
  8. Dictionary = d(CStr(crt))
  9. End Function
½Æ»s¥N½X

§@ªÌ: happycoccolin    ®É¶¡: 2012-9-6 10:24

¦^´_ 16# Hsieh


HSIEN¤j¤j§Ú¸Õ¹L¤FÁÂÁ±z!!ÁÂÁÂ!

¥u¬OVBA§¹¥þ¤£¼ô,ÁÙÆZ·Q·d²M·¡¨ÓÀs¥h¯ßªº~@@

¬O­n¦hªáÂI®É¶¡¬ãŪ¤F
§@ªÌ: ddrreate    ®É¶¡: 2013-8-1 15:20

¦^´_  happycoccolin
Hsieh µoªí©ó 2012-7-2 18:10



½Ð°Ý³oºØ¼Ò½k¤ñ¹ï­n¦p¦ó¥ÎVBA¼g¥X¨Ó
§Úªº°ÝÃD¨ä¹ê¥Î³o­Ó¨ç¼Æ¯à¸Ñ¨M, ¤£¹L§ÚÁÙ¬O·Qª¾¹DVBA­n«ç»ò¼g
§@ªÌ: mhl9mhl9    ®É¶¡: 2013-8-5 18:11

B1=MID(A1,FIND("(",A1)+1,FIND(")",A1)-FIND("(",A1)-1)
C5=IF(FIND(B5,Sheet2!B1)>0,Sheet2!A1,"")
§@ªÌ: shuwen0219    ®É¶¡: 2015-9-18 12:35

¥»©«³Ì«á¥Ñ shuwen0219 ©ó 2015-9-18 12:38 ½s¿è

{1187632393755295}
[T200P1275298438942244]       
½Ð°Ý¦P¤@Äæùتº¸ê®Æ¦³³o¨âºØ,§Ú­n¨ú¥X¤¤¶¡ªº¼Æ­Èªº­n«ç»ò°µ?
¥Ñ«áºâ¨ú16½X¼Æ¦r.
§@ªÌ: hcm19522    ®É¶¡: 2015-9-21 16:48

¦^´_ 8# jackson7015
http://blog.xuite.net/hcm19522/twblog/344440654
§@ªÌ: shuwen0219    ®É¶¡: 2015-9-27 23:19

­q³æ¸¹­n±q°Ó«~­q³æ¸¹©Î³Æµù¨ú¥X,¦ì¸mªº§PÂ_À³¸Ó¬O¸ò·~°ÈÃþ«¬¦³Ãö,
¦Ó¥B¹ê»Ú¨ú¥Xªº¸ê®Æ¤]µo²{¦³¤å¦r¦³¼Æ¦r,§Y¨Ï¦×²´§PÂ_³æ¸¹¬O¤@­Pªº,
¦ý¬O½X¼Æ¹ê»Ú¦³15-18½X.
¤v¸g¥´ºâ½Ð³nÅ餽¥qª½±µ«È¨î³øªí¤F,¤£¹LÁÙ¬O«Ü·Qª¾¹D³oºØªº¸ê®Æ­n«ç»ò³B²z¤ñ¸û¦n.
§@ªÌ: tku0216    ®É¶¡: 2015-10-6 23:13

¦^´_ 1# happycoccolin

¨Ñ°Ñ¦Ò¡G
²Ä¤@­Ó°ÝÃD¨ä¹ê¥i¥H¨Ï¥Î¸ê®Æ­åªR¡A¥ý°µ¤@¦¸"("¡A¦A°µ¤@¦¸")"´N¥i¥H§¹¦¨¡A¤£»Ý­n¥Î¨ç¼Æ¡C
§@ªÌ: hcm19522    ®É¶¡: 2015-10-7 09:58

http://blog.xuite.net/hcm19522/twblog/347023385
§@ªÌ: hcm19522    ®É¶¡: 2015-10-7 10:14

http://blog.xuite.net/hcm19522/twblog/344440654
http://blog.xuite.net/hcm19522/twblog/347023385
§@ªÌ: hcm19522    ®É¶¡: 2015-10-7 10:28

http://blog.xuite.net/hcm19522/twblog/344440654




Åwªï¥úÁ{ ³Â»¶®a±Ú°Q½×ª©ª© (http://forum.twbts.com/)