Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Barbara 1
 
Posts: n/a
Default Sum using multiple criteria

What equation would I use to be able to sum a column based on multiple
criteria from another column? i.e..... sum if AG or AG

AG 50.00 Total
AD 25.00 75.00
DE 10.00
SG 45.00
  #3   Report Post  
Peo Sjoblom
 
Posts: n/a
Default

See answer to your previous post, try to stay in the same thread

Regards,

Peo Sjoblom

"Barbara 1" wrote:

What equation would I use to be able to sum a column based on multiple
criteria from another column? i.e..... sum if AG or AG

AG 50.00 Total
AD 25.00 75.00
DE 10.00
SG 45.00

  #5   Report Post  
Frank Kabel
 
Posts: n/a
Default

Hi
should be:
=SUMPRODUCT((A1:A100={"AG","AD"})*(B1:B100))

--
Regards
Frank Kabel
Frankfurt, Germany

"Frank Kabel" schrieb im Newsbeitrag
...
Hi
try
=SUMPRODUCT(--(A1:A100={"AG","AD"}),B1:B100)

Also see:
http://www.xldynamic.com/source/xld.SUMPRODUCT.html

--
Regards
Frank Kabel
Frankfurt, Germany

"Barbara 1" <Barbara schrieb im
Newsbeitrag

...
What equation would I use to be able to sum a column based on

multiple
criteria from another column? i.e..... sum if AG or AG

AG 50.00 Total
AD 25.00 75.00
DE 10.00
SG 45.00



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I ask for multiple criteria when creating a "sumif" formul. Rachelle Excel Worksheet Functions 3 December 1st 04 11:49 PM
SUMIF multiple criteria in 1 range Mike@Q Excel Worksheet Functions 5 November 26th 04 03:55 PM
Counting "rows", i.e. simultaneous criteria for multiple cells gkline Excel Worksheet Functions 2 November 19th 04 07:30 AM
calculate percent from multiple criteria Jan Excel Worksheet Functions 0 November 10th 04 06:09 PM
Count rows based on multiple criteria Murph Excel Worksheet Functions 1 October 28th 04 07:13 AM


All times are GMT +1. The time now is 05:44 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"