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

½Ð±Ð¥´¥d²Î­p°ÝÃD

½Ð±Ð¥´¥d²Î­p°ÝÃD

½Ð±Ð¦Vªþ¥ó¨º¼Ë¥´¥d¥X¨Óªº­n¦p¦ó²Î­p
¿ð¨ìªº¦¸¼Æ
¿ð¨ìªº®É¶¡²Î­p
¦­°hªº®É¶¡²Î­p
¤Î¯S¥ðªº®É¼Æ²Î­p

ÁÂÁÂ

Book5.rar (4.26 KB)

¦^´_ 1# tony0318

¸Õ¸Õ¬Ý
  1. Sub Ex()
  2.     Dim Ar(), a, i  As Integer
  3.     With Sheets("sheet1")
  4.         Ar = Application.Transpose(.Range("g2", .Range("g2").End(xlDown)))
  5.         .[f34] = UBound(Filter(Ar, .[e34], True)) + 1  
  6.         .[f35] = UBound(Filter(Ar, .[e35], True)) + 1
  7.         .[f36] = UBound(Filter(Ar, .[e36], True)) + 1
  8.         For Each a In Filter(Ar, .[e37], True)
  9.             i = i + Mid(a, InStr(a, "¥ð") + 1, InStr(a, "¤À") - InStr(a, "¥ð") - 1)
  10.         Next
  11.         .[f37] = i / 60
  12.     End With
  13. End Sub
½Æ»s¥N½X

TOP

«D±`·PÁ±zªºÀ°¦£!
¥i¯à§Ú¼gªº¤£²M·¡!
F35©MF36 ­n§e²{ªº¬O¤ÀÄÁªº²Ö­p¡A¦Ó«D¦¸¼Æ¡A
½Ð±z¦A¦¸À°¦£¡AÁÂÁ¡C

TOP

¦^´_ 3# tony0318

³o­Ó°ÝÃDÂI¦b©ó¤W¡B¤U¯Zªº¿ð¨ì¦­°h¼Ð·Ç¬°¦ó?
°Ñ¦Ò¤@¤U³o­Ó°Q½×
http://forum.twbts.com/thread-3811-4-2.html
¾Ç®üµL²P_¤£®¢¤U°Ý

TOP

Hsieh ±z¦n :

¹ïµ{¦¡¤£¬O«ÜÀ´¡A¦ýGBKEE ªº µ{¦¡À³¸Ó¬O¥i¦æªº¡A¦]¬°¦³¬Ý¨ì¯S¥ð³¡¤À¬O¥i¥H²Ö¥[ªº¨Ã¥B´«ºâ¦¨¤p®É¡C
¦Ó¿ð¨ì©M¦­°h¡A°£­n¦³­pºâ¦¸¼ÆÁÙ­n¦³¿ð¨ì²Ö­p¤ÀÄÁ¼Æ¡B¦­°h¤ÀÄÁ¼Æ¡C

ÁÂÁ¡C

TOP

¦^´_ 5# tony0318
§A¹ïµ{¦¡¤£¬O«ÜÀ´,¥i¥H½m²ß¬Ý¬Ý
For Each a In Filter(Ar, .[e37], True)
            i = i + Mid(a, InStr(a, "¥ð") + 1, InStr(a, "¤À") - InStr(a, "¥ð") - 1)
Next
i=²Ö­p¯S¥ðªº¤ÀÄÁ  ,InStr(a, "¥ð")=§ä¥X"¥ð"¦ì©ó¦r¦êªº¦ì¸m¼Æ  
F35©MF36 ­n§e²{ªº¬O¤ÀÄÁªº²Ö­p¡A¦Ó«D¦¸¼Æ¡A§A¸ÕµÛ§ï¥X¨Ó,¤£·|«ÜÃøªº

TOP

¹Á¸Õ¹L¦h¦¸¡A
¿ð¨ì³¡¤À¬O²Ö­p¤F¡A
¦ý¦­°h¥X¤£¨Ó¡A
ÁÙ¦³¯S¥ð·|Åܦ¨480480¡A

¥H¤U¬O§Úªºµ{¦¡¥N½X¡A¤£ª¾¹D¿ù»~¦b­þ?ÁÂÁ¡C
  1. Sub Ex()
  2.     Dim Ar(), a, i As Integer
  3.     With Sheets("sheet1")
  4.         Ar = Application.Transpose(.Range("g2", .Range("g2").End(xlDown)))
  5.         .[f34] = UBound(Filter(Ar, .[e34], True)) + 1

  6.         For Each a In Filter(Ar, .[e35], True)
  7.             i = i + Mid(a, InStr(a, "¨ì") + 1, InStr(a, "¤À") - InStr(a, "¨ì") - 1)
  8.         Next
  9.         .[f35] = i

  10.         For Each a In Filter(Ar, .[e37], True)
  11.             k = k + Mid(a, InStr(a, "¥ð") + 1, InStr(a, "¤À") - InStr(a, "¥ð") - 1)
  12.         Next
  13.         .[f37] = k
  14.                
  15.         For Each a In Filter(Ar, .[e36], True)
  16.             j = j + Mid(a, InStr(a, "°h") + 1, InStr(a, "¤À") - InStr(a, "°h") - 1)
  17.         Next
  18.         .[f36] = j
  19.         
  20.     End With
  21. End Sub
½Æ»s¥N½X

TOP

¦^´_ 7# tony0318
§Aªº¦­°hªº¦r¦ê¬O«ç¼Ë¼gªº  ¦AªþÀɬݬÝ

TOP

±z¦n:
§Ú¤]¤@ª½Ä±±o«Ü©_©Ç¡A¬°¦ó¦­°h¤£¦æ?

ªþÀɦp¤U :
´ú¸Õ.rar (11.97 KB)

TOP

¦^´_ 9# tony0318
  1. Sub ex()
  2. [F34:F37] = ""
  3. For Each c In [E35:E37]
  4.    For Each a In [G2:G32]
  5.    k = InStr(a, c)
  6.       If k > 0 Then c.Offset(, 1) = c.Offset(, 1) + Val(Mid(a, k + Len(c))) / IIf(c = "¯S¥ð", 60, 1): If c = "¿ð¨ì" Then [F34] = [F34] + 1
  7.    Next
  8. Next
  9. End Sub
½Æ»s¥N½X
¾Ç®üµL²P_¤£®¢¤U°Ý

TOP

        ÀR«ä¦Û¦b : ¦a¤WºØ¤Fµæ¡A´N¤£©öªø¯ó¡F¤ß¤¤¦³µ½¡A´N¤£©ö¥Í´c¡C
ªð¦^¦Cªí ¤W¤@¥DÃD