Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Sam Sam is offline
external usenet poster
 
Posts: 699
Default multiple sumproducts and now formula is too long

ok guys. here is my problem.

i am using several sumproducts and adding them together to get a value. note
that the range I am suming is the same column.

=sumproduct((condition1=a)*(condition2=b),C1:C1000 )+sumproduct((condition3=c)*(condition4=d),C1:C100 0)

Anyway I am also using indirects and the formula becomes too long and won't
let me finish it. Is there a way to combine the sumproducts?

=sumproduct(((condition1=a)*(condition2=b))OR((con dition3=c)*(condition4=d)),C1:C1000)

thanks in advance
  #2   Report Post  
Posted to microsoft.public.excel.misc
Sam Sam is offline
external usenet poster
 
Posts: 699
Default multiple sumproducts and now formula is too long

don't worry. all sorted. just had to put a "+" inbetween the different
conditions.

thanks

sam

"sam" wrote:

ok guys. here is my problem.

i am using several sumproducts and adding them together to get a value. note
that the range I am suming is the same column.

=sumproduct((condition1=a)*(condition2=b),C1:C1000 )+sumproduct((condition3=c)*(condition4=d),C1:C100 0)

Anyway I am also using indirects and the formula becomes too long and won't
let me finish it. Is there a way to combine the sumproducts?

=sumproduct(((condition1=a)*(condition2=b))OR((con dition3=c)*(condition4=d)),C1:C1000)

thanks in advance

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default multiple sumproducts and now formula is too long

<%
if (oRs("putupto")=("notenterd")) + (oRs("sentto")=("notenterd")) + (oRs("finallydisposed")=("No")) + (oRs("duedaate")<("strEuroDte1")) Then response.write(" Action Not Taken " )

%

<%
if (oRs("putupto")=("notenterd")) + (oRs("sentto")=("notenterd")) + (oRs("finallydisposed")=("No")) + (oRs("duedaate")=("strEuroDte1")) Then response.write(" Due Date Action Not Taken " )
%

Plz solved this problem

---
frmsrcurl: http://msgroups.net/microsoft.public...la-is-too-long
  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default multiple sumproducts and now formula is too long

<%
if (oRs("putupto")=("notenterd")) + (oRs("sentto")=("notenterd")) + (oRs("finallydisposed")=("No")) + (oRs("duedaate")<("strEuroDte1")) Then response.write(" Action Not Taken " )

%

<%
if (oRs("putupto")=("notenterd")) + (oRs("sentto")=("notenterd")) + (oRs("finallydisposed")=("No")) + (oRs("duedaate")=("strEuroDte1")) Then response.write(" Due Date Action Not Taken " )
%

Plz solved this problem

---
frmsrcurl: http://msgroups.net/microsoft.public...la-is-too-long
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
Dates and SumProducts Jeff Gross Excel Worksheet Functions 2 September 5th 08 05:58 PM
I am having some trouble with a long formula and multiple spreadsh LiveUser Excel Worksheet Functions 6 July 2nd 08 09:28 PM
Problems with SUMPRODUCTS John21 Excel Worksheet Functions 2 August 9th 06 05:53 PM
SUMPRODUCTS AJP Excel Worksheet Functions 4 July 14th 06 06:13 PM
Sumproducts, Counta Lookup Ref Formulas JR573PUTT Excel Discussion (Misc queries) 7 February 15th 06 11:31 PM


All times are GMT +1. The time now is 12:06 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"