ºâ¥X¤é´Á¤ñ¨Ò,±À¥X¨C©u·|ªáªº¿ú
- ©«¤l
- 9
- ¥DÃD
- 4
- ºëµØ
- 0
- ¿n¤À
- 13
- ÂI¦W
- 0
- §@·~¨t²Î
- window7
- ³nÅ骩¥»
- office 2010
- ¾\ŪÅv
- 10
- ©Ê§O
- ¤k
- ¨Ó¦Û
- HsinChu
- µù¥U®É¶¡
- 2013-10-14
- ³Ì«áµn¿ý
- 2014-6-26
|
ºâ¥X¤é´Á¤ñ¨Ò,±À¥X¨C©u·|ªáªº¿ú
¦U¦ì¤j¤j,
n¦b4Ó¤é´Á¤¤,pºâ¥X¤ñ¨Ò,¦A¼¤W¤uµ{´Ú, ¥Ø«e¥H¤½¦¡¥N¤J, YnÂà´«¦¨µ{¦¡,À³¦p¦ó°µ?
EX1.zip (260.39 KB)
|
|
Anny
|
|
|
|
|
- ©«¤l
- 1018
- ¥DÃD
- 15
- ºëµØ
- 0
- ¿n¤À
- 1058
- ÂI¦W
- 0
- §@·~¨t²Î
- win7 32bit
- ³nÅ骩¥»
- Office 2016 64-bit
- ¾\ŪÅv
- 50
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ®ç¶é
- µù¥U®É¶¡
- 2012-5-9
- ³Ì«áµn¿ý
- 2022-9-28
|
¦^´_ 1# anny8888 - Sub Test()
- Dim rIndex As Long, cIndex As Long
- Dim s, e, p, qs, qe, d
-
- With Sheets("Ex1")
- For rIndex = 6 To .Cells(.Rows.Count, "A").End(xlUp).Row
- s = .Cells(rIndex, 1).Value
- e = .Cells(rIndex, 2).Value
- p = .Cells(rIndex, 3).Value
- For cIndex = 4 To .Cells(1, .Columns.Count).End(xlToLeft).Column
- qs = .Cells(1, cIndex)
- qe = .Cells(2, cIndex)
- d = Application.Min(e, qe) - Application.Max(s, qs) + 1
- .Cells(rIndex, cIndex).Value = IIf(d > 0, p * d / (e - s + 1), "")
- Next
- Next
- End With
- End Sub
½Æ»s¥N½X |
|
|
|
|
|
|
- ©«¤l
- 9
- ¥DÃD
- 4
- ºëµØ
- 0
- ¿n¤À
- 13
- ÂI¦W
- 0
- §@·~¨t²Î
- window7
- ³nÅ骩¥»
- office 2010
- ¾\ŪÅv
- 10
- ©Ê§O
- ¤k
- ¨Ó¦Û
- HsinChu
- µù¥U®É¶¡
- 2013-10-14
- ³Ì«áµn¿ý
- 2014-6-26
|
·PÁ¤j¤j¨³³tªº¸Ñµª. |
|
Anny
|
|
|
|
|