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

VBA ¥[Á`¼Æ­È

¦^´_ 1# 518587
  1. Sub ex()
  2. Set d = CreateObject("Scripting.Dictionary")
  3. For Each a In Range([A1], [A1].End(xlDown)) '¸ê®Æ¦AAÄæ
  4.    d(Format(Mid(a, 1, 8), "0000/00/00")) = d(Format(Mid(a, 1, 8), "0000/00/00")) + Val(Mid(a, 9))
  5. Next
  6. [D1].Resize(d.Count, 1) = Application.Transpose(d.keys) '¤é´Á©ñ¨ìDÄæ
  7. [E1].Resize(d.Count, 1) = Application.Transpose(d.items) '¼Æ¶q¥[Á`©ñ¨ìEÄæ
  8. End Sub
½Æ»s¥N½X
¾Ç®üµL²P_¤£®¢¤U°Ý

TOP

³] 201101010001 ¦b A2
B2¤½¦¡
=DATE(LEFT($A2,4),MID($A2,6,2),MID($A2,8,2))
¤é´Á®æ¦¡³]¬°
yyyy/mm/dd

TOP

        ÀR«ä¦Û¦b : §g¤l¥ß«í§Ó¡A¤p¤H«í¥ß§Ó¡C
ªð¦^¦Cªí ¤W¤@¥DÃD