+ Reply to Thread
Results 1 to 11 of 11

Sum If on muliple conditions

Hybrid View

  1. #1
    FrankTimJr
    Guest

    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. #2
    sk
    Guest

    Re: Sum If on muliple conditions

    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. #3
    FrankTimJr
    Guest

    Re: Sum If on muliple conditions

    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.

    >
    >


  4. #4
    FrankTimJr
    Guest

    Re: Sum If on muliple conditions

    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.

    >
    >


  5. #5
    sk
    Guest

    Re: Sum If on muliple conditions

    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. #6
    sk
    Guest

    Re: Sum If on muliple conditions

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

    -sk


  7. #7
    sk
    Guest

    Re: Sum If on muliple conditions

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

    -sk


  8. #8
    Biff
    Guest

    Re: Sum If on muliple conditions

    Hi!

    Try this:

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

    Biff

    "FrankTimJr" <FrankTimJr@discussions.microsoft.com> wrote in message
    news:9A71CE9F-AC3F-4DB7-8F82-C5133E8310A8@microsoft.com...
    >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.




  9. #9
    Biff
    Guest

    Re: Sum If on muliple conditions

    Hi!

    Try this:

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

    Biff

    "FrankTimJr" <FrankTimJr@discussions.microsoft.com> wrote in message
    news:9A71CE9F-AC3F-4DB7-8F82-C5133E8310A8@microsoft.com...
    >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.




  10. #10
    Aladin Akyurek
    Guest

    Re: Sum If on muliple conditions

    Better options:

    [A]

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

    [B]

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

    [C]

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

    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" <FrankTimJr@discussions.microsoft.com> wrote in message
    > news:9A71CE9F-AC3F-4DB7-8F82-C5133E8310A8@microsoft.com...
    >
    >>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.

  11. #11
    Aladin Akyurek
    Guest

    Re: Sum If on muliple conditions

    Better options:

    [A]

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

    [B]

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

    [C]

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

    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" <FrankTimJr@discussions.microsoft.com> wrote in message
    > news:9A71CE9F-AC3F-4DB7-8F82-C5133E8310A8@microsoft.com...
    >
    >>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 to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1