Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
FrankTimJr
 
Posts: n/a
Default Sum If on muliple conditions

I couldn't find the answer in this newsgroup...Is it possible to get the
Sumif statement to calcluate against three different criteria w/out creating
multiple sumif statements?

Ex: =SUMIF(G3:G10, "Jul", "Aug", Sep", H3:H10)?

I know using the comma's in between the Months, but is there some other way
to get this working? I can't use or < because the Month's are text only.
  #2   Report Post  
sk
 
Posts: n/a
Default

Try
SUMPRODUCT((SUMIF(G3:G10,{"Jul","Aug","Sep"},B355: B364)))

-sk

FrankTimJr wrote:
I couldn't find the answer in this newsgroup...Is it possible to get the
Sumif statement to calcluate against three different criteria w/out creating
multiple sumif statements?

Ex: =SUMIF(G3:G10, "Jul", "Aug", Sep", H3:H10)?

I know using the comma's in between the Months, but is there some other way
to get this working? I can't use or < because the Month's are text only.


  #3   Report Post  
sk
 
Posts: n/a
Default

Try
SUMPRODUCT((SUMIF(G3:G10,{"Jul","Aug","Sep"},H3:H1 0)))

-sk

  #4   Report Post  
Biff
 
Posts: n/a
Default

Hi!

Try this:

=SUMPRODUCT((G3:G10={"Jul","Aug","Sep"})*H3:H10)

Biff

"FrankTimJr" wrote in message
...
I couldn't find the answer in this newsgroup...Is it possible to get the
Sumif statement to calcluate against three different criteria w/out
creating
multiple sumif statements?

Ex: =SUMIF(G3:G10, "Jul", "Aug", Sep", H3:H10)?

I know using the comma's in between the Months, but is there some other
way
to get this working? I can't use or < because the Month's are text
only.



  #5   Report Post  
FrankTimJr
 
Posts: n/a
Default

Sweet! Thanks a million!

"sk" wrote:

Try
SUMPRODUCT((SUMIF(G3:G10,{"Jul","Aug","Sep"},B355: B364)))

-sk

FrankTimJr wrote:
I couldn't find the answer in this newsgroup...Is it possible to get the
Sumif statement to calcluate against three different criteria w/out creating
multiple sumif statements?

Ex: =SUMIF(G3:G10, "Jul", "Aug", Sep", H3:H10)?

I know using the comma's in between the Months, but is there some other way
to get this working? I can't use or < because the Month's are text only.





  #6   Report Post  
Aladin Akyurek
 
Posts: n/a
Default

Better options:

[A]

=SUM(SUMIF(G3:G10,{"Jul","Aug","Sep"}),H3:H10))

[b]

=SUMPRODUCT(--ISNUMBER(MATCH(G3:G10,{"Jul","Aug","Sep"},0)),H3:H 10)

[C]

=SUMPRODUCT(SUMIF(G3:G10,{"Jul","Aug","Sep"},H3:H1 0))

Invoke [b] or [C] when you have {"Jul","Aug","Sep"} in some range, say
X1:X3 which is then substituted for the {"Jul","Aug","Sep"} bit in these
formula schemes.

Biff wrote:
Hi!

Try this:

=SUMPRODUCT((G3:G10={"Jul","Aug","Sep"})*H3:H10)

Biff

"FrankTimJr" wrote in message
...

I couldn't find the answer in this newsgroup...Is it possible to get the
Sumif statement to calcluate against three different criteria w/out
creating
multiple sumif statements?

Ex: =SUMIF(G3:G10, "Jul", "Aug", Sep", H3:H10)?

I know using the comma's in between the Months, but is there some other
way
to get this working? I can't use or < because the Month's are text
only.





--

[1] The SumProduct function should implicitly coerce the truth values to
their Excel numeric equivalents.
[2] The lookup functions should have an optional argument for the return
value, defaulting to #N/A in its absence.
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
Conditional formatting: I have five conditions, how to do this? Danzguy Excel Discussion (Misc queries) 2 May 11th 05 08:21 AM
How do I count number of cels the matches 2 conditions ? Abra Excel Worksheet Functions 2 February 27th 05 08:56 PM
SUM based on multiple conditions - SORRY, URGENT!!! marika1981 Excel Worksheet Functions 4 February 18th 05 11:13 AM
should be possible to add more conditions to conditional formatti. excel_jan Excel Discussion (Misc queries) 3 February 9th 05 06:41 PM
How to multiple conditions to validate more than 2 conditions to . Bhuvana Govind Excel Worksheet Functions 1 January 28th 05 07:07 PM


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