Categorical variables are a kind of knowledge that may be divided into completely different classes. In Excel, there are a couple of other ways to calculate categorical variables.
One method 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 formulation would rely the variety of cells within the vary A1:A10 that comprise the worth “pink”: