LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #5   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 390
Default sumif with multiple constraints

Hi,

got the same problem, I want to sum all data under columns in the header row
saying 2 OR 4 OR 5 etc. I tried something like:
Sumif(lookuprange,OR(2,4,5,etc),sumrange), but it does not work.

I obviously could use:
Sumif(lookuprange,2,sumrange) + Sumif(lookuprange,4,sumrange) + etc

But this is quite inelegant, since I must sum over 7 criteria....

Any suggestions?!

"Pete_UK" wrote:

You're welcome - thanks for feeding back.

Pete

On Nov 16, 12:01 am, Jessica
wrote:
perfect :) thanks for the quick help



"Pete_UK" wrote:
Try this:


=SUMIF(F:F,"<-420")-SUMIF(F:F,-560)


Hope this helps.


Pete


On Nov 15, 11:46 pm, Jessica
wrote:
trying to sum a column ignoring two parameters, only successfully ignoring one.
currently using
=SUMIF(F:F,"<-420") also want it to ignore values of -560 when returning sum.
any help appreciated.- Hide quoted text -


- Show quoted text -





 
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
Solver Constraints twa14 Excel Discussion (Misc queries) 2 October 13th 07 01:10 PM
constraints steve Excel Worksheet Functions 0 January 5th 06 08:38 PM
macro for 4 constraints in autofilter Gus Excel Discussion (Misc queries) 1 August 4th 05 01:17 PM
Editing a chart with constraints DAve Shillito Charts and Charting in Excel 0 May 6th 05 06:14 PM
Solver Constraints Rick Excel Discussion (Misc queries) 15 March 9th 05 03:17 PM


All times are GMT +1. The time now is 08:47 PM.

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"