- ©«¤l
- 559
- ¥DÃD
- 58
- ºëµØ
- 0
- ¿n¤À
- 626
- ÂI¦W
- 0
- §@·~¨t²Î
- win8
- ³nÅ骩¥»
- office2013
- ¾\ŪÅv
- 50
- ©Ê§O
- ¨k
- ¨Ó¦Û
- TW
- µù¥U®É¶¡
- 2010-11-22
- ³Ì«áµn¿ý
- 2024-6-14
|
¦^´_ 1# cdcc
¼Ó¥Dªº·N«ä¸ÑŪ°_¨Ó¹³¬O
1. ¥ý±N¨C¤@¦Cªºb»Pc¬Û¼
2. ¨Ì¹ôȱNb*cªºÈ¥[Á`°_¨Ó
Y¬O³o¼Ëªº¸Ü,¦p¤Uzµ{¦¡½X
Sub a()
For ae = 1 To [A999].End(xlUp).Row
If Cells(ae, 1) <> "" Then Cells(ae, 4) = Cells(ae, 2) * Cells(ae, 3)
Next
Range("A1:A5").AdvancedFilter Action:=xlFilterCopy, CopyToRange:=Range("E1" _
), Unique:=True
Do Until Range("E" & 1 + I) = ""
Range("F" & 1 + I) = Application.SumIf(Range("A1:A5"), Range("E" & 1 + I), Range("D1:D5"))
I = I + 1
Loop
End Sub |
|