- ©«¤l
- 4901
- ¥DÃD
- 44
- ºëµØ
- 24
- ¿n¤À
- 4916
- ÂI¦W
- 248
- §@·~¨t²Î
- Windows 7
- ³nÅ骩¥»
- Office 20xx
- ¾\ŪÅv
- 150
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥x¥_
- µù¥U®É¶¡
- 2010-4-30
- ³Ì«áµn¿ý
- 2024-11-16
|
¦^´_ 1# voyageellen - Sub Mysumif()
- Dim abc1 As String, abc2 As String
- Cells.Find(What:="¥N¸¹").Offset(1, 0).Activate
- a = ActiveCell.Row
-
- ActiveCell.End(xlDown).Select
- c = ActiveCell.Row
-
- Cells.Find(What:="¥N¸¹").Offset(1, 0).Activate
- p = ActiveCell.Cells.Column
-
- abc1 = Range(Cells(a, p), Cells(c, p)).Address
-
- abc2 = Range(Cells(a, p + 1), Cells(c, p + 1)).Address
-
- Range("D1").Formula = "=sumif(" & abc1 & ",""BI""," & abc2 & ")"
- End Su
½Æ»s¥N½X |
|