¦p¦ó¥ÎÀx¦s®æªºÃC¦â¨Ó¥[Á`©Îpºâ¤@Äæ¸Ìªº¸ê®ÆÁ`©M©MÓ¼Æ
- ©«¤l
- 1
- ¥DÃD
- 1
- ºëµØ
- 0
- ¿n¤À
- 8
- ÂI¦W
- 0
- §@·~¨t²Î
- XP
- ³nÅ骩¥»
- office 2003
- ¾\ŪÅv
- 10
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ®ç¶é
- µù¥U®É¶¡
- 2012-5-28
- ³Ì«áµn¿ý
- 2012-5-30
|
¦p¦ó¥ÎÀx¦s®æªºÃC¦â¨Ó¥[Á`©Îpºâ¤@Äæ¸Ìªº¸ê®ÆÁ`©M©MÓ¼Æ
¦U¦ì¥ý¶i¡A
¦pªG¦³¤@Äæ¸ê®Æ¡AA1 ~A10¡A¨C®æ¦U¦s©ñ¤@¼ÆÈ¡A°²³]·í¤¤¦³¼Æ®æªº®æ¦¡¬°¬õ¦â¡An¦p¦ó¤~¥i¥H±N·í¤¤¬õ¦âªºÀx¦s®æªº¤º®e¥[Á`°_¨Ó(¦s©óA11)¡A¨Ãpºâ¦³¬õ¦â¼ÆȪºÄæ¦ì¦U¼Æ¦³´XÓ(¦s©óA12)?
ÁÂÁÂ |
|
Green bean (ªêªL¨§)
|
|
|
|
|
- ©«¤l
- 967
- ¥DÃD
- 0
- ºëµØ
- 0
- ¿n¤À
- 1001
- ÂI¦W
- 0
- §@·~¨t²Î
- WIN XP
- ³nÅ骩¥»
- OFFICE 2003
- ¾\ŪÅv
- 50
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥x¥_
- µù¥U®É¶¡
- 2010-11-29
- ³Ì«áµn¿ý
- 2022-5-17
|
¥»©«³Ì«á¥Ñ register313 ©ó 2012-5-30 21:22 ½s¿è
¦^´_ 1# almond
VBA:- Sub YY()
- [A11] = 0
- [A12] = 0
- For Each A In [A1:A10]
- If A.Interior.ColorIndex = 3 Then 'If A.Font.ColorIndex = 3 Then
- [A11] = [A11] + A
- [A12] = [A12] + 1
- End If
- Next
- End Sub
½Æ»s¥N½X ¤@¯ë°Ï:
1.¿ïB1,©w¸qx=GET.CELL(63,Sheet1!A1)
2.B1=x ©¹¤U½Æ»s¨ìB10
3.A11=SUMIF(B1:B10,3,A1:A10)
4.A12=COUNTIF(B1:B10,3) |
|
|
|
|
|
|
- ©«¤l
- 67
- ¥DÃD
- 8
- ºëµØ
- 0
- ¿n¤À
- 78
- ÂI¦W
- 0
- §@·~¨t²Î
- Windows XP
- ³nÅ骩¥»
- Excel 2010
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2012-5-15
- ³Ì«áµn¿ý
- 2021-9-14
|
¥»©«³Ì«á¥Ñ alumi ©ó 2012-5-30 14:52 ½s¿è
- For I=1 to 20
- if cells( I,"A").font.color = vbRed then
- cells(11,"A") =cells(11,"A") + cells( I,"A")
- end if
- Next I
½Æ»s¥N½X |
|
|
|
|
|
|