Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Scorpvin
 
Posts: n/a
Default SUMIF with Exception of multiple Item


The basic formula for the exception of one item would look like this
=SUMIF(A2:A6,"<Red",B2:B6). How can I add except red and blue?


--
Scorpvin
------------------------------------------------------------------------
Scorpvin's Profile: http://www.excelforum.com/member.php...o&userid=27678
View this thread: http://www.excelforum.com/showthread...hreadid=520638

  #2   Report Post  
Posted to microsoft.public.excel.misc
 
Posts: n/a
Default SUMIF with Exception of multiple Item

You could do it with three SUMs: one to total all cells, one for the red,
one for the blues:
=SUM(B2:B6)-SUMIF(A2:A6,"<Red",B2:B6)-SUMIF(A2:A6,"<Blue",B2:B6)

Andy.

"Scorpvin" wrote in
message ...

The basic formula for the exception of one item would look like this
=SUMIF(A2:A6,"<Red",B2:B6). How can I add except red and blue?


--
Scorpvin
------------------------------------------------------------------------
Scorpvin's Profile:
http://www.excelforum.com/member.php...o&userid=27678
View this thread: http://www.excelforum.com/showthread...hreadid=520638



  #3   Report Post  
Posted to microsoft.public.excel.misc
Bob Phillips
 
Posts: n/a
Default SUMIF with Exception of multiple Item

=SUMPRODUCT(--(NOT(ISNA(MATCH(A2:A6,{"Red","Blue"})))),B2:B6)

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"Scorpvin" wrote in
message ...

The basic formula for the exception of one item would look like this
=SUMIF(A2:A6,"<Red",B2:B6). How can I add except red and blue?


--
Scorpvin
------------------------------------------------------------------------
Scorpvin's Profile:

http://www.excelforum.com/member.php...o&userid=27678
View this thread: http://www.excelforum.com/showthread...hreadid=520638



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 use the sumif if I have multiple criteria (i.e. greater . Kellyatisl Excel Worksheet Functions 3 June 4th 06 06:33 AM
SUMIF on multiple sheets JJackson Excel Worksheet Functions 5 December 27th 05 11:43 PM
Need to sum up numerous columns in different worksheet into 1 devil135 New Users to Excel 3 May 26th 05 03:32 PM
How do I ask for multiple criteria when creating a "sumif" formul. Rachelle Excel Worksheet Functions 3 December 1st 04 11:49 PM
Is it possible to specify multiple condition with SUMIF? Daniel Excel Worksheet Functions 1 November 17th 04 01:38 AM


All times are GMT +1. The time now is 08:55 AM.

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

About Us

"It's about Microsoft Excel"