Instead of manually counting how often a certain value or number appears let Excel do the work for you. There are two ways to enter formulas in Excel. With the COUNTIF function Excel can count the number of times a word or number appears in any range of cells.
The basic form of OR function in Excel is OR Logical 1 Logical 2 Logical 3 etc.
If you only provide the value_if_false but the statement is true Excel will display a zero. The basic form of OR function in Excel is OR Logical 1 Logical 2 Logical 3 etc. Always enclose text in double quotation marks. With that Excel function in place we can now use the IF function to determine the rank of each product.