I have bee using the following to count in a column , now i want to add those that are within that range . I tought you would just change count to sum but obviously not, to few arguments
=COUNTIFS(G2:G1011,">="&6,G2:G1011,"<="&10)
I have bee using the following to count in a column , now i want to add those that are within that range . I tought you would just change count to sum but obviously not, to few arguments
=COUNTIFS(G2:G1011,">="&6,G2:G1011,"<="&10)
=SUMIFS(g2:g1011,g2:g1011,">="&6,g2:g1011,"<="&10)
"Unless otherwise stated all my comments are directed at OP"
Mojito connoisseur and now happily retired
where does code go ?
look here
how to insert code
how to enter array formula
why use -- in sumproduct
recommended reading
wiki Mojito
how to say no convincingly
most important thing you need
Martin Wilson: SPV
and RSMBC
Yes, a SUMIF would have one more range at the beginning. You just happen to be doing all the work in the same column, but that's not always the case.
=COUNTIFS(G2:G1011,">=6",G2:G1011,"<=10")
=SUMIFS(G2:G1011, G2:G1011,">=6",G2:G1011,"<=10")
_________________
Microsoft MVP 2010 - Excel
Visit: Jerry Beaucaire's Excel Files & Macros
If you've been given good help, use theicon below to give reputation feedback, it is appreciated.
Always put your code between code tags. [CODE] your code here [/CODE]
?None of us is as good as all of us? - Ray Kroc
?Actually, I *am* a rocket scientist.? - JB (little ones count!)
perfect thankyou!!!
Here's another way...
=SUMIF(G:G,">=6")-SUMIF(G:G,">10")
Biff
Microsoft MVP Excel
Keep It Simple Stupid
Let's Go Pens. We Want The Cup.
If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks