How to countifs if the range contains <> symbols

MASOODAHMAD

Board Regular
Joined
Mar 28, 2012
Messages
105
Platform
  1. MacOS
Hello Everyone,

I am stuck at a point where I'm unable to get the count using the CountIFS formula. My range contains "<" and ">" symbols.

Here's the trimmed version of my data:
MonthAD TypePrint Size
AprilCO<20WO9=COUNTIFS($B$2:$B$14,"WO")
AprilWO<20<200=COUNTIFS($C$2:$C$14,char(60)&"20")
AprilWO24<200=COUNTIFS($C$2:$C$14,"<20")
AprilCO35<200=COUNTIFS($C$2:$C$14,"<"&"20")
AprilWO45<200=COUNTIFS($C$2:$C$14,E5)
AprilWO<20
AprilWO<20Less than 201=COUNTIFS($C$2:$C$14,E6)
AprilWO22
AprilCO<20
AprilWOLess than 20
AprilWO<20
AprilWO<20
AprilCO<20

I tried different variations to count the range containing "<20" values. At last, I have to change "<20" to "Less than 20" using a helper column.

Is there a way I can calculate/count such values moving forward?

Thanks in advance.
Masood
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.
You can use:

Excel Formula:
=COUNTIFS($C$2:$C$14,"=<20")
 
Upvote 0
Solution
Thank you very very very very very very very very very very muchhhhh…

I was expecting a very simple workaround but didn't think it would be so simple.
 
Upvote 0
Glad we could help. :)
 
Upvote 0

Forum statistics

Threads
1,214,563
Messages
6,120,248
Members
448,952
Latest member
kjurney

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top