- ©«¤l
- 6
- ¥DÃD
- 1
- ºëµØ
- 0
- ¿n¤À
- 7
- ÂI¦W
- 0
- §@·~¨t²Î
- xp
- ³nÅ骩¥»
- 2000
- ¾\ŪÅv
- 10
- µù¥U®É¶¡
- 2013-4-11
- ³Ì«áµn¿ý
- 2013-4-11
|
½Ð°Ývba ªº¸ê®Æ
A B C D E
1 19 8.0%
2 21 10.5% 21
3 25 19.0%
4 30 20.0%
5 34 13.3% 21 34
6 37 8.8%
7 38 2.7%
8 41 10.8% 41
9 49 19.5%
10 53 8.2% 41 53
vbaè¾Ç¡Aµ{«×«Ü®t
¥HCÄ檺%¤j¤p¡A
1_·í % ¼W¥[®É¡A§âBÄ檺ȡA©ñ¨ìDÄæ (¦ý¦pÄ~Äò¼W¥[¡A´N¤£©ñ¨ìDÄæ)
2_·í % ´î¤Ö®É¡A§âBÄ檺ȡA©ñ¨ìEÄæ (¦P¼Ë¡A¦ý¦pÄ~Äò´î¤Ö¡A´N¤£©ñ¨ìEÄæ)
3_§âcells(2,d)¤¤ªº²Ä1Ó¼W¥[(21)¡A½Æ»s¨ì´î¤Öªº¨º¤@¦C¤Wcells(5,d)
¦³¼g¤F¤@¨Ç
Sub ¤ñ¸û()
For x = 2 To 1000
If Cells(x + 1, "C") < Cells(x, "C") Then
Cells(x + 1, "D") = Cells(x + 1, "B")
End If
If Cells(x + 1, "C") > Cells(x, "C") Then
Cells(x + 1, "E") = Cells(x + 1, "B")
End If
If Cells(x, "C") = "" Then Exit For
Next x
End Sub
¦ý¥u¯à°µ¦¨³o¼Ë
A B C D E
1 19 8.0%
2 21 10.5% 21
3 25 19.0% 25
4 30 20.0% 30
5 34 13.3% 34
6 37 8.8%
7 38 2.7%
8 41 10.8% 41
9 49 19.5% 49
10 53 8.2% 53
½Ð°ª¤âÀ°¦£¤@¤U¡AÁÂÁÂ! |
|