View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bob Phillips Bob Phillips is offline
external usenet poster
 
Posts: 10,593
Default Sumproduct with date range

=SUMPRODUCT(--(ISNUMBER(FIND("product",A2:A200))),--(b2:B200=--"2006-08-01"
),--(B2:B200<=--"2006-08-31"))

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"ermeko" wrote in message
...
Hi,
I want to count an "A" column where the column "B" is between a given

date.
The date in column B has a date and a time("dd-mm-yyyy hh:mm:ss"). The

date
arguments in the sumproduct are in the "dd-mm-yyyy" form. The formula

should
find "like products", not the exact match.
Thank you,
ermeko