pºâ¯S©w°Ï¶¡¦³Åã¥ÜªºÀx¦s®æÓ¼Æ
- ©«¤l
- 222
- ¥DÃD
- 56
- ºëµØ
- 0
- ¿n¤À
- 285
- ÂI¦W
- 0
- §@·~¨t²Î
- window
- ³nÅ骩¥»
- office2003
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥xÆW
- µù¥U®É¶¡
- 2010-8-30
- ³Ì«áµn¿ý
- 2024-4-22
|
pºâ¯S©w°Ï¶¡¦³Åã¥ÜªºÀx¦s®æÓ¼Æ
¦pªþ¥óÀ£ÁYÀÉ
¥unAÄæ¦ì¦³Åã¥Ü¤§°Ï¶¡´Npºâ¸Ó°Ï¶¡ªºCÄæ¦ì¤ÎEÄæ¦ì¸Ì¦³Åã¥ÜªºÀx¦s®æÓ¼Æ
ª½¨ì§ä¤£¨ì«áÄòªºAÄæ¦ìÀx¦s®æ¦³Åã¥Ü¬°¤î(A~EÄæ¦ì¦³Åã¥Üªº¦C¼Æ¬°¤£¤@©w)
¨Ò¦pªþ¥ó¹Ï¤ù©Ò¥Ü
A3Àx¦s®æ¦³Åã¥Ü,A20Àx¦s®æ¦³Åã¥Ü,©Ò¥HpºâC3~C19¤ÎE3~E19Àx¦s®æÅã¥ÜªºÓ¼Æ
1>L3Àx¦s®æ¤º®eµ¥©óA3Àx¦s®æ®æ¤º®e
2>M3Àx¦s®æ¤º®eµ¥©óB3Àx¦s®æ®æ¤º®e
3>N3Àx¦s®æ¤º®eµ¥©óC3~C19Àx¦s®æÅã¥ÜªºÓ¼Æ
4>O3Àx¦s®æ¤º®eµ¥©óE3~E19Àx¦s®æÅã¥ÜªºÓ¼Æ
¥H¤UÃþ±À |
-
-
Image 002.jpg
(143.93 KB)
-
-
¤é»x.rar
(82.47 KB)
|
|
|
|
|
|
- ©«¤l
- 1387
- ¥DÃD
- 4
- ºëµØ
- 0
- ¿n¤À
- 1397
- ÂI¦W
- 0
- §@·~¨t²Î
- WIN
- ³nÅ骩¥»
- 2007
- ¾\ŪÅv
- 50
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2015-9-11
- ³Ì«áµn¿ý
- 2024-11-21
|
¦^´_ 5# oak0723-1
¼Æ¾ÚªÅ¥Õ «D¥þªÅ¥Õ {=IF($A2=" ","",IF(COLUMN(A1)<3,A2,SUM(N(LEN(OFFSET(A2,,,-LOOKUP(9,-MATCH(1=1,$A3:$A22<>" ",{1,0}))))>1)))) |
|
google"EXCEL°g" blog ©Îgoogleºô§}:https://hcm19522.blogspot.com/
|
|
|
|
|
- ©«¤l
- 222
- ¥DÃD
- 56
- ºëµØ
- 0
- ¿n¤À
- 285
- ÂI¦W
- 0
- §@·~¨t²Î
- window
- ³nÅ骩¥»
- office2003
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥xÆW
- µù¥U®É¶¡
- 2010-8-30
- ³Ì«áµn¿ý
- 2024-4-22
|
¦^´_ 6# ã´£³¡ªL
ÁÂÁÂ
·P®¦
·P®¦ |
|
|
|
|
|
|
- ©«¤l
- 2834
- ¥DÃD
- 10
- ºëµØ
- 0
- ¿n¤À
- 2890
- ÂI¦W
- 0
- §@·~¨t²Î
- ¡e²¤¡f
- ³nÅ骩¥»
- ¡e²¤¡f
- ¾\ŪÅv
- 100
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¡e²¤¡f
- µù¥U®É¶¡
- 2013-5-13
- ³Ì«áµn¿ý
- 2024-11-21
|
Sub TEST_A1()
Dim Arr, Brr, R&, i&, j%, V, S&, X(6)
R = Range("a:e").Find("*", , , , 1, 2).Row
Arr = Range("a2:e" & R + 1)
ReDim Brr(1 To R, 1 To 6)
For i = 2 To R - 1
If Trim(Arr(i, 1)) <> "" Then
X(1) = Trim(Arr(i, 1)): X(2) = Trim(Arr(i, 2)): S = i - 1
For j = 3 To 6: X(j) = 0: Next
End If
X(3) = X(3) - (Trim(Arr(i, 3)) <> ""): X(5) = X(2) / X(3)
X(4) = X(4) - (Trim(Arr(i, 5)) <> ""): X(6) = X(2) / X(4)
If Trim(Arr(i + 1, 1)) <> "" Or i = R - 1 Then
For j = 1 To 6: Brr(S, j) = X(j): Next
End If
Next i
[l3].Resize(R, 6) = Brr
End Sub
'========================== |
|
|
|
|
|
|
- ©«¤l
- 222
- ¥DÃD
- 56
- ºëµØ
- 0
- ¿n¤À
- 285
- ÂI¦W
- 0
- §@·~¨t²Î
- window
- ³nÅ骩¥»
- office2003
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥xÆW
- µù¥U®É¶¡
- 2010-8-30
- ³Ì«áµn¿ý
- 2024-4-22
|
¦^´_ 3# hcm19522
©êºp,§Ú¤£¤ÓÀ´¦p¦ó¨Ï¥Î(¦pªþ¥óÀÉ®×) |
|
|
|
|
|
|
- ©«¤l
- 222
- ¥DÃD
- 56
- ºëµØ
- 0
- ¿n¤À
- 285
- ÂI¦W
- 0
- §@·~¨t²Î
- window
- ³nÅ骩¥»
- office2003
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥xÆW
- µù¥U®É¶¡
- 2010-8-30
- ³Ì«áµn¿ý
- 2024-4-22
|
¦^´_ 2# samwang
ÁÂÁÂ~·P®¦~ |
|
|
|
|
|
|
- ©«¤l
- 1387
- ¥DÃD
- 4
- ºëµØ
- 0
- ¿n¤À
- 1397
- ÂI¦W
- 0
- §@·~¨t²Î
- WIN
- ³nÅ骩¥»
- 2007
- ¾\ŪÅv
- 50
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2015-9-11
- ³Ì«áµn¿ý
- 2024-11-21
|
|
google"EXCEL°g" blog ©Îgoogleºô§}:https://hcm19522.blogspot.com/
|
|
|
|
|
- ©«¤l
- 976
- ¥DÃD
- 7
- ºëµØ
- 0
- ¿n¤À
- 1018
- ÂI¦W
- 0
- §@·~¨t²Î
- Win10
- ³nÅ骩¥»
- Office 2016
- ¾\ŪÅv
- 50
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2013-4-19
- ³Ì«áµn¿ý
- 2024-10-30
|
¥»©«³Ì«á¥Ñ samwang ©ó 2022-4-27 09:34 ½s¿è
¦^´_ 1# oak0723-1
½Ð´ú¸Õ¬Ý¬Ý¡AÁÂÁÂ
Sub test()
Dim Arr, Brr(), i&, i2&
Arr = [a2].CurrentRegion
ReDim Brr(1 To UBound(Arr), 1 To 6)
For i = 2 To UBound(Arr)
If Trim(Arr(i, 1)) <> "" Then
Brr(i - 1, 1) = Arr(i, 1): Brr(i - 1, 2) = Arr(i, 2)
If Trim(Arr(i, 3)) <> "" Then Brr(i - 1, 3) = 1
If Trim(Arr(i, 5)) <> "" Then Brr(i - 1, 4) = 1
For i2 = i + 1 To UBound(Arr)
If Trim(Arr(i2, 1)) <> "" Then Exit For
If Trim(Arr(i2, 3)) <> "" Then Brr(i - 1, 3) = Brr(i - 1, 3) + 1
If Trim(Arr(i2, 5)) <> "" Then Brr(i - 1, 4) = Brr(i - 1, 4) + 1
Next
Brr(i - 1, 5) = Brr(i - 1, 2) / Brr(i - 1, 3)
Brr(i - 1, 6) = Brr(i - 1, 2) / Brr(i - 1, 4)
End If
Next
Range("L3").Resize(UBound(Brr), 6) = Brr
End Sub |
|
|
|
|
|
|