½Ð±Ð¦p¦ó..¨ú¦P©m¦W©M¥[Á`¦¨¥æª÷...·PÁÂ
- ©«¤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
|
¦^´_ 1# alims
¦r¨å¼Ð·Ç¥Îªk- Sub XX()
- Dim Ar(), d As Object
- Set d = CreateObject("scripting.dictionary")
- Ar = Range("A1:C" & [C2].End(xlDown).Row)
- For i = 1 To UBound(Ar)
- If Not d.exists(Ar(i, 2)) Then d.Add Ar(i, 2), Ar(i, 3) Else d(Ar(i, 2)) = d(Ar(i, 2)) + Ar(i, 3)
- Next i
- [E:F] = ""
- [E1].Resize(d.Count, 1) = Application.Transpose(d.keys)
- [F1].Resize(d.Count, 1) = Application.Transpose(d.items)
- End Sub
½Æ»s¥N½X |
|
|
|
|
|
|