½Ð±Ð¦p¦ó..¨ú¦P©m¦W©M¥[Á`¦¨¥æª÷...·PÁÂ
- ©«¤l
- 10
- ¥DÃD
- 4
- ºëµØ
- 0
- ¿n¤À
- 50
- ÂI¦W
- 0
- §@·~¨t²Î
- XP
- ³nÅ骩¥»
- SP3
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2012-5-22
- ³Ì«áµn¿ý
- 2024-10-19
|
½Ð±Ð¦p¦ó..¨ú¦P©m¦W©M¥[Á`¦¨¥æª÷...·PÁÂ
.................¸ê®Æ-------
¤é´Á ©m¦W ¦¨¥æª÷
2¤ë1¤é aaa 1000
2¤ë2¤é bbb 2000
2¤ë3¤é aaa 3000
2¤ë4¤é ccc 4000
2¤ë5¤é aaa 5000
2¤ë7¤é aaa 1000
2¤ë8¤é bbb 2000
2¤ë9¤é aaa 3000
2¤ë10¤éccc 4000
2¤ë11¤éaaa 5000
--- Åܦ¨------
©m¦W ¦¨¥æª÷
aaa 18000
bbb 4000
ccc 8000
¤]´N¬O ¦P©m¦W§@¥[Á` |
|
yes show me money
|
|
|
|
|
- ©«¤l
- 102
- ¥DÃD
- 17
- ºëµØ
- 0
- ¿n¤À
- 129
- ÂI¦W
- 0
- §@·~¨t²Î
- windows
- ³nÅ骩¥»
- 2010
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2012-5-16
- ³Ì«áµn¿ý
- 2020-9-2
|
¦^´_ 2# register313
§A¦n~
è¦n»Ýn³o¥\¯à
¤£¹L¬O¤@Ó¦WºÙ¹ïÀ³¨âÓÈ
§Úª½Ä±·Q¨ì¥Îdo loop ¥[¤W§PÂ_¦r¦ê§¹¦¨
µ²ªGµo²{¯uªº¤ÓºC¤F...µLªk¹ï¾ãÓ¸ê®Æ®w¨Ï¥Î
sumif ¥i¯à·|§Ö¤@ÂI ¥i¬OÁÙn§â¦WºÙ«½Æªº¦æ§R°£¤]¬O»áªá®É¶¡
µM«áª¦¤åª¦¨ì³o½g
§Ú¦Û¤v¶Ã§ï¤§«á¤w¸g¯à¹F¨ì·Qnªº¥\¯à
(¨ä¹ê´N¬O«Ø¥ß¨âÓdictionary...¦³¨ä¥L§ó§Öªº§@ªk¶Ü?)
¦ý·Q¯uªº¤F¸Ñµ{¦¡½X§t·N
¤£ª¾¹D¯à¤£¯à³Â·Ð¸ÑÄÀ¤@¤U¦U¦æªº·N«ä?
¤×¨ä¬O³o¥y
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)
·P®¦:) |
|
|
|
|
|
|
- ©«¤l
- 82
- ¥DÃD
- 5
- ºëµØ
- 0
- ¿n¤À
- 115
- ÂI¦W
- 0
- §@·~¨t²Î
- Vista
- ³nÅ骩¥»
- Office 2003
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- ¨Ó¦Û
- Taipei
- µù¥U®É¶¡
- 2010-5-1
- ³Ì«áµn¿ý
- 2023-4-18
|
§Q¥Î SUM¨ç¼Æ+¯x°} ´N¥i¥H¤F~
= { sum ((©m¦WÄæ¦ì¡G©m¦WÄæ¦ì = "¬Y¤H") * (¦¨¥æª÷Äæ¦ì¡G¦¨¥æª÷Äæ¦ì)) } |
-
-
test.zip
(2.25 KB)
|
|
|
|
|
|
- ©«¤l
- 8
- ¥DÃD
- 0
- ºëµØ
- 0
- ¿n¤À
- 51
- ÂI¦W
- 0
- §@·~¨t²Î
- XP
- ³nÅ骩¥»
- Office 2002
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ®ç¶é
- µù¥U®É¶¡
- 2012-5-9
- ³Ì«áµn¿ý
- 2019-2-21
|
·PÁ¦U¦ì´£¨Ñªº¸ê®Æ¡K´ú¸Õ³£¥i¥H°õ¦æ¡K
¦ý¬O¥X²{¤@Ó°ÝÃD¡K
°õ¦æregister313¤jªºµ{¦¡®É¡Kn¨D©w¸q i ¡K¥i¯à¬O§Úªºª©¥»¤ñ¸û§C§a¡I |
|
¨««æªº¤H¬Ý¤£¨£¦a¤Wªº°v¤l¡A ·Ð´oªº¤H¨É¨ü¤£¨ì©¯ºÖªº¤é¤l¡C
|
|
|
|
|
- ©«¤l
- 10
- ¥DÃD
- 4
- ºëµØ
- 0
- ¿n¤À
- 50
- ÂI¦W
- 0
- §@·~¨t²Î
- XP
- ³nÅ骩¥»
- SP3
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2012-5-22
- ³Ì«áµn¿ý
- 2024-10-19
|
¦^´_ 6# register313
¥Î¹L¤F ÁÂÁ |
|
yes show me money
|
|
|
|
|
- ©«¤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
|
¦^´_ 3# alims
¤pp(©m¦WÄæ¦ìn¥ý±Æ§Ç)
|
|
|
|
|
|
|
- ©«¤l
- 5923
- ¥DÃD
- 13
- ºëµØ
- 1
- ¿n¤À
- 5986
- ÂI¦W
- 0
- §@·~¨t²Î
- win10
- ³nÅ骩¥»
- Office 2010
- ¾\ŪÅv
- 150
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥xÆW°ò¶©
- µù¥U®É¶¡
- 2010-5-1
- ³Ì«áµn¿ý
- 2022-1-23
|
¦^´_ 1# alims - Option Explicit
- Sub Ex()
- Dim Rng As Range
- Set Rng = Range("A1").CurrentRegion '³]¸m¸ê®Æ°Ï
- Rng.Columns(2).AdvancedFilter Action:=xlFilterCopy, CriteriaRange:=Range("IV1:IV2"), CopyToRange:=Range("F1"), Unique:=True
- '¶i¶¥¿z¿ï ¥X¤£«´_ªº©m¦W¨ì FÄæ
- Range("G1") = "¦¨¥æª÷"
- With Range(Range("G2"), Range("F1").End(xlDown).Offset(, 1))
- .FormulaR1C1 = "=SUMIF(" & Rng.Columns(2).Address(, , 0) & ", RC[-1] ," & Rng.Columns(3).Address(, , 0) & ")"
- '³]¤U¤½¦¡
- .Value = .Value '¤½¦¡Âà´«¬°È ¤]¥i¥H¤£Âà´«
- End With
- End Sub
½Æ»s¥N½X |
|
|
|
|
|
|
- ©«¤l
- 10
- ¥DÃD
- 4
- ºëµØ
- 0
- ¿n¤À
- 50
- ÂI¦W
- 0
- §@·~¨t²Î
- XP
- ³nÅ骩¥»
- SP3
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2012-5-22
- ³Ì«áµn¿ý
- 2024-10-19
|
¦^´_ 2# register313
¦n¼F®`!!! ÁÂÁ¤F |
|
yes show me money
|
|
|
|
|