SumIf criteria can't be less than a cell reference

L

LIZJOHNSTON

I'm having trouble with the following SUMIF command:

=SUMIF(dollars!$G$3:$G$8863,"<=A6",dollars!F$3:F$8863)

If I hard code a date instead of using A6 as the criteria, the SUMIF
works. For example, if I enter "<=04/01/04", the SUMIF works. But I
don't want to hard code the date in the formula; I'd rather reference a
cell -- which I can do as long as I don't ask for "greater than" or
"less than".

Can you check for "greater than" or "less than" when referencing a cell
value in the criteria of the SUMIF command?

Thanks,
Liz
 

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