+ Reply to Thread
Results 1 to 6 of 6

Sumproduct with condition???

  1. #1
    neda5
    Guest

    Sumproduct with condition???

    Please Help:

    I am trying to do a sumproduct between column B and C for the rows where the
    values in column A are under 300 in the table below.
    Is there a way to add this condition in the sumproduct formula or do it in
    another way?

    A B C
    100 1,400 5
    200 1,800 4
    400 1,800 4
    150 2,500 4
    200 2,500 4
    300 3,000 4

    Really appreciate it.
    Neda


  2. #2
    Ron Coderre
    Guest

    RE: Sumproduct with condition???

    Have you tried this?:

    Using your sample data:
    =SUMPRODUCT(--(A2:A7<300),B2:B7,C2:C7)

    Does that help?

    ***********
    Regards,
    Ron


    "neda5" wrote:

    > Please Help:
    >
    > I am trying to do a sumproduct between column B and C for the rows where the
    > values in column A are under 300 in the table below.
    > Is there a way to add this condition in the sumproduct formula or do it in
    > another way?
    >
    > A B C
    > 100 1,400 5
    > 200 1,800 4
    > 400 1,800 4
    > 150 2,500 4
    > 200 2,500 4
    > 300 3,000 4
    >
    > Really appreciate it.
    > Neda
    >


  3. #3
    Jerry W. Lewis
    Guest

    Re: Sumproduct with condition???

    =SUMPRODUCT(--(A1:A6<300),B1:B6,C1:C6)

    Jerry

    neda5 wrote:

    > Please Help:
    >
    > I am trying to do a sumproduct between column B and C for the rows where the
    > values in column A are under 300 in the table below.
    > Is there a way to add this condition in the sumproduct formula or do it in
    > another way?
    >
    > A B C
    > 100 1,400 5
    > 200 1,800 4
    > 400 1,800 4
    > 150 2,500 4
    > 200 2,500 4
    > 300 3,000 4
    >
    > Really appreciate it.
    > Neda



  4. #4
    neda5
    Guest

    Re: Sumproduct with condition???

    THANKS That worked perfectly!!!

    "Jerry W. Lewis" wrote:

    > =SUMPRODUCT(--(A1:A6<300),B1:B6,C1:C6)
    >
    > Jerry
    >
    > neda5 wrote:
    >
    > > Please Help:
    > >
    > > I am trying to do a sumproduct between column B and C for the rows where the
    > > values in column A are under 300 in the table below.
    > > Is there a way to add this condition in the sumproduct formula or do it in
    > > another way?
    > >
    > > A B C
    > > 100 1,400 5
    > > 200 1,800 4
    > > 400 1,800 4
    > > 150 2,500 4
    > > 200 2,500 4
    > > 300 3,000 4
    > >
    > > Really appreciate it.
    > > Neda

    >
    >


  5. #5
    neda5
    Guest

    RE: Sumproduct with condition???

    THANKS that worked perfectly!!!

    "Ron Coderre" wrote:

    > Have you tried this?:
    >
    > Using your sample data:
    > =SUMPRODUCT(--(A2:A7<300),B2:B7,C2:C7)
    >
    > Does that help?
    >
    > ***********
    > Regards,
    > Ron
    >
    >
    > "neda5" wrote:
    >
    > > Please Help:
    > >
    > > I am trying to do a sumproduct between column B and C for the rows where the
    > > values in column A are under 300 in the table below.
    > > Is there a way to add this condition in the sumproduct formula or do it in
    > > another way?
    > >
    > > A B C
    > > 100 1,400 5
    > > 200 1,800 4
    > > 400 1,800 4
    > > 150 2,500 4
    > > 200 2,500 4
    > > 300 3,000 4
    > >
    > > Really appreciate it.
    > > Neda
    > >


  6. #6
    Jerry W. Lewis
    Guest

    Re: Sumproduct with condition???

    You're welcome, glad it helped.

    Jerry

    neda5 wrote:

    > THANKS That worked perfectly!!!



+ 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