Cell values as criteria for SUMIF and other functions

W

Will

Hi,

I have just changed jobs and am now working on XP instead of office
2000. I used to be able to write a formula such as:

=SUMIF(A2:A10,<D2,B2:B10)

I can't seem to be able to reference a cell for a criterion when the
operator is anything other than "=". Can somebody point me in the
right direction.

Thanks & Regards,

Will
 
L

Leo Heuser

Will said:
Hi,

I have just changed jobs and am now working on XP instead of office
2000. I used to be able to write a formula such as:

=SUMIF(A2:A10,<D2,B2:B10)

I can't seem to be able to reference a cell for a criterion when the
operator is anything other than "=". Can somebody point me in the
right direction.

Thanks & Regards,

Will

Hi Will

The correct syntax is:

=SUMIF(A2:A10,"<"&D2,B2: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