SUMIF function doesn't work with "date less than" cell reference

A

Anil

SUMIF function doesn't work with "less than" cell
reference which contains a date
eg sumif(A1:A10,<c1,B1:B10)
it returns a zero value
I tried with using value(c1), then it adds all the amounts
 
A

Anon

Anil said:
SUMIF function doesn't work with "less than" cell
reference which contains a date
eg sumif(A1:A10,<c1,B1:B10)
it returns a zero value
I tried with using value(c1), then it adds all the amounts

The correct syntax is
=SUMIF(A1:A10,"<"&C1,B1:B10)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top