Categorical variables are a sort of knowledge that may be divided into completely different classes. In Excel, there are a number of alternative ways to calculate categorical variables.
One option to calculate categorical variables is to make use of the COUNTIF operate. This operate counts the variety of cells that meet a sure standards. For instance, the next method would rely the variety of cells within the vary A1:A10 that comprise the worth “crimson”: