Thread: double unary
View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.misc
s2m s2m is offline
external usenet poster
 
Posts: 1
Default double unary

Thank you to who ever suggested this site
http://www.xldynamic.com/source/xld.SUMPRODUCT.html
But I am still unclear on which unary or operator to use, ,--, *, +, -

I understand by using an arithmetic operator you will get the result of
additions or subtractions.

Here is what I'm up against.

I want to count the number of N's and U's in (column AH), that fall in the
month of July (Column AX) and contains a number in (column AM)

=SUMPRODUCT(--(Odyssey!$AH$2:$AH$999="N")+(Odyssey!$AH$2:$AH$999 ="U"),--
(Odyssey!$AM$2:$AM$999<"")*(Odyssey!$AX$2:$AX$999 =DATE(2006,7,1))*(Odyssey!
$AX$2:$AX$999<=DATE(2006,7,31)))

I am getting the correct results I just want to understand why I used *
between the dates and + between N and U and -- and the start of the formula.

Thanks again

--
Message posted via http://www.officekb.com