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

(¤w¸Ñ¨M)¦³¤ñSUMIF§ó¼F®`ªº¶Ü?

(¤w¸Ñ¨M)¦³¤ñSUMIF§ó¼F®`ªº¶Ü?

¥»©«³Ì«á¥Ñ freeffly ©ó 2012-2-22 17:24 ½s¿è

SUMIF($A$6:$A$23,C29,$C$6:$C$23)
  ¦pªG§Ú­n¥[Á`±o¸ê®Æ¬O¥]§tDÄæ¥H«áªº¸ê®Æ(¦pSUMIF($A$6:$A$23,C29,$C$6:$C$23)+SUMIF($A$6:$A$23,C29,$D$6:$D$23) )
  ­n¥Î¤°»ò¤½¦¡?
  ¥t¥~¦pªG§ÚªºAÄæ¸ê®Æ¦pªG·|¼W¥[­n¥Î¤°»ò¤è¦¡?
  ¬O¤£¬O¥u¯à¥ÎVBA?

Doc1.rar (126.73 KB)

¦r¨å¨â¦U¦r ÁÙ¯uÃø²z¸Ñ

·PÁ¤j¤j~«D±`·PÁÂ~

TOP

½d³ò­È¦³¿ù»~¤]·|¥X²{³o¼Ëªº°ÝÃD¡C
­É¿ú¤£ÁÙ¡A¤~¬O¤ý¹D

TOP

sumif >> sumproduct >> sum >> sum + if

´«¨Ó´«¥h¦³®t«Ü¦h¶Ü¡H
¦³®É­Ô§Ú­Ó¤H¬O«Ü»{¦P¦Ñ®L¥SªºÆ[©Àªº
...
¨F©Ôªo µoªí©ó 2011-2-4 18:57


¦b«Ü¼ô±x¼Ï¯Ã¤ÀªRªíªº±¡ªp¤U¡A³o­Óçܪkµ´¹ï¥¿½T¡A¦]¬°³o­Ó¤èªk¬J§Ö³t¥B´î¤Ö¦º¾÷ªº¾÷·|
°ÝÃD¬O¼Ï¯Ã¤ÀªRªí¤£¬O¤H¤H³£À´¡A¦Ó¥B«Ü¦h®É­nªï¦X¤½¥q³øªíªº©T©w®æ¦¡¡A©Ò¥H¼È®É¤£¯à©ñ±ó¾Ç²ß¤½¦¡

TOP

=SUMPRODUCT((A6:A23=c29)*(C6:F23))
¬O«üA6¨ìA23¦pªG¦³µ¥©óC29  «h­pºâ²Å¦X±ø¥óC6¨ìF23½d³ò¸Ìªº­È
¨Ò¦pA6.A7=C29  «h­pºâC6+D6+E6+F6+C7+D7+E7+F7ªº­È
§Ú¸Õ¹L¤½¦¡  ¬O¨S°ÝÃDªº³á

TOP

sumif >> sumproduct >> sum >> sum + if

´«¨Ó´«¥h¦³®t«Ü¦h¶Ü¡H
¦³®É­Ô§Ú­Ó¤H¬O«Ü»{¦P¦Ñ®L¥SªºÆ[©Àªº
¤@­Ó¨ç¼Æ³£¤£­n¥Î¤~¬O¡u¤ñ sumif §ó¼F®`¡v
¦Ü©ó­þ­Ó¥\¯à¤£»Ý­n¥Î¨ç¼Æ©O¡HÂI¤@ÂI©Ô¤@©Ô´N¥i¥H¤F
¦³¿³½ìªº¦Û¤v·j´M¤@¤U¼Ï¯Ã¤ÀªRªí
¤@§Z¤T¥|¡BÅå¨ìåF¥N»x

TOP

D29°}¦C¤½¦¡
JÄ欰¹w¯dÄæ¦ì¥i¦Û¦æ¼W´î
{=SUM(IF($A$1A$5=C29,$C$1J$5))}
Hsieh µoªí©ó 2010-9-21 18:45


­ì¨ÓÁÙ¥i¥H¥Îsum+if ªº°}¦C¤½¦¡

¤S¨ü±Ð¤F

TOP

¦^´_ 22# Luna

§ÚÁÙ¨S¥Î¹L³oºØ¤è¦¡­C
¯u¬O«ç»ò²Õ¦X³£¥i¥H
¼F®`¼F®`
¦r¨å¨â¦U¦r ÁÙ¯uÃø²z¸Ñ

TOP

D29°}¦C¤½¦¡
JÄ欰¹w¯dÄæ¦ì¥i¦Û¦æ¼W´î
{=SUM(IF($A$1A$5=C29,$C$1J$5))}
Hsieh µoªí©ó 2010-9-21 18:45



      ³o­Ó¤èªk¯u¬O¤Ó¦n¥Î¤F吔~~~ (³£§Ö­n°_¨ÓÂà圏圏¤F°Õ~§Ú)

   §Ú§â³oÃþªº: =SUMPRODUCT((E4:E117=D120)+(I4:I117=D152),(U4:U117))-SUMPRODUCT((E4:E117=D120)*(I4:I117=D152),(U4:U117))
   ¤]§ï¦¨¤F :  {=SUM(IF((E4:E117=D120)+(I4:I117=D152),(U4:U117)))}

¯u¬O¤Ó·P°Ê¤F~~ (¼»ªá)
¿ß¥£¤@ªT ^_^

TOP

¥»©«³Ì«á¥Ñ Luna ©ó 2010-9-24 13:47 ½s¿è
¦^´_  Luna

   SUMPRODUCT ¥u­n½d³ò¤º¨S¦³¤å¦r©ÎªÅ®æ¬O¥i¥Î©ó¦hÄ檺.
    =SUMPRODUCT((A6:A23=c29)*( ...
ANGELA µoªí©ó 2010-9-24 12:57


®@~~~ ¨º§Ú¥­±`¦Û¤v¥Îªº¥i¯à´N¬O¦]¬° ½d³ò¤ºªº³£¬O¤å¦r§a!!(¦]¬°§Ú³£¥Î¥¦¨Ó¿z¿ï¥[Á`)
©Ò¥H³Ì«á³£¥u¯à¥Î¦¨³o¼Ë=SUMPRODUCT((A6:A23=c29)*1,(C6:C23)+(D6: D23))  ¥Î + ¨Ó¸Ñ¨M¥¦........  
(¦pªG½d³ò«Ü¤j ´N¥[«Üªø°Ú )
¿ß¥£¤@ªT ^_^

TOP

        ÀR«ä¦Û¦b : §g¤l¥ß«í§Ó¡A¤p¤H«í¥ß§Ó¡C
ªð¦^¦Cªí ¤W¤@¥DÃD