+ Reply to Thread
Results 1 to 4 of 4

Combine 2 formulas

  1. #1
    Steved
    Guest

    Combine 2 formulas

    Hello from Steved

    Please how do I combine the below to give me a total in 1 cell.
    =SUMPRODUCT(--('From Charters'!$A$1:$A$898="Papakura"),--('From
    Charters'!$B$1:$B$898="Period.4"),'From Charters'!$D$1:$D$898)

    =SUMPRODUCT(--('From Charters'!$A$1:$A$898="Wiri"),--('From
    Charters'!$B$1:$B$898="Period.4"),'From Charters'!$D$1:$D$898)

    Thankyou.

  2. #2
    Steved
    Guest

    RE: Combine 2 formulas

    Hello from Steved

    I've got the result Thankyou.

    =SUMPRODUCT(--('From Charters'!$A$1:$A$898="Papakura"),--('From
    Charters'!$B$1:$B$898="Period.4"),'From
    Charters'!$D$1:$D$898)+SUMPRODUCT(--('From
    Charters'!$A$1:$A$898="Wiri"),--('From
    Charters'!$B$1:$B$898="Period.4"),'From Charters'!$D$1:$D$898)


    "Steved" wrote:

    > Hello from Steved
    >
    > Please how do I combine the below to give me a total in 1 cell.
    > =SUMPRODUCT(--('From Charters'!$A$1:$A$898="Papakura"),--('From
    > Charters'!$B$1:$B$898="Period.4"),'From Charters'!$D$1:$D$898)
    >
    > =SUMPRODUCT(--('From Charters'!$A$1:$A$898="Wiri"),--('From
    > Charters'!$B$1:$B$898="Period.4"),'From Charters'!$D$1:$D$898)
    >
    > Thankyou.


  3. #3
    Aladin Akyurek
    Guest

    Re: Combine 2 formulas

    =SUMPRODUCT(--ISNUMBER(MATCH('From
    Charters'!$A$1:$A$898,{"Papakura","Wiri"},0)),--('From
    Charters'!$B$1:$B$898="Period.4"),'From
    Charters'!$D$1:$D$898)

    Steved wrote:
    > Hello from Steved
    >
    > I've got the result Thankyou.
    >
    > =SUMPRODUCT(--('From Charters'!$A$1:$A$898="Papakura"),--('From
    > Charters'!$B$1:$B$898="Period.4"),'From
    > Charters'!$D$1:$D$898)+SUMPRODUCT(--('From
    > Charters'!$A$1:$A$898="Wiri"),--('From
    > Charters'!$B$1:$B$898="Period.4"),'From Charters'!$D$1:$D$898)
    >
    >
    > "Steved" wrote:
    >
    >
    >>Hello from Steved
    >>
    >>Please how do I combine the below to give me a total in 1 cell.
    >>=SUMPRODUCT(--('From Charters'!$A$1:$A$898="Papakura"),--('From
    >>Charters'!$B$1:$B$898="Period.4"),'From Charters'!$D$1:$D$898)
    >>
    >>=SUMPRODUCT(--('From Charters'!$A$1:$A$898="Wiri"),--('From
    >>Charters'!$B$1:$B$898="Period.4"),'From Charters'!$D$1:$D$898)
    >>
    >>Thankyou.


    --

    [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.

  4. #4
    Steved
    Guest

    Re: Combine 2 formulas

    Hello Aladin form Steved

    I would like to say thankyou verymuch as I like clean formulas such as yours.

    Cheers

    "Aladin Akyurek" wrote:

    > =SUMPRODUCT(--ISNUMBER(MATCH('From
    > Charters'!$A$1:$A$898,{"Papakura","Wiri"},0)),--('From
    > Charters'!$B$1:$B$898="Period.4"),'From
    > Charters'!$D$1:$D$898)
    >
    > Steved wrote:
    > > Hello from Steved
    > >
    > > I've got the result Thankyou.
    > >
    > > =SUMPRODUCT(--('From Charters'!$A$1:$A$898="Papakura"),--('From
    > > Charters'!$B$1:$B$898="Period.4"),'From
    > > Charters'!$D$1:$D$898)+SUMPRODUCT(--('From
    > > Charters'!$A$1:$A$898="Wiri"),--('From
    > > Charters'!$B$1:$B$898="Period.4"),'From Charters'!$D$1:$D$898)
    > >
    > >
    > > "Steved" wrote:
    > >
    > >
    > >>Hello from Steved
    > >>
    > >>Please how do I combine the below to give me a total in 1 cell.
    > >>=SUMPRODUCT(--('From Charters'!$A$1:$A$898="Papakura"),--('From
    > >>Charters'!$B$1:$B$898="Period.4"),'From Charters'!$D$1:$D$898)
    > >>
    > >>=SUMPRODUCT(--('From Charters'!$A$1:$A$898="Wiri"),--('From
    > >>Charters'!$B$1:$B$898="Period.4"),'From Charters'!$D$1:$D$898)
    > >>
    > >>Thankyou.

    >
    > --
    >
    > [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