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

[µo°Ý] EXCEL¥i¥H±NÀx¦s®æ¤º®e¹ïÀ³¨ì¤u§@ªí°µ³B²z¶Ü?

[µo°Ý] EXCEL¥i¥H±NÀx¦s®æ¤º®e¹ïÀ³¨ì¤u§@ªí°µ³B²z¶Ü?

¥»©«³Ì«á¥Ñ kaosh22 ©ó 2015-3-24 21:31 ½s¿è

¦U¦ì«e½ú¤j®a¦n
¤p§Ì§Æ±æ§Q¥ÎEXCEL±N­ì©l¸ê®Æªº®ÆªíÂà´«¦¨¸û¸Ô²Óªº¤º®e
¥H¤U¬O¹Ï¤å»¡©ú


1.­ì©l¸ê®Æ¬°AÄæ~DÄæ,¥Ø«e§Ú¥i¥H¥Î²³æªºµ{¦¡±NAÄæ¦r¦ê¤À³Î¬°F~IÄæ



2.F2ªº¤º®e¬OAS1¡A§Æ±æ¯à¦Û°Ê±N4,15,9,20¹ïÀ³¨ìAS1¤u§@ªíªºÄæ¦ì¸Ì



3.±N¤w§ó·sªºªí®æ½Æ»s¯Â¤å¦r¨ìµ²ªG¤u§@ªí¤º¡A¤§«á¦A¨Ì§Ç±NSHEET1ªºF3~F6§@¬Û¦P³B²z¡A§Æ±æ³Ì«áªº¦¨ªG¦p¤U¹Ï


³oÃä¦]¬°­ì©l¸ê®Æªº©R¦W­ì«h¡A·|¥X²{¦pF4,F5³£¬O¬Û¦PªºFS1¡A©Ò¥H¤~·|§Æ±æ¥ýŪ§¹F2ªº¤º®e«á¦A¨Ì§Ç¦V¤U§@·~
¦]¬°­n³B²zªº¸ê®Æ¦³®É¥i¯à·|¨ì´X¦Êµ§¡A³oÃä¥u¬O¥ý¥´¥X¤@¨Ç¨Ò¤l¡A§Æ±æ¥i¥H³z¹LVBA´î¤Ö³B²zªº³t«×
¦pªG¤j®a¦³§ó¦nªº·Qªk¤]½Ð¤£§[´£¥X¡AÁÂÁÂ

½d¨Ò.rar (8.47 KB)

EXCEL ¤å¥ó

¦^´_ 1# kaosh22

¹Ï¤@  AS1-1-0805  ¦p¦ó±o¨ì->        4        15        9        20
¹Ï¤G,¹Ï¤T ¦p¦ó±a¤Jµ²ªG.
·P®¦ªº¤ß......(¦b³Â»¶®a±Ú°Q½×°Ï.¥Î¤ß¾Ç²ß·|¦³¶i¨Bªº)
¦ý¸ê·½µL­­,«á´©¦³­­,  ¤@¤Ñ1¤¸ªºÃÙ§U,¤H¤H¦³¯à¤O.

TOP

«D±`©êºp¡A¨º­Ó¬O¦Û¤v·Q¶ñ¨ä¥L­È¥h´ú¸Õ¨S§ï¦^¨Ó
À³¸Ó¬O AS1-1-0805 ¡÷  1   8   5   1  ¡A³Ì«áªº1¬O§âQ'TYªº­Èª½±µ½Æ»s¹L¥h
¹Ï¤ù¤G¬O±N1,8,5,1±a¤J¤u§@ªí¦³¤W¦âªºÀx¦s®æ«á±N®Æªí§ó·s
³Ì«á¤~·|¬O¹Ï¤ù¤Tªº¼Ë¤l
­ì¥»ªº¤º®e¦n¹³¤£¯à½s¿è¤F¡A§Ú§â§ï¹LªºªþÀɤ]¤@¨Öªþ¤W

¹Ï¤@.


¹Ï¤G.


¹Ï¤T.


½d¨Ò-¤w­×¥¿.rar (11.96 KB)

TOP

¦^´_ 3# kaosh22
1# ¦³»¡:³oÃä¦]¬°­ì©l¸ê®Æªº©R¦W­ì«h¡A·|¥X²{¦pF4,F5³£¬O¬Û¦PªºFS1¡A
3# ¹Ï¤ù¤G¬O±N1,8,5,1±a¤J¤u§@ªí¦³¤W¦âªºÀx¦s®æ«á±N®Æªí§ó·s
·íF4,F5³£¬O¬Û¦PªºFS1 ­n¦p¦ó±a¤JFS1(¤u§@ªí)¦³¤W¦âªºÀx¦s®æ.
  1. Option Explicit
  2. Sub Ex_¹Ï¤@()
  3.     Dim Ar(), Ay(1 To 5), i As Integer, Sp As Variant
  4.     With Sheets("SHEET1")
  5.         i = 2
  6.         Do While .Cells(i, "A") <> ""
  7.             Erase Ay
  8.             ReDim Preserve Ar(1 To i - 1)
  9.             Sp = Split(.Cells(i, "A"), "-")
  10.             Ay(1) = Sp(0)
  11.             Ay(2) = Sp(1)
  12.             Ay(3) = Mid(Sp(2), 1, 2)
  13.             If Len(Sp(2)) > 2 Then Ay(4) = Mid(Sp(2), 3, 2)
  14.             Ay(5) = .Cells(i, "C")
  15.             Ar(i - 1) = Ay
  16.             i = i + 1
  17.         Loop
  18.         .Range("F2").Resize(i - 2, 5) = Application.Transpose(Application.Transpose(Ar))
  19.     End With
  20. End Sub
½Æ»s¥N½X
·P®¦ªº¤ß......(¦b³Â»¶®a±Ú°Q½×°Ï.¥Î¤ß¾Ç²ß·|¦³¶i¨Bªº)
¦ý¸ê·½µL­­,«á´©¦³­­,  ¤@¤Ñ1¤¸ªºÃÙ§U,¤H¤H¦³¯à¤O.

TOP

GBKEEªO¤j§A¦n¡A·PÁ§Aªº¦^ÂÐ
½Ð°Ý¬O­n°Ý¦³­«ÂЭȪº±¡ªp­n¦p¦ó³B²z¶Ü¡H

¥t¥~·Q°Ý¤@¤U¤º¤åªºµ{¦¡¡A§Ú¦b¥¨¶°¶}±Ò«á¨S¦³§@¥Î
·Q°Ý°õ¦æ«á·|¥X²{¤°»ò°Ê§@??
ÁÂÁÂ

TOP

¦^´_ 5# kaosh22
·íF4,F5³£¬O¬Û¦PªºFS1 , §A­n¨ú­þ¤@µ§¸ê®Æ¨ìFS1(¤u§@ªí)¦³¤W¦âªºÀx¦s®æ.

F-J Äæ²MªÅ«á,°õ¦æµ{¦¡¬Ý¬Ý.
·P®¦ªº¤ß......(¦b³Â»¶®a±Ú°Q½×°Ï.¥Î¤ß¾Ç²ß·|¦³¶i¨Bªº)
¦ý¸ê·½µL­­,«á´©¦³­­,  ¤@¤Ñ1¤¸ªºÃÙ§U,¤H¤H¦³¯à¤O.

TOP

¦]¬°­ì©l¸ê®Æªº°Ï¤À¤è¦¡¬O¨ú¨MGÄ檺type»P«á­±ªº¼Æ¦r®æ¦¡
2µ§FS1³£»Ý­n§ì«á­±ªº­È¨Ó¨ú±o¤£¦Pªº®Æ

©Ò¥H¤~·Q°Ý°Ý¬Ý¬O§_¦³¿ìªk§ì§¹F4Ä檺FS1«á
¯à§_¦³¿ìªkÄ~Äò³B²zF5Ä椺ªºFS1

°ÝÃD¦³ÂI¦h¡A¦p¦³§ó¦nªº¤è¦¡¤]Åwªï«ü¥¿
¥t¥~¤@¶}©lªº¥¨¶°¥i¥H¥Î¡AÁÂÁª©¤j

TOP

¦U¤u§@AÄæ¨Ï¥Îvlookup(H$2&ROW(N1),N1:R9,3,FALSE)
B 3¡÷4
C 3¡÷5
D 3¡÷6
¥Î¦¹¨ç¼Æ°t¦XNÄæ(N2=O3&COUNTIF(O$2:O3,O3))¡A¥i±Nµµ¦â®æ¤ºªº­È¹ïÀ³¨ìOÄ檺¶µ¥Ø
´N¥i¥H§âno.1~4ªºP,Q,RÄæ¹ïÀ³¨ìA,B,CÄæ

¤U­±ªº¦C¥u¬O±N¹ïÀ³ªºROW( )§ó§ï¼Æ¦r

TOP

¦^´_ 8# kaosh22

¦U¤u§@AÄæ¨Ï¥Îvlookup(H$2&ROW(N1),N1:R9,3,FALSE) ³o§Ú¤F¸Ñ
¬°¦ó¦U¤u§@ªºµ§¼Æ¤£¦P,¬O¦p¦ó¨M©w¦U¤u§@ªºµ§¼Æ

·P®¦ªº¤ß......(¦b³Â»¶®a±Ú°Q½×°Ï.¥Î¤ß¾Ç²ß·|¦³¶i¨Bªº)
¦ý¸ê·½µL­­,«á´©¦³­­,  ¤@¤Ñ1¤¸ªºÃÙ§U,¤H¤H¦³¯à¤O.

TOP

¤u§@µ§¼Æ¬O«üAS1¦³2µ§¡AFS2«o¦³6µ§³o¼Ë¶Ü¡H

¦]¬°¤@¶}©lªº­ì©l¸ê®Æ¶È¦³±Ô­z³o­ÓTAG¬O¤°»òªF¦è
¨Ò¦p:FS2-2-08¬OFIELD SUPPORT
¦ý¬O³o­ÓSUPPORT¬O¥Ñ¦n´X­Ó¹s¥ó²Õ¦X¦Ó¦¨
©Ò¥H¶}ÀYªºAS1·|¦³2­Ó¹s¥ó¡AFS2·|¦³6­Ó¹s¥ó

¦Ó§Ú­Ì·|¦³¤@¥»«p«pªºsupport standard
¤W­±¦³¬ö¿ý³o²Õsupport·|¦³¦h¤Ö­Ó¹s²Õ¥ó

TOP

        ÀR«ä¦Û¦b : ¡i®É¶¡¦¨´N¤@¤Á¡j®É¶¡¥i¥H³y´N¤H®æ¡A¥i¥H¦¨´N¨Æ·~¡A¤]¥i¥HÀx¿n¥\¼w¡C
ªð¦^¦Cªí ¤W¤@¥DÃD