- ©«¤l
- 1447
- ¥DÃD
- 40
- ºëµØ
- 0
- ¿n¤À
- 1471
- ÂI¦W
- 0
- §@·~¨t²Î
- Windows 7
- ³nÅ骩¥»
- Excel 2010 & 2016
- ¾\ŪÅv
- 50
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥xÆW
- µù¥U®É¶¡
- 2020-7-15
- ³Ì«áµn¿ý
- 2024-12-3
|
¥»©«³Ì«á¥Ñ Andy2483 ©ó 2023-2-18 15:46 ½s¿è
¦^´_ 6# ã´£³¡ªL
ÁÂÁ«e½ú,½Ð«e½ú¦A«ü¾É
1.¥ý¦b«È¤á°ò¥»¸ê®Æªí³]»²§UÄæ(BÄæ)
1.1.´Ó¤J=IF(³æ!$Q$8="","",IF(ISERR(SEARCH(³æ!$Q$8,C2&D2&"/")),"",ROW(A2))) :Åã¥Ü ªÅ¥Õ©Î¦C¸¹
1.2.SEARCH(³æ!$Q$8,C2&D2&"/"): ¦^¶Ç ¦r¤¸¦ì¸m
¥H ³æ!$Q$8Ȧr¦ê·ín§ä´Mªº¤å¦r, ¥ÎSEARCH()·j´M C2&D2&"/" ©Ò²Õ¦¨ªº·s¦r¦ê ¦^¶Ç ©Ò¦bªº¶}©l¦ì¸m
³æ!$Q$8 ="¤¤µØ*1020/" : ¬On§ä´Mªº¤å¦r,¦Ó¤¤¶¡¦³Ó * ¸U¦r¤¸,©Ò¥H§ä´Mªº¤å¦r¦ê¬O: ¥H "¤¤µØ" ¶}ÀY, ¥H "1020/" µ²§Àªº³sÄò¦r¦êªº·N«ä
³Ì«áªº "/" ¬O¬°¤F½T©w¬O¦r¦êªºµ²§À¦r¤¸
¦pªGn§ä´Mªº¤å¦r¤£¦b C2&D2&"/" ©Ò²Õ¦¨ªº¦r¦ê¸Ì! «h·|¶Ç¦^ #VALUE! ¿ù»~È¡C
1.3.ISERR(¦r¤¸¦ì¸m): ¿ù»~ȧP©w ¦^¶Ç1©Î0
¦pªG ¦r¤¸¦ì¸m ¦^¶Ç #VALUE! ¿ù»~È! ¿ù»~ȧP©w¬O1
¦ý¦pªG ¦r¤¸¦ì¸m¬O¼Æ¦r! ¿ù»~ȧP©w¬O0
1.4.IF(¿ù»~ȧP©w,"",ROW(A2))) :ªÅ¥Õ©Î¦C¸¹
IF(³æ!$Q$8="","",ªÅ¥Õ©Î¦C¸¹)
¦pªG ³æ!$Q$8 ¬OªÅ¥Õ!´N¤£¥²SEARCH(),¦bÀx¦s®æÅã¥ÜªÅ¥Õ
§_«h´N¦^¶Ç IF(ISERR(SEARCH()),"",ROW(A2))¬OªÅ¥Õ©Î¦C¸¹,Åã¥Ü¦bÀx¦s®æ
2.[Q9]=INDEX(«È¤á°ò¥»¸ê®Æ!C:C,SMALL(«È¤á°ò¥»¸ê®Æ!B:B,ROW(A1)))&"_"&INDEX(«È¤á°ò¥»¸ê®Æ!D:D,SMALL(«È¤á°ò¥»¸ê®Æ!B:B,ROW(A1)))
¤¤µØ¹q«HªÑ¥÷¦³¤½¥q_66001020001020
2.1.Åã¥Ü ¦^¶Ç¤á¦W&"_" & ¦^¶Ç±b¸¹
2.2.¦^¶Ç¤á¦W=INDEX(«È¤á°ò¥»¸ê®Æ!C:C,SMALL(«È¤á°ò¥»¸ê®Æ!B:B,ROW(A1))) ="¤¤µØ¹q«HªÑ¥÷¦³¤½¥q"
ROW(A1) =1
SMALL(«È¤á°ò¥»¸ê®Æ!B:B,ROW(A1)) =2
¦^¶Ç «È¤á°ò¥»¸ê®Æ!BÄæ²Ä1¤pªºÈ
INDEX(«È¤á°ò¥»¸ê®Æ!C:C,SMALL(«È¤á°ò¥»¸ê®Æ!B:B,1))
INDEX(«È¤á°ò¥»¸ê®Æ!C:C,2)
¦^¶Ç «È¤á°ò¥»¸ê®Æ!C2Àx¦s®æªºÈ
2.3.¦^¶Ç±b¸¹=INDEX(«È¤á°ò¥»¸ê®Æ!D:D,SMALL(«È¤á°ò¥»¸ê®Æ!B:B,ROW(A1)))
ROW(A1) =1
SMALL(«È¤á°ò¥»¸ê®Æ!B:B,ROW(A1)) =2
¦^¶Ç «È¤á°ò¥»¸ê®Æ!BÄæ²Ä1¤pªºÈ
INDEX(«È¤á°ò¥»¸ê®Æ!D:D,2)
¦^¶Ç «È¤á°ò¥»¸ê®Æ!D2Àx¦s®æªºÈ = "66001020001020" |
|