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

[µo°Ý] formulaªº°ÝÃD

[µo°Ý] formulaªº°ÝÃD

¥»©«³Ì«á¥Ñ twosix ©ó 2014-4-22 16:09 ½s¿è

·Q½Ð°Ý¦U¦ì¤j¤j
§Ú¦b¨Ï¥Îfoumula³o­Ó¨ç¼Æ®É
Worksheets("GR912").Range("R2").Formula = "=ROUND((IF(OR($B2="5J",$B2="5Q",$B2="5N"),1,($G2/VLOOKUP($B2,³æ¦ì«OÃB!$B:$C,2,FALSE)))*VLOOKUP($C2,GR910_5A_10303!$H:$P,9,FALSE))*($Q2-$P2+1)/365,0)"

¹³³o­Ó¦³OR($B2="5J",$B2="5Q",$B2="5N")
¨ä¤¤"5J"·|¥X²{  ½sĶ¿ù»~  ¥²¶·¬O::³¯­z¦¡µ²§À

½Ð°Ý¹J¨ìformulaªº¦¡¤l¸Ì­±¦³""ªº°ÝÃD­n«ç»ò¸Ñ¨Mªü?

ÁÂÁ¤j®a¦b¥~­±¦A¥[­Ó""´N¥i¥H¶]¤F

TOP

¦A½Ð°Ý¤@­Óformulaªº°ÝÃD
    III = 100
    Do
    III = III - 1
    Loop While Cells(III, 1) = ""
    Jud_num = III (°²³]Jud_num =12)
    Worksheets("GR910").Range("Q4").Formula = "=sum($A$1 : $A$ Jud_num  )"

°²³]§Ú­n¦bformulaªº¤½¦¡¸Ì­±
©ñ¸mªº¬O¤@­ÓÅܰʪºJud_num  ¼Æ¦r
­n«ç»òÅý¥¦Åܦ¨
Worksheets("GR910").Range("Q4").Formula = "=sum($A$1 : $A$12  )"

TOP

¦^´_ 7# owen06

·|¥X²{
°õ¦æ¶¥¬q¿ù»~1004 À³¥Îµ{¦¡©Îª«¥ó©w¸q¤Wªº¿ù»~
³o¼Ëªº°T®§­CXDD

TOP

¦^´_ 9# owen06

ÁÂÁ¤j¤j§Ú§ä¨ì­ì¦]¤F
"=sum($A$1 : $A$" & Jud_num & ")"
§Ú¦b$¸ò"¶¡µ¹¥LªÅ¤@®æ $ "
©Ò¥H¤~·|¦³¨º­Ó¿ù»~°T®§

TOP

        ÀR«ä¦Û¦b : ·O´d¨S¦³¼Ä¤H¡A´¼¼z¤£°_·Ð´o¡C
ªð¦^¦Cªí ¤W¤@¥DÃD