The Microsoft Excel OR function returns TRUE if any of the conditions are TRUE. Otherwise, it returns FALSE. The OR function is a built-in function in Excel that is categorized as a Logical Function. It can be used as a worksheet function (WS) in Excel. As a worksheet function, the OR function can be entered as part of a formula in a cell of a worksheet. Please read our OR function (VBA) page if you are looking for the VBA version of the OR function as it has a very different syntax.