Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I have been given a spreadsheet that works with the following formula included.
SUMPRODUCT(--(INT((MONTH(ROW(INDIRECT($K4&":"&$J4)))+2)/3)=3),--(YEAR(ROW(INDIRECT($K4&":"&$J4)))=YEAR(Q1Start)))) What does the "--" 2 minus signs after sumproduct do? Thanks |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
It is called "double unary minus" and J.E. McGimpsey has some notes at:
http://mcgimpsey.com/excel/formulae/doubleneg.html Bob Phillips explains =sumproduct() in much more detail he http://www.xldynamic.com/source/xld.SUMPRODUCT.html If this post helps click Yes --------------- Jacob Skaria "Huggy" wrote: I have been given a spreadsheet that works with the following formula included. SUMPRODUCT(--(INT((MONTH(ROW(INDIRECT($K4&":"&$J4)))+2)/3)=3),--(YEAR(ROW(INDIRECT($K4&":"&$J4)))=YEAR(Q1Start)))) What does the "--" 2 minus signs after sumproduct do? Thanks |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Excel - Golf - how to display "-2" as "2 Under" or "4"as "+4" or "4 Over" in a calculation cell | Excel Discussion (Misc queries) | |||
I get "%20" signs in file name when open attachments | Excel Discussion (Misc queries) | |||
" %20" signs in file name when open attachement in excel | Excel Discussion (Misc queries) | |||
the "#" signs are driving me crazy :-( | New Users to Excel | |||
Using "double equal signs" in place of an IF statement | Excel Worksheet Functions |