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

[µo°Ý] ½Ð°Ý¯à§_¨Ï¥Î¥¨¶°¨ú¥N¤H¤u¤§¿é¤J ·PÁ¯àªÌ¤j¤OÀ°§U

¥»©«³Ì«á¥Ñ lcctno ©ó 2015-9-23 13:19 ½s¿è

¦^´_ 10# ­ã´£³¡ªL
°h¦þ¡×¤âÄò¶O*°h¦þ²v ³o¬O¤@¯ë¤Hªº»{ª¾ §Ú¥H«e¤]¬O³o¼Ë»{¬°
¸g¦V¨÷°Ó¬dÃÒ ±o¨ìµ²ªG¬°
¨Ò¤@:
1000 *15.4=15400
·í¤é­pºâ :
¤w¦¬¤âÄò¶O=15400*0.001425=21.945   ===> 21

¨C¤ë§éÅý³B²z:
§éÅý«áÀ³¦¬¤âÄò¶O=15400 * .0.001425 *0.28=6.1446 ==>  6

§éÅýª÷= 21-6 =15
--------------------------------------------------------------------------------------------------------------------------------------------------
¨Ò¤G:
1000 * 11.64=11640
·í¤é­pºâ :
¤w¦¬¤âÄò¶O=11640*0.001425=16.587   ===> 16(¤p©ó20¥H20­pºâ) ===>20

¨C¤ë§éÅý³B²z:
§éÅý«áÀ³¦¬¤âÄò¶O=(11640 * .0.001425)(¤p©ó20¥H20­pºâ) *0.28=5.6 ==>  5

§éÅýª÷= 20-5 =15
------------------------------------------------------------------------------------------------------------------------------------------------------
¨Ò¤T:
3000 * 11.64=34920
·í¤é­pºâ :
¤w¦¬¤âÄò¶O=34920*0.001425=49.761   ===> 49

¨C¤ë§éÅý³B²z:
§éÅý«áÀ³¦¬¤âÄò¶O=(34920 * .0.001425) *0.28=13.93308 ==> 13

§éÅýª÷= 49-13 =36

§Ú¦Û¦æ±N¤½¦¡³]¬°§Úªº°h¦þ¤è¦¡(À³¸Ó¬O¹ïªº)
§éÅý¤½¦¡=IF(-(-C12-D12)*E12*1000*$H$10<20,20-TRUNC(20*(1-$E$10)),-G12-TRUNC(ABS(F12)*$H$10*(1-$E$10)))*IF(C12+D12=0,0,1)
C12 = ¶R±i¼Æ
D12 = ½æ±i¼Æ
E12 = ¦¨¥æ»ù
F12 = ¶R or ½æ²b»ù
$H$10 = ¨é°Ó¶R½æ¤âÄò¶O²v
$E$10 = ¨é°Ó§éÅý²v

¥i¤£¥i¥H±Nvba¼g¦¨¸Õ»~ªk ¤]´N¬Oµ¹CÄæ¿é¤J°Ñ¦Ò¶R±i¼Æ®É ±µµÛÀˬd¹ïÀ³¤§LÄæ(³Ñ¾lª÷ÃB)¤§­È¬O§_¤p©ó0 ­Y¤p©ó0®É ¶R±i´N´î1±i ¨Ã­«·s¿é¤J¼Æ­È
³o¼Ë´N¤£¥ÎºÞ¤âÄò¶O §éÅý µ|²vµ¥¤§°ÝÃD ´N¦p¦P§Ú¥Î¤H¤u³v¤@¬Ýºñ¦â¨Ó¿é¤J ·í¿é¤J®æÅܦ¨¬õ¦â®É´N­«·s¿é¤J(¤Ö1±i)
ÁÂÁ±zªº¥Î¤ß»PÀ°§U

TOP

¦^´_ 11# lcctno

¸Õ¶ñªk¡G§ï¦p¤U¡A³t«×§óºC
For Each xR In .Cells
¡@¡@If xR(1, 8) <= 0 Then GoTo 101
¡@¡@SU = Int(xR(1, 8) / xR / 1000)
¡@¡@If SU <= 0 Then GoTo 101
¡@¡@xR(1, -1) = SU
¡@¡@If xR(1, 8) < 0 Then SU = SU - 1
¡@¡@If SU > 0 Then xR(1, -1) = SU Else xR(1, -1) = ""
¡@¡@'If xR(1, -1) <> "" Then xR(1, -1).Select
101: Next
¡@

TOP

¦^´_ 12# ­ã´£³¡ªL

·PÁ§¹¬üªº§¹¦¨§Ú©Ò»Ý­nªºµ²ªG

´ú¸Õ¦^³ø ¸Õ»~ªk¶O®É¬ù¬O¤£¨ì2­¿ªº®É¶¡ ¦ý¤]¤£¶W¹L10¬í ¥i¥Hºâ¬O«Ü§¹¬ü¤F






³Ì«á§¹¦¨ÀÉ
ªÑ²¼°t¸mV3-2.zip (290.47 KB)

TOP

        ÀR«ä¦Û¦b : ¤ß¤¤±`¦sµ½¸Ñ¡B¥]®e¡B·P«ä¡Bª¾¨¬¡B±¤ºÖ¡C
ªð¦^¦Cªí ¤W¤@¥DÃD