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

­Y¬O¦³¤@§å¸ê®Æ¡A¤£½T©w¦Cªº­Ó¼Æ¡H

¦^´_ 1# tku0216

ºâH~J¦UÄæÁ`©M
  1. Sub xx()
  2. R = [A1].End(xlDown).Row
  3. Range(Cells(R + 1, "H"), Cells(R + 1, "J")).FormulaR1C1 = "=SUM(R[-" & R - 1 & "]C:R[-1]C)"
  4. End Sub
½Æ»s¥N½X

TOP

¦^´_ 3# tku0216

R=16(³Ì«á¤@¦C)
³]¤½¦¡¤U¦bH17
H17=SUM(R[-" & R - 1 & "]C:R[-1]C)
      =SUM(R[-15]C:R[-1]C)    ¥HH17¬°°ò·Ç  R[-15]:R©¹¤W°¾15¦C , R[-1]:R©¹¤W°¾1¦C
    =SUM(H2:H16)

TOP

¦^´_ 6# tku0216


Cells(a + 1, "d").FormulaR1C1 = "=countif(r[" & 1 - a & "]c:r[-1]c,""¿ï¶µA"")"

TOP

¦^´_ 8# tku0216

ª½±µ¦bÀx¦s®æ¤U¤½¦¡
=COUNTIF(D2:D8,"¿ï¶µA")
¥ÎVBA¤U¤½¦¡
Cells(a + 1, "d").FormulaR1C1 = "=countif(r[" & 1 - a & "]c:r[-1]c,""¿ï¶µA"")"

2ªÌ¤ñ¸û¤@¤U,À³¥iª¾¬°¤°»ò¤F(«áªÌÁ`¬O¤ñ«eªÌ¦h¤F"")

TOP

        ÀR«ä¦Û¦b : ¦Y­W¤F­W¡B­WºÉ¤Ü¨Ó¡A¨ÉºÖ¤FºÖ¡BºÖºÉ´d¨Ó¡C
ªð¦^¦Cªí ¤W¤@¥DÃD