This video shows you the different ways you can create criteria using comparison operators with numbers within the COUNTIFS function.

Would also apply to COUNTIF, SUMIF and SUMIFS. The video explores the syntax needed to reference the operator within the formula or reference a cell that contains the operator.
------------------------