This article was previously published under Q61090
In Microsoft Excel, criteria can be set by typing the exact value thatis desired in the criteria cells, or by using cell references ordefined names.
To use the value of cell D1 as the criteria, type the followingformula in the criteria cell:
To use the value of a defined name, such as "CritVar", type thefollowing formula in the criteria cell:
To use the operators, such as less than (<) and greater than (>), theoperator must be concatenated with the formula. For example, tospecify a match of greater than the value in cell D1, type thefollowing formula in the criteria cell:
To specify a match of greater than or equal to a cell defined as"GVAR", type the following formula in the criteria cell:
Quotation marks must be used. Otherwise, Excel interprets theinformation as "greater than "$D$1"" where "$D$1" is a text string.The same applies for a defined name.