+ Reply to Thread
Results 1 to 7 of 7

Sum Product Function Maybe

  1. #1
    Registered User
    Join Date
    06-08-2006
    Location
    Portland, OR
    MS-Off Ver
    Micro Soft XP, Excel 2003
    Posts
    97

    Sum Product Function Maybe

    I need to add another condition to my formula.

    =$B15-(SUMIF($I$53:$I$533,$C15,$H$53:$H$533))


    The formula I'm using is works now I need each line to look at Column F and If it equals F15 then do the formula and conditions below.

    Each row needs to look at $F53:$F533 to see if it = F15
    Each row needs to look at $I53:$I533 to see if it = C15
    B15 - (sum( of the true amounts in $H53:$h533

    Any help will be appreciate my boss wants this change this afternoon if possible. Please make me look good.

  2. #2
    Dave
    Guest

    Re: Sum Product Function Maybe

    Hey lost

    This should work for you

    =B15-(SUMPRODUCT(--(F53:F533=F15),--(I53:I533=C15),H53:H533))

    confirm with cntrl+shft+enter

    Let me know if this works for you.

    Dave

    "lostinformulas"
    <[email protected]> wrote in
    message news:[email protected]...
    >
    > I need to add another condition to my formula.
    >
    > =$B15-(SUMIF($I$53:$I$533,$C15,$H$53:$H$533))
    >
    >
    > The formula I'm using is works now I need each line to look at Column F
    > and If it equals F15 then do the formula and conditions below.
    >
    > Each row needs to look at $F53:$F533 to see if it = F15
    > Each row needs to look at $I53:$I533 to see if it = C15
    > B15 - (sum( of the true amounts in $H53:$h533
    >
    > Any help will be appreciate my boss wants this change this afternoon if
    > possible. Please make me look good.
    >
    >
    > --
    > lostinformulas
    > ------------------------------------------------------------------------
    > lostinformulas's Profile:
    > http://www.excelforum.com/member.php...o&userid=35229
    > View this thread: http://www.excelforum.com/showthread...hreadid=555740
    >




  3. #3
    Franz Verga
    Guest

    Re: Sum Product Function Maybe

    lostinformulas wrote:
    > I need to add another condition to my formula.
    >
    > =$B15-(SUMIF($I$53:$I$533,$C15,$H$53:$H$533))
    >
    >
    > The formula I'm using is works now I need each line to look at Column
    > F and If it equals F15 then do the formula and conditions below.
    >
    > Each row needs to look at $F53:$F533 to see if it = F15
    > Each row needs to look at $I53:$I533 to see if it = C15
    > B15 - (sum( of the true amounts in $H53:$h533
    >
    > Any help will be appreciate my boss wants this change this afternoon
    > if possible. Please make me look good.



    Try this:


    =$B15-(SUMPRODUCT(($I$53:$I$533=$C15)*($F$53:$F$533=$F15)*($H$53:$H$533))


    --
    Hope I helped you.

    Thanks in advance for your feedback.

    Ciao

    Franz Verga from Italy



  4. #4
    Bob Phillips
    Guest

    Re: Sum Product Function Maybe

    Ctrl-Shift-Enter is not necessary.

    --

    HTH

    Bob Phillips

    (replace xxxx in the email address with gmail if mailing direct)

    "Dave" <[email protected]> wrote in message
    news:[email protected]...
    > Hey lost
    >
    > This should work for you
    >
    > =B15-(SUMPRODUCT(--(F53:F533=F15),--(I53:I533=C15),H53:H533))
    >
    > confirm with cntrl+shft+enter
    >
    > Let me know if this works for you.
    >
    > Dave
    >
    > "lostinformulas"
    > <[email protected]> wrote in
    > message

    news:[email protected]...
    > >
    > > I need to add another condition to my formula.
    > >
    > > =$B15-(SUMIF($I$53:$I$533,$C15,$H$53:$H$533))
    > >
    > >
    > > The formula I'm using is works now I need each line to look at Column F
    > > and If it equals F15 then do the formula and conditions below.
    > >
    > > Each row needs to look at $F53:$F533 to see if it = F15
    > > Each row needs to look at $I53:$I533 to see if it = C15
    > > B15 - (sum( of the true amounts in $H53:$h533
    > >
    > > Any help will be appreciate my boss wants this change this afternoon if
    > > possible. Please make me look good.
    > >
    > >
    > > --
    > > lostinformulas
    > > ------------------------------------------------------------------------
    > > lostinformulas's Profile:
    > > http://www.excelforum.com/member.php...o&userid=35229
    > > View this thread:

    http://www.excelforum.com/showthread...hreadid=555740
    > >

    >
    >




  5. #5
    Registered User
    Join Date
    06-08-2006
    Location
    Portland, OR
    MS-Off Ver
    Micro Soft XP, Excel 2003
    Posts
    97

    Sum Product Function Maybe

    Thanks Everyone both formula's work. and I was quite sure what to do with the Crtl Shift Enter. So that hint was helpful also.

    You guys maded me look like I know what I'm doing!!! thanks again.

  6. #6
    Dave
    Guest

    Re: Sum Product Function Maybe

    Bob

    I thought it was necessary for the logical operation, I mean the comparison
    of each cell in the range to F15 and C15. Obviously I'm wrong. Thanks for
    saving me the key strokes.

    Dave

    "Bob Phillips" <[email protected]> wrote in message
    news:[email protected]...
    > Ctrl-Shift-Enter is not necessary.
    >
    > --
    >
    > HTH
    >
    > Bob Phillips
    >
    > (replace xxxx in the email address with gmail if mailing direct)
    >
    > "Dave" <[email protected]> wrote in message
    > news:[email protected]...
    >> Hey lost
    >>
    >> This should work for you
    >>
    >> =B15-(SUMPRODUCT(--(F53:F533=F15),--(I53:I533=C15),H53:H533))
    >>
    >> confirm with cntrl+shft+enter
    >>
    >> Let me know if this works for you.
    >>
    >> Dave
    >>
    >> "lostinformulas"
    >> <[email protected]> wrote in
    >> message

    > news:[email protected]...
    >> >
    >> > I need to add another condition to my formula.
    >> >
    >> > =$B15-(SUMIF($I$53:$I$533,$C15,$H$53:$H$533))
    >> >
    >> >
    >> > The formula I'm using is works now I need each line to look at Column F
    >> > and If it equals F15 then do the formula and conditions below.
    >> >
    >> > Each row needs to look at $F53:$F533 to see if it = F15
    >> > Each row needs to look at $I53:$I533 to see if it = C15
    >> > B15 - (sum( of the true amounts in $H53:$h533
    >> >
    >> > Any help will be appreciate my boss wants this change this afternoon if
    >> > possible. Please make me look good.
    >> >
    >> >
    >> > --
    >> > lostinformulas
    >> > ------------------------------------------------------------------------
    >> > lostinformulas's Profile:
    >> > http://www.excelforum.com/member.php...o&userid=35229
    >> > View this thread:

    > http://www.excelforum.com/showthread...hreadid=555740
    >> >

    >>
    >>

    >
    >




  7. #7
    Bob Phillips
    Guest

    Re: Sum Product Function Maybe

    Dave,

    SUMPRODUCT is an array function so it doesn't need to be array entered,
    Excel already knows. It only needs array entering if there is some other
    nested function within that is not capable of processing arrays directly,
    and that needs to be array entered.

    --

    HTH

    Bob Phillips

    (replace xxxx in the email address with gmail if mailing direct)

    "Dave" <[email protected]> wrote in message
    news:[email protected]...
    > Bob
    >
    > I thought it was necessary for the logical operation, I mean the

    comparison
    > of each cell in the range to F15 and C15. Obviously I'm wrong. Thanks

    for
    > saving me the key strokes.
    >
    > Dave
    >
    > "Bob Phillips" <[email protected]> wrote in message
    > news:[email protected]...
    > > Ctrl-Shift-Enter is not necessary.
    > >
    > > --
    > >
    > > HTH
    > >
    > > Bob Phillips
    > >
    > > (replace xxxx in the email address with gmail if mailing direct)
    > >
    > > "Dave" <[email protected]> wrote in message
    > > news:[email protected]...
    > >> Hey lost
    > >>
    > >> This should work for you
    > >>
    > >> =B15-(SUMPRODUCT(--(F53:F533=F15),--(I53:I533=C15),H53:H533))
    > >>
    > >> confirm with cntrl+shft+enter
    > >>
    > >> Let me know if this works for you.
    > >>
    > >> Dave
    > >>
    > >> "lostinformulas"
    > >> <[email protected]> wrote in
    > >> message

    > > news:[email protected]...
    > >> >
    > >> > I need to add another condition to my formula.
    > >> >
    > >> > =$B15-(SUMIF($I$53:$I$533,$C15,$H$53:$H$533))
    > >> >
    > >> >
    > >> > The formula I'm using is works now I need each line to look at Column

    F
    > >> > and If it equals F15 then do the formula and conditions below.
    > >> >
    > >> > Each row needs to look at $F53:$F533 to see if it = F15
    > >> > Each row needs to look at $I53:$I533 to see if it = C15
    > >> > B15 - (sum( of the true amounts in $H53:$h533
    > >> >
    > >> > Any help will be appreciate my boss wants this change this afternoon

    if
    > >> > possible. Please make me look good.
    > >> >
    > >> >
    > >> > --
    > >> > lostinformulas
    > >>

    > ------------------------------------------------------------------------
    > >> > lostinformulas's Profile:
    > >> > http://www.excelforum.com/member.php...o&userid=35229
    > >> > View this thread:

    > > http://www.excelforum.com/showthread...hreadid=555740
    > >> >
    > >>
    > >>

    > >
    > >

    >
    >




+ 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