How to Use the ISODD Function in Excel

The following is a thorough explanation on how to use the ISODD function in Microsoft Excel and Google Sheets.

Overview

The ISODD function is designed to determine whether a number is odd. It returns TRUE if the given number is odd, and FALSE if it is even.

Syntax

The syntax for the ISODD function is identical in both Microsoft Excel and Google Sheets:

ISODD(number)

Here, number represents the numerical value or the cell reference to be evaluated for oddness.

Examples

Example 1: Basic Usage

Consider a scenario where cell A1 contains the number 5. To verify if this number is odd, you would use the ISODD function in the following way:

Formula Result
=ISODD(A1) TRUE

Example 2: Using in Conditional Formatting

The ISODD function can also be utilized in conditional formatting to selectively apply formatting to odd numbers within a range. For instance, to highlight odd numbers in the range from A1 to A10, you would perform the following steps:

  1. Select the range A1:A10.
  2. Go to the Conditional Formatting menu.
  3. Click “New Rule” and select “Use a formula to determine which cells to format.”
  4. Input the formula =ISODD(A1) and set your desired formatting style.
  5. Press “Apply” to implement the rule.

Example 3: Using with IF Function

You can also pair the ISODD function with the IF function to display custom messages based on the number’s parity. Consider this example:

Data (Column A) Result
3 =IF(ISODD(A2), “Odd”, “Even”)

This formula will display “Odd” if the number in column A is odd, and “Even” if it is even.

Utilizing the ISODD function in Excel or Google Sheets facilitates the identification of odd numbers, enabling you to perform specific calculations or apply unique formatting based on their parity.

More information: https://support.microsoft.com/en-us/office/is-functions-0f2d7971-6019-40a0-a171-f2d869135665

Other functions
Returns information about the formatting, location, or contents of a cell
Returns a number corresponding to an error type
Returns information about the current operating environment
Returns TRUE if the value is blank
Returns TRUE if the value is any error value except #N/A
Returns TRUE if the value is any error value
Returns TRUE if the number is even
Returns TRUE if there is a reference to a cell that contains a formula
Returns TRUE if the value is a logical value
Returns TRUE if the value is the #N/A error value
Returns TRUE if the value is not text
Returns TRUE if the value is a number
Returns TRUE if the value is a reference
Returns TRUE if the value is text
Returns a value converted to a number
Returns the error value #N/A
Returns the sheet number of the referenced sheet
Returns the number of sheets in a reference
Returns a number indicating the data type of a value