How to Use the EVEN Function in Google Sheets

Published on

The EVEN function in Google Sheets rounds a given number up to the nearest even number. It works with both positive and negative numbers.

Syntax

EVEN(value)

Where value is the number to be rounded up to the nearest even number.

Using EVEN with Positive Numbers

Let’s explore how the EVEN function behaves with positive numbers.

The function rounds the numbers in column A to the next greatest even number.

Example:

ValueFormulaResult
21=EVEN(A2)22
11.4=EVEN(A3)12
2=EVEN(A4)2

If the input is already an even number, the EVEN function will return the same value.

Working with Multiple Numbers

The EVEN function is not an array formula by default, but it supports the ArrayFormula function.

If you want to round multiple numbers to the nearest even numbers using a single formula, use:

=ArrayFormula(EVEN(A2:A6))

Replace A2:A6 with the desired range.

This formula replaces individual EVEN formulas for each cell.

If the input value is 0 or blank, the result will also be 0.

Using EVEN with Negative Numbers

For negative numbers, the EVEN function rounds down to the next negative even number with a greater absolute value.

Example:

ValueFormulaResult
-3=EVEN(A2)-4
-9.25=EVEN(A3)-10
-2=EVEN(A4)-2

Additional Tips

Populating a Sequence of Even Numbers

To generate a sequence of even numbers, such as 2, 4, 6, …, 20, you can use any of the following methods:

1. Using the EVEN + ROW + UNIQUE Combination

    =ArrayFormula(UNIQUE(EVEN(ROW(A1:A20))))
    Example of the EVEN function used with an ArrayFormula in Google Sheets

    This formula returns the first 10 even numbers in chronological order.

    2. Using the SEQUENCE Function

      =SEQUENCE(10, 1, 2, 2)

      This generates the first 10 even numbers in a single column.

      3. Using the MAKEARRAY Function

      =UNIQUE(MAKEARRAY(20, 1, LAMBDA(r, c, EVEN(r))))

      This creates a unique sequence of even numbers.

      Using EVEN with the FILTER Function

      You can use the EVEN function to filter rows based on even numbers in a column.

      Example:

      To filter rows in A2:C where values in column C are even numbers, use:

      =FILTER(A2:C, C2:C=EVEN(C2:C))

      The formula evaluates whether the values in C2:C are even and filters rows accordingly.

      Alternatively, you can use the ISEVEN function for a similar result:

      =FILTER(A2:C, ISEVEN(C2:C))

      That’s everything you need to know about the EVEN function in Google Sheets. Experiment with these examples to better understand its functionality!

      Prashanth KV
      Prashanth KV
      Your Trusted Google Sheets and Excel Expert Prashanth KV is a Diamond Product Expert in Google Sheets, officially recognized by Google for his contributions to the Docs Editors Help Community and featured in the Google Product Experts Directory. With years of experience working with Google Sheets and Excel for multinational firms in Mumbai and Dubai, he has been blogging since 2012, offering practical, real-world spreadsheet solutions that professionals rely on. Explore his blog to learn advanced formulas, automation tips, and problem-solving techniques to elevate your spreadsheet skills.

      Mode of Comma-Separated Numbers in Excel (Dynamic Array)

      There is no dedicated function in Excel to directly find the mode of comma-separated...

      How to Find Mode of Comma-Separated Numbers in Google Sheets

      Working with comma-separated numbers inside a single cell is a common scenario in Google...

      How to Count Merged Cells in Google Sheets (and Get Their Size)

      Sometimes, you may have blocks of merged cells in a column or row. But...

      Count Consecutive Workday Absences in Google Sheets

      This tutorial offers a powerful formula-based solution to count consecutive workday absences in Google...

      More like this

      How to Find Mode of Comma-Separated Numbers in Google Sheets

      Working with comma-separated numbers inside a single cell is a common scenario in Google...

      How to Count Merged Cells in Google Sheets (and Get Their Size)

      Sometimes, you may have blocks of merged cells in a column or row. But...

      Count Consecutive Workday Absences in Google Sheets

      This tutorial offers a powerful formula-based solution to count consecutive workday absences in Google...

      LEAVE A REPLY

      Please enter your comment!
      Please enter your name here

      This site uses Akismet to reduce spam. Learn how your comment data is processed.