ExcelCSE.com

Menu
  • Excel 101
  • Excel Functions
  • Excel Formula
  • Contact Us
How to Use Excel > Excel Formula > How to Determine If a Number is Even or Odd

How to Determine If a Number is Even or Odd

How to Determine If a Number is Even or Odd
Table of contents :
  • What are Odd and Even Numbers?
  • Solution Using MOD Function
  • Solution Using ISODD Function
  • Solution Using ISEVEN Function
  • Which One is the Best Solution?
How to Determine If a Number is Even or Odd

What are Odd and Even Numbers?

Even numbers definition

Even numbers are numbers that are always divisible by 2. No reminder always returns integer number.

Odd numbers definition

Odd numbers are numbers that are not multiples of 2. If divided by the number two, always there is a fraction in the result.

Is Zero an Even Number?

If you divide 0 by number 2, the result is always 0 and is corresponding to the definition of an even number, no remainder if divided by the number 2. So, zero is an even number.

Solution Using MOD Function

You can use the MOD function to determine an odd or even number by utilizing even number characteristics, which are always divisible by the number 2.

The MOD function is used to find out if there is a remainder after the division operation. If a number is divided by 2 and there is no remainder, then that is an even number.

Please See the image below for the results of the MOD function with divisor argument 2

Is 0 Even or Odd

The Formula

=MOD(A2,2)

The MOD function returns 0 is an even number, and the one returns 1 is an odd number.

For the more informative result, please add the IF function.

Is 0 an Even or Odd Number

The Formula

=IF(MOD(A2,2)=0,"Even","Odd")

Solution Using ISODD Function

The ISODD function is a special function made by Excel to check whether a number is an odd number or not. Only has one argument, which is the number to be checked.

If the ISODD function returns TRUE, then the checked number is odd, otherwise is even.

The result is as shown below

Odd Numbers Definition

The Formula

=ISODD(A2)

Please add the IF function for more informative results

What are Odd Numbers

The Formula

=IF(ISODD(A2),"Odd","Even")

Solution Using ISEVEN Function

The ISEVEN function is the opposite of the ISODD function, returns TRUE if the number is even and false if the number is odd.

The result is as shown below

Even Numbers Definition

The Formula

=ISEVEN(A2)

Please add the IF function for more informative results

What are Even Numbers

The Formula

=IF(ISEVEN(A2),"Even","Odd")

Which One is the Best?

Excel provides three functions to check whether a number is odd/even. Nothing stands out among the three.

You can choose any function to check whether a number is odd/even.

Related Function

Function used in this article
  • Excel MOD Function
  • Excel ISODD Function
  • Excel ISEVEN Function
  • Excel IF Statement
Share
Tweet
Google+
Email
Prev Article
Next Article

Related Articles

VLOOKUP Error
The Wrong Cell Reference The wrong cell reference is the …

VLOOKUP Error – Frequently Error and Solution

SUMPRODUCT IF
There is no SUMPRODUCTIF function in excel, but you can …

SUMPRODUCT IF – Multiple Criteria SUMPRODUCT

Excel provides three different functions to extract a day, month, …

How to Extract Day, Month and Year from Date in Excel

IFERROR VLOOKUP
There is a condition, you have written the VLOOKUP function …

IFERROR VLOOKUP – Solution for VLOOKUP NA Error

VLOOKUP Multiple Criteria
The Solution for Numeric Result For example, there is data …

VLOOKUP Multiple Criteria – Solution for Numeric or Non-Numeric Result

Tags:Even Numbers Definition How to Determine If a Number is Even or Odd IF Function Is 0 an Even Number Is 0 an Even or Odd Number Is 0 Even or Odd Is Zero an Even Integer Is Zero an Even Number Is Zero an Odd Or Even Number ISEVEN Function ISODD Function MOD Function Odd and Even Numbers Definition Odd Numbers Definition What are Even Numbers What are Odd Numbers

Categories

  • Excel 101
  • Excel Formula
  • Excel Functions

Recent Posts

  • Get the Original Price from Percentage Increase/Decrease
  • How to Add/Subtract Percentage in Excel
  • How to Extract Day, Month and Year from Date in Excel
  • How to Add Seconds, Minutes and Hours to a Time in Excel
  • How to Add Days, Weeks, Months and Years to a Date in Excel
  • How to Calculate Time Difference in Excel
  • Calculate Number of Days, Weeks, Months and Years Between Two Dates in Excel
  • Flash Fill Excel
  • Paste Special Excel
  • Excel TEXTJOIN Function
  • Excel CONCAT Function
  • Excel CONCATENATE Function
  • Excel REPLACE Function
  • Excel SUBSTITUTE Function
  • Excel REPT Function
  • Excel FIND Function
  • Excel SEARCH Function
  • Excel MID Function
  • Excel RIGHT Function
  • Excel LEFT Function

ExcelCSE.com

The Ultimate Guide How to Use Excel Better
Copyright © 2024 ExcelCSE.com
Contact Us - Privacy Policy - Sitemap | Theme by MyThemeShop.com

Ad Blocker Detected

Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by disabling your ad blocker.

Refresh