#1   Report Post  
Peter Curtis
 
Posts: n/a
Default SUMIF Function

Any idea how you can enter three arguments into the SUMIF function?

Many thanks
  #2   Report Post  
Jason Morin
 
Posts: n/a
Default

If you mean *criteria* when you say arguments, the best
you could do would be something like:

=SUM(SUMIF(A:A,{"a","b","c"},B:B))

This would sum for all 3 conditions. But it's not very
robust. Your best bet would be SUMPRODUCT:

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

HTH
Jason
Atlanta, GA

-----Original Message-----
Any idea how you can enter three arguments into the

SUMIF function?

Many thanks
.

  #3   Report Post  
Bob Phillips
 
Posts: n/a
Default

=SUMPRODUCT(--(rng1="val1"),--(rng2="val2"),--(rng3="val3"),rng4)

will make 3 tests and add from rng4 where all 3 are met

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Peter Curtis" wrote in message
...
Any idea how you can enter three arguments into the SUMIF function?

Many 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
SUMIF Criteria Brent Martin Excel Discussion (Misc queries) 6 January 7th 05 05:17 AM
Access Module coded converted to Excel Function Adam Excel Discussion (Misc queries) 1 December 23rd 04 02:48 PM
Function in XL or in VBA for XL that pulls numeric digits from a t Nate Oliver Excel Discussion (Misc queries) 0 December 14th 04 04:57 PM
Excel function help facilities RPS Excel Discussion (Misc queries) 1 December 8th 04 02:36 AM
I cant use englisch function names in a swedich version of excel PE Excel Discussion (Misc queries) 2 December 7th 04 01:00 AM


All times are GMT +1. The time now is 05:22 PM.

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"