Sumif formula greater than a particular cell

D

Darby

Is there a way to use the sumif formula so that the
criteria is a > a particular cell. Ideally I'd like the
formula =sumif(A1:A10,>E1,B1:B10). With no quotes around
E1, I get an error message, with quotes I get 0 regardless
of whats in columns A & B. Seems like there must be a
simple answer.

Thanks
 
D

Dave Peterson

=sumif(A1:A10,">"&E1,B1:B10)

may work for you.
Is there a way to use the sumif formula so that the
criteria is a > a particular cell. Ideally I'd like the
formula =sumif(A1:A10,>E1,B1:B10). With no quotes around
E1, I get an error message, with quotes I get 0 regardless
of whats in columns A & B. Seems like there must be a
simple answer.

Thanks
 
D

Dave Peterson

Inside the quotes: ">E1", you'd be really checking to see if it was larger than
the characters E1--not what was in E1.

">"&E1
just concatenates what's in E1 with that greater than sign: ">6" (if E1=6)
 

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