SUMIF > Criteria in another Cell

F

Frank & Pam Hayes

Hello,

I have been googling this question for the last hour and have not come up
with an answer.

I am trying to use the SUMIF command in Excel 2000 in Windows 2000. I am
using named ranges for both the range (MyRange) and the sum_range
(Total_Value). I would like the criteria to be based upon a comparison to
the value in another cell (D2).

If I use SUMIF(MyRange,D2,Total_Value) it works fine, howerver, when I try
to make the criteria conditional using < or >, the formula no longer works.

I have tried this as both SUMIF(MyRange,<D2,Total_Value) and as
SUMIF(MyRange,"<D2",Total_Value).


Any advice?

Frank
 
R

Relix

Frank.
Try something like:
Naming D2 as mytest

If(MyRange < mytest, SUMIF
MyRange,"<D2",Total_Value),"myrange > mytest")

Felix
 

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