Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Steved
 
Posts: n/a
Default 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   Report Post  
Steved
 
Posts: n/a
Default

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   Report Post  
Aladin Akyurek
 
Posts: n/a
Default

=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   Report Post  
Steved
 
Posts: n/a
Default

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
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
How do you combine 2 or more formulas with different totals? Trisha V via OfficeKB.com Excel Discussion (Misc queries) 22 August 3rd 05 10:50 PM
Help combine 2 formulas into 1 Robert Excel Worksheet Functions 5 April 1st 05 08:55 AM
Combine two formulas in one cell T.R. Excel Discussion (Misc queries) 1 March 9th 05 11:55 PM
How do I combine the 4 IF formulas into 1 formula Robert Excel Worksheet Functions 5 February 7th 05 08:19 AM
How can I combine IF, COLUMN, and LARGE formulas in a single cell? Liam Judd Excel Worksheet Functions 1 November 17th 04 07:52 AM


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