Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Sumproduct
The following formula was given to me earlier on this forum and it works
great...thanks. =SUMPRODUCT(--($A$1:$A4<A4),--($A$1:$A4=A4-365),$B$1:$B4) Now I need to understand how it works. What is the signfigance of the --? The formula is summing data in column B for dates found in colun A for the previous 365 days from the date found in cell A4. I thought that sumproduct only multiplied the sums of arrays. How does this work? Thanks in advance. |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Sumproduct
Hunter wrote:
The following formula was given to me earlier on this forum and it works great...thanks. =SUMPRODUCT(--($A$1:$A4<A4),--($A$1:$A4=A4-365),$B$1:$B4) Now I need to understand how it works. What is the signfigance of the --? The formula is summing data in column B for dates found in colun A for the previous 365 days from the date found in cell A4. I thought that sumproduct only multiplied the sums of arrays. How does this work? Thanks in advance. Hi Hunter, I think this link from Bob Phillips' site will be useful for you: http://www.xldynamic.com/source/xld.SUMPRODUCT.html -- Hope I helped you. Thanks in advance for your feedback. Ciao Franz Verga from Italy |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Adding "OR" to a Sumproduct Formula | Excel Worksheet Functions | |||
Need help with sumproduct & dynamic ranges | Excel Worksheet Functions | |||
Can I reference =, <, or > sign in SUMPRODUCT | Excel Discussion (Misc queries) | |||
Sumproduct function not working | Excel Worksheet Functions | |||
adding two sumproduct formulas together | Excel Worksheet Functions |