Excel's logical functions test whether a statement or data is true or false, before enabling the program to carry out an action ...
The OR function is a logical function in Microsoft Excel, and its purpose is to determine if any condition you test is True.
The Not function in Microsoft Excel is a built-in Logical function, and its purpose is to reverse the logic of its argument.