# Excel 2010: Countif value = or > BUT do Not Count if Column X reflects a <string value>

Hi Experts, hoping someone might be able to expand to the below formula with the added logic indicated below.

``````countif('rawdata'!b2:b250,">=14)
``````

Basically counts all cells in column B that have a value equal to 14 and greater.

I'd like expand on this formula and add a little logic to it:

Equal to 14 or greater BUT if any of Column I's cells indicate the text string beginning with  "Incident Closed", then do not count that cell in Column B.

Hopefully that makes sense and is doable.  Any help is GREATLY APPRECIATED!
###### Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Commented:

``````=COUNTIFS(rawdata!B2:B250,">=14",rawdata!I2:I250,"<>Incident Closed")
``````
0
Commented:
oops...

>>the text string beginning with  "Incident Closed"

so you have to try:

``````=COUNTIFS(rawdata!B2:B250,">=14",rawdata!I2:I250,"<>Incident Closed*")
``````
1

Experts Exchange Solution brought to you by

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Commented:
If you are working on 2003 you can alternatively use this formula as this will work in all versions of excel..

``````=SUMPRODUCT((rawdata!B2:B250>=14)*(ISNUMBER(SEARCH("Incident Closed",rawdata!I2:I250,1))))
``````

In additional this will search for incident closed in the entire text doesn't matter if it's in the starting or at end..

Saurabh...
1
Author Commented:
Will test this, shortly and let you guys know how it turns out.
0
Older than dirtCommented:
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0
###### It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Excel

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.