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

[µo°Ý] µ´¹ï°Ñ·ÓVS¬Û¹ï°Ñ·Ó

[µo°Ý] µ´¹ï°Ñ·ÓVS¬Û¹ï°Ñ·Ó

¥»©«³Ì«á¥Ñ t8899 ©ó 2014-8-23 20:10 ½s¿è

=IF(AD395=0,"",IF(AI395=0,0,SUM(AM395:AM395)/SUM(AI395:AI395)))
¦¹¤½¦¡³£µLµ´¹ï°Ñ·Óªº°O¸¹ $
¦p¦ó§Ö³t½Æ¨î¦¹³æ¤¸®æ¨ì§Oªº³æ¤¸®æ¤´¬°µ´¹ï°Ñ·Ó(¸ò­ì¤½¦¡¤@¼Ò¤@¼Ë)

¦^´_ 1# t8899


    ¬Ý¤£À´§A­n¤°»ò?

¬O§_Á|¨Ò»¡©ú

Àx¦s®æ1 = ­ì¤½¦¡

Àx¦s®æ2 = ?¤½¦¡
{...} ªí¥Ü»Ý­n¥Î CTRL+SHIFT+ENTER ¤TÁä¿é¤J¤½¦¡

TOP

¥»©«³Ì«á¥Ñ t8899 ©ó 2014-8-24 06:29 ½s¿è
¦^´_  t8899
    ¬Ý¤£À´§A­n¤°»ò?
¬O§_Á|¨Ò»¡©ú

Àx¦s®æ1 = ­ì¤½¦¡

Àx¦s®æ2 = ?¤½¦¡
ML089 µoªí©ó 2014-8-23 23:44


Àx¦s®æ1 = IF(AD395=0,"",IF(AI395=0,0,SUM(AM395:AM395)/SUM(AI395:AI395)))
Àx¦s®æ1 copy ¨ì Àx¦s®æ2  (¤½¦¡¨SÅÜ)
Àx¦s®æ2 = IF(AD395=0,"",IF(AI395=0,0,SUM(AM395:AM395)/SUM(AI395:AI395)))
¤èªk
1.¤½¦¡«e­±¥[­Ó³æ¤Þ¸¹¡AµM«á½Æ»s¨ì»Ý­nªº³æ¤¸®æ¡C¦A¬d§ä´À´«±¼³æ¤Þ¸¹  ===>³o³Â·Ð
§Ú¼g¤@­Ó²³æµ{§Ç
Sub µ´¹ï¦ì§}copy() '½Ð¥ý¥Îmouse¿ï¾Ü½Æ»sªº½d³ò
    Dim rng As Range
    Set rng = Selection
a = InputBox("¿é¤J¶}©l¦ì§}") '¨Ò¦p A1
b = InputBox("¿é¤Jµ²§ô¦ì§}")   '¨Ò¦p G1   
Range(a & ":" & b) = Selection.Formula
End Sub
¥Îmouse¿ï¾Ü½Æ»sªº½d³ò, ¥Øªº¿é¤Jªº½d³òªºÀx¦s®æ­Ó¼Æ³Ì¦n¤@¼Ë

TOP

¦A§ï¤@¤U·sªºª©¥» (¤£¥Î¿é¤Jµ²§ô¦ì§})
Sub µ´¹ï¦ì§}copy() '½Ð¥Îmouse¥ý¿ï¾Ü½Æ»sªº½d³ò
    Dim rng As Range, a, z, r, rr
    Set rng = Selection
a = Selection.Address(0, 0)
z = InputBox("¿é¤J¶}©l¦ì§}")
Set r = Range(z).Offset(rng.Rows.Count - 1, rng.Columns.Count - 1)
Set rr = Range(z)
Range(rr.Address, r.Address) = Selection.Formula
End Sub

TOP

¦^´_ 3# t8899

§ÖºCÁ٬ݨC¤Hªº²ßºD¤Î¯à¤O
°£«D¸g±`¨Ï¥Î¡A¨Ï¥ÎVBAÁÙ¬O­n¦n´X¨BÆJ

©Î³\¡A¤Ï¥¿¤u¦¡³£¤@¼Ë¡A³Ì«á­È¤]¬O¤@¼Ë
Àx¦s®æ2 = $Àx¦s®æ1
{...} ªí¥Ü»Ý­n¥Î CTRL+SHIFT+ENTER ¤TÁä¿é¤J¤½¦¡

TOP

        ÀR«ä¦Û¦b : ¦³Ä@©ñ¦b¤ß¸Ì¡A¨S¦³¨­Åé¤O¦æ¡A¥¿¦p¯Ñ¥Ð¤£¼½ºØ¡A¬Ò¬OªÅ¹L¦]½t¡C
ªð¦^¦Cªí ¤W¤@¥DÃD