I am trying to write a formula that states count if range of numbers is greater than 0 but less than 14. Can't seem to get the formula correct.
Can someone help?
Thanks
I am trying to write a formula that states count if range of numbers is greater than 0 but less than 14. Can't seem to get the formula correct.
Can someone help?
Thanks
Last edited by Janie; 02-25-2010 at 12:32 PM.
Try
=Countif(A1:A100,">0")-Countif(A1:A100,">=14")
Where there is a will there are many ways.
If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner
Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.
Thank you for your response. I tried the formula, but it seems it still is counting the cells with 0 in them. Any suggestions?
Also, is there a way I can say if column B indicates "T" than count cells greater than zero but less than 14?
Thanks for your help.
Try:
=Sumproduct(--(B1:B100="T"),--(A1:A100>0),--(A1:A100<14))
Are you using Excel 2007?
You can use the COUNTIFS() formula instead
=COUNTIFS(range1, ">0", range1, "<=14")
Edit: For accuracy
Last edited by DP978; 02-25-2010 at 11:33 AM.
Thanks NBVC, I have changed my above post to reflect the incorrect argument
Got it! Thanks
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks