ªð¦^¦Cªí ¤W¤@¥DÃD µo©«

[µo°Ý] 2­Ó±ø¥óªº¥[Á`

¦^´_ 4# stillfish00


    ÁÂÁÂstillfish00, ¦]³oÀɮפ£¥u§Ú¨Ï¥Î, ©Ò¥H§Æ±æ¯à°÷¦Û°Ê¥[Á`.¤w±o¨ì¸Ñµª¤F,·PÁÂ!
learner

TOP

¦^´_ 5# sunnyso


    ÁÂÁÂsunnyso, ¸Õ¹L§A©Ò´£ªºSUMIFS, ¥i¥H¨Ï¥Î.·PÁÂ!
learner

TOP

¦^´_ 6# kimbal


    c_c_lai ´£¨Ñªºµ{¦¡½X¤w¥i¥H¨Ï¥Î¤F,ÁÂÁÂ!
    ¦Ósunnyso©Ò´£ªºSUMIFS½T¹ê¤]¬O¤@­Ó¤èªk.
learner

TOP

¦^´_ 13# yliu
VBA¥Îloop¨Ó°µ±ø¥ó¥[Á`ªº®Ä²v¨Ã¤£·|¤ñSUMPRODUCT°ª

§Aªº¸ê®Æ¦³¦h¤Öµ§¡H
ss

TOP

¦^´_  c_c_lai


   ÁÂÁÂ c_c_lai,
   ¥i¥H¨Ï¥Î¤F, ·PÁÂ~
  ¦A½Ð°Ý¤@¤U,   
.Cells(lngVlookupRow, ...
yliu µoªí©ó 2013-5-31 23:53

¦pªG°£¥H 4¡G
1  ( Int(0.25)=0)¡A 2 ( Int(0.5))=0 )¡A     3( Int(0.75))=0 )¡A  '   ²Ä¤@©u (À³¬° 0)
4(  Int(1))=1)¡A      5( Int(1.25))= 1)¡A    6( Int(1.5 ))=1)¡A    '   ²Ä¤G©u (À³¬° 1)
7( Int(1.75))= 1)¡A 8( Int(2))=2 )¡A         9(  Int(2.25))=2)¡A   '  ²Ä¤T©u (À³¬° 2)
10(  Int(2.5))=2)¡A 11( Int(2.75 ))=2)¡A12(  Int(3))=3)          '  ²Ä¥|©u (À³¬° 3)
°£¥H 3.2¡G
1  ( Int(0.3125)=0)¡A 2 ( Int(0.625))=0 )¡A     3( Int(0.9375))=0 )¡A '   ²Ä¤@©u
4(  Int(1.25))=1)¡A      5( Int(1.5625))= 1)¡A   6( Int(1.875 ))=1)¡A    '   ²Ä¤G©u
7( Int(2.1875))= 2)¡A 8( Int(2.5))=2 )¡A           9(  Int(2.8125))=2)¡A '  ²Ä¤T©u
10(  Int(3.125))=3)¡A 11( Int(3.4375 ))=3)¡A12(  Int(3.75))=3)       '  ²Ä¥|©u
µ²½×¡G .Cells(lngVlookupRow, Chr(79 + Int(lngCurrenMonth / 3.2))) =
              .Cells(lngVlookupRow, Chr(79 + Int(lngCurrenMonth / 3.2))) + lngCurrValue
1¤ë  ¡G.Cells(lngVlookupRow, Chr(79 + 0)) = .Cells(lngVlookupRow, Chr(79 + 0)) + lngCurrValue
             .Cells(lngVlookupRow, "O") = .Cells(lngVlookupRow, "O") + lngCurrValue    '  ²Ä¤@©u
7¤ë  ¡G.Cells(lngVlookupRow, Chr(79 + 2)) = .Cells(lngVlookupRow, Chr(79 + 2)) + lngCurrValue
             .Cells(lngVlookupRow, "Q") = .Cells(lngVlookupRow, "Q") + lngCurrValue    '  ²Ä¤T©u
11¤ë¡G.Cells(lngVlookupRow, Chr(79 + 3)) = .Cells(lngVlookupRow, Chr(79 + 3)) + lngCurrValue
             .Cells(lngVlookupRow, "R") = .Cells(lngVlookupRow, "R") + lngCurrValue     '  ²Ä¥|©u
¦¹½×±oª¾¡A¦p¥H 3.2 §@¬°¤À¥À°£¤§¡B¦A¥H Int() ¨Ó¹LÂo¡A±o­È±o¥H¥¿½TÅã¥Ü¡A¤£­PÂkÃþ¿ù»~¡C

TOP

¥»©«³Ì«á¥Ñ sunnyso ©ó 2013-6-1 08:40 ½s¿è

¦^´_ 15# c_c_lai

À³¸Ó§â¸ê®Æ¤@¦¸Åª¤J°}¦C, µM«á¦bVBA¤¤­pºâ¦¨°}¦C,³Ì«á§â­pºâ¦nªº°}¦C¦^¶Ç¨ì¤u§@ªí¡C
´î¤Öª«¥óŪ¼g¦¸¼ÆVBAªº®Ä²v¤~°ª

¥Ø«eµo²{VBAªº®Ä²v¤ñSUMIFS§C

¥i¥H°Ñ¦Ò³oùØ
http://forum.twbts.com/thread-9607-1-1.html
ss

TOP

¦^´_ 16# sunnyso
SUMIFS ªº³B²zªº½TÆZ²¼äªº¡A­È±o¬ã¨s¤ÎÀ³¥Î¡A
¥H©¹(¤u§@)§Ú¬O°¾­«©ó±q¨ÆÀ³¥Î³nÅé»Pºô­¶À³¥Î¤è­±¡A
±qµL¾÷½t±µÄ²¹L Excel¡A°h¤U«á¬°À°§U¤Í¤H¤~¶}©l±µÄ²
Excel (·s¤â)¡A ¬O¬G¸û¤Ö¨Ï¥Î¦¹Ãþ¦ü¤§¨ç¼Æ¡A
ÁÂÁ§Aªº«ü±Ð¡I ¥¦¹ï§ÚÆZ¦³§U¯qªº¡A¦A¦¸ÁÂÁ¡I

TOP

¦^´_ 15# c_c_lai

ÁÂÁ¸Բӻ¡©ú
learner

TOP

¦^´_ 14# sunnyso

¥Ø«e²Ö¿n¸ê®Æ¬O700µ§¥ª¥k, ¨ì¦~©³À³¸Ó·|¦³2000µ§.
¥»¨Ó¥uª¾¹DSUMIF ¨ç¼Æ, ¦ýSUMIF¨ç¼Æ¥u­­¥Î©ó³æ¤@±ø¥ó, ÁÂÁ´£¨ÑSUMIFS.
¦ýSUMIFSÀ³¸Ó¬O2010ª©¥»¤~¦³ªº¨ç¼Æ.
learner

TOP

¦^´_ 16# sunnyso

½Ð°Ý: µ{¦¡½X¤¤...Array("AÃþ", "BÃþ", "CÃþ", "DÃþ", "EÃþ", "FÃþ", "GÃþ", "HÃþ", "IÃþ", "JÃþ")
§Y­Y±Ä¥Î°}¦C,  ´N¬O·í¦³·sªºÃþ§O¶µ¥Ø®É, ´N»Ý­×§ïµ{¦¡½X,¨Ò¦p¡G¤é«á¥i¯à·s¼WKÃþ®É, ´N»Ý­×§ïµ{¦¡¬O¶Ü¡H
¨º±Ä¥Î°}¦C¤è¦¡´N·|¨ü­­¨î,¬O§_¦³§Oªº¤è¦¡©O¡H
learner

TOP

        ÀR«ä¦Û¦b : ¤@­Ó¯Ê¤fªºªM¤l¡A¦pªG´«¤@­Ó¨¤«×¬Ý¥¦¡A¥¦¤´µM¬O¶êªº¡C
ªð¦^¦Cªí ¤W¤@¥DÃD