Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Paul Chalmers
 
Posts: n/a
Default How do I specify more than one argument for the SUMIF function?

I use SUMIF all the time where I check one arguement. How do I write the
formula to check for two arguments? Have checked documentation but am going
in circles - would appreciate any pointers.

Thanks
  #2   Report Post  
bj
 
Posts: n/a
Default

sumproduct() is often used for multiple arguements

=sumproduct(--(range1 = argument 1),(range2 = argument2),range3)
will add up the values in range 3 when arguments 1 and 2 are met
the --( changes the logical true/false to a numeric 1/0
and the arrays in each seciton must be the same size but cannot be the full
row/column shorthand (A:A wont work)

"Paul Chalmers" wrote:

I use SUMIF all the time where I check one arguement. How do I write the
formula to check for two arguments? Have checked documentation but am going
in circles - would appreciate any pointers.

Thanks

  #3   Report Post  
Bernard Liengme
 
Posts: n/a
Default

You don't! You use SUMPRODUCT
Suppose you want to sum values in C column when cell in A cell value is
Apple and value in B cell is greater than 4.
=SUMPRODUCT(--(A1:A100="apple"),--(B1:B1004),C1:C100)
the double negative converts False/True to 0/1
best wishes

--
Bernard V Liengme
www.stfx.ca/people/bliengme
remove caps from email

"Paul Chalmers" <Paul wrote in message
...
I use SUMIF all the time where I check one arguement. How do I write the
formula to check for two arguments? Have checked documentation but am
going
in circles - would appreciate any pointers.

Thanks



  #4   Report Post  
L Mendoza
 
Posts: n/a
Default conditional formatting


I just need to know how I can enter multiple arguments not for a range e.g.
..25 =".15" and .30=".50" and .45=".75" in one cell? thanks.
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
Passing a range name as an argument to the Index Function Michael Sharpe Excel Discussion (Misc queries) 3 September 5th 12 01:33 PM
text argument in vlook up which has a "" carlosgdlf Excel Worksheet Functions 6 August 3rd 05 01:46 PM
read in Vlookup an argument that has quotations(") carlosgdlf Excel Discussion (Misc queries) 1 August 2nd 05 05:56 PM
OFFSET using ADDRESS for the reference argument TRE Excel Worksheet Functions 1 June 17th 05 01:33 PM
IF Function Help due to 7 limit John F Excel Worksheet Functions 11 January 12th 05 10:07 PM


All times are GMT +1. The time now is 06:21 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"