SumIf: use of greater or less than operators in Criteria

B

B. Olund ITC

Why can't the SumIf formula accept logical operators within the Criteria field?
I am trying to have the formula sum up all cost items in the sheet for which
the associated date in another column is less than or equal to a threshhold
date, for example:
=SUMIF(D13:D62,<=K1,H13:H62)
where K1 was the cell address containing the threshhold date.

Apparently the SumIf formula in Excel is restricted to use with Criteria
that have to be an exact match rather than a range, and its usefulness is
dramatically reduced by this unnecessary restriction.

----------------
This post is a suggestion for Microsoft, and Microsoft responds to the
suggestions with the most votes. To vote for this suggestion, click the "I
Agree" button in the message pane. If you do not see the button, follow this
link to open the suggestion in the Microsoft Web-based Newsreader and then
click "I Agree" in the message pane.

http://www.microsoft.com/office/com...dg=microsoft.public.excel.worksheet.functions
 
E

Elkar

The range portion of the criteria needs to be outside of the quotes. Try this:

=SUMIF(D13:D62,"<="&K1,H13:H62)

HTH,
Elkar
 

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