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

¥i§_±Nª½¦C¼Æ­È¨Ì·Ó©T©w¦¸¼Æ´`Àô

¥i§_±Nª½¦C¼Æ­È¨Ì·Ó©T©w¦¸¼Æ´`Àô

¥i§_±Nª½¦C¼Æ­È¨Ì·Ó©T©w¦¸¼Æ´`Àô¦Ü65536
±N¼Æ­ÈÂন¾î¦V¤è¦V

Book1.rar (4.43 KB)

¦^´_ 3# yueh0720
³o¬O¤Þ¥Î¤u§@ªí¨ç¼ÆTransposeªº¥Îªk
¥i°Ñ¦Ò¤u§@ªí¨ç¼ÆTransposeªº»¡©ú
¾Ç®üµL²P_¤£®¢¤U°Ý

TOP

hsieh ª©¥D
Transpose Âà¸m«ü¥O¬O§_¥i¥H»¡©ú¨Ï¥Î¤è¦¡
¦]Excel F1¤¤¨ÃµL»¡©ú
­Y§Ú­n±N¾î¦V¸ê®ÆÂনª½¦V¬O§_¤]¥i¥Î¦¹«ü¥O?

TOP

¦^´_ 1# yueh0720
  1. Sub nn()
  2. Dim d As Object, r&, Ar()
  3. Set d = CreateObject("Scripting.Dictionary")
  4. r = 2
  5. Do Until Cells(r, 3) = ""
  6. Ar = Application.Transpose(Cells(r, 3).Resize(3, 1).Value)
  7. d(Cells(r, 2).Value) = Ar
  8. r = r + 3
  9. Loop
  10. [E2].Resize(d.Count, 1) = Application.Transpose(d.keys)
  11. [F2].Resize(d.Count, 3) = Application.Transpose(Application.Transpose(d.items))
  12. End Sub
½Æ»s¥N½X
¾Ç®üµL²P_¤£®¢¤U°Ý

TOP

        ÀR«ä¦Û¦b : ¡i¥Í©R¦b©I§l¶¡¡j¦òªû»¡¡G¡u¥Í©R¦b©I§l¶¡¡C¡v¤HµLªkºÞ¦í¦Û¤vªº¥Í©R¡A§óµLªk¾×¦í¦º´Á¡AÅý¦Û¤v¥Ã¦í¤H¶¡¡C¬JµM¥Í©R¥h¨Ó³o»òµL±`¡A§Ú­Ì§óÀ³¸Ó¦n¦n¦a·R±¤¥¦¡B§Q¥Î¥¦¡B¥R¹ê¥¦¡AÅý³oµL±`¡BÄ_¶Qªº¥Í©R¡A´²µo¥¦¯uµ½¬üªº¥ú½÷¡A¬M·Ó¥X¥Í©R¯u¥¿ªº»ù­È¡C
ªð¦^¦Cªí ¤W¤@¥DÃD