ISEVEN in Google Sheets: Even Integers and Explicit Validation
Test even integers in Google Sheets, validate whole quantities and choose explicit truncation or position-based grouping without assuming decimal coercion.
Verification status: See the evidence and test scope described in this guide. How formula examples are checked
Quick answer: =ISEVEN(6) is TRUE and =ISEVEN(7) is FALSE. Use the function on known integers when checking parity; require numeric and integer inputs explicitly when validating an imported quantity.
Availability and version history
- Introduced: first introduction date is not established by the official history reviewed; no desktop release number is inferred.
- Availability: documented in the rolling Google Sheets service; these examples use the web worksheet workflow.
- Checked: October 14, 2026; official ISEVEN reference. Documentation and independent models, with no native Google Sheets execution or wider client certification.
Syntax and evidence boundary
=ISEVEN(value)
The required value can be an integer or a reference containing one. Google’s dedicated help describes the even-integer test but does not spell out a full decimal, text, blank or error-conversion algorithm. This guide therefore does not import another spreadsheet’s implicit truncation behavior.
An even integer has no remainder on division by two. Zero is even, and changing an integer’s sign does not change its parity.
Example 1: signed integer controls
Put these integers in A2:A8 and fill =ISEVEN(A2) down B2:B8.
| Input | Expected ISEVEN |
|---|---|
| -4 | TRUE |
| -3 | FALSE |
| -2 | TRUE |
| 0 | TRUE |
| 2 | TRUE |
| 3 | FALSE |
| 4 | TRUE |
Five inputs are even and two are odd. The Boolean answer is not a rounded integer. If the desired operation is to move a number to an even integer, use the separately documented EVEN function instead.
Example 2: require positive, whole, even quantities
Suppose a field must hold a positive integer count divisible by two. In a separate A2:A8 control column enter 6, 6.9, 7, 0, -2, ="6" and =NA(). Use:
=IF(ISNUMBER(A2),IF(A2>0,IF(A2=TRUNC(A2),ISEVEN(A2),FALSE),FALSE),FALSE)
Only the numeric integer 6 passes. The decimal fails the explicit integer test, zero and -2 fail the positivity test, and text or an error fails the numeric-type test. These are expectations for the guarded validation formula, not claims about calling ISEVEN directly on each excluded input.
If zero represents a valid quantity, replace A2>0 with A2>=0; both 6 and 0 then pass. If negative even adjustments are permitted, remove the positive restriction while retaining the other checks. Keep data policy visible rather than relying on implicit conversion.
Example 3: choose a decimal transformation deliberately
For a known numeric input, you can explicitly decide which integer to test:
=ISEVEN(TRUNC(6.9))
=ISEVEN(TRUNC(-6.9))
=ISEVEN(INT(-6.9))
Expected results are TRUE, TRUE and FALSE. TRUNC produces 6 and -6, whereas INT produces -7 for the negative input. The three formulas are unambiguous because the rounding or truncation step is written into the expression.
This does not establish the output of bare ISEVEN(-6.9) in a particular Sheets build. It demonstrates how to make a chosen transformation explicit without needing that unresolved coercion detail.
Example 4: assign groups by a stable integer ID
Enter IDs 201,202,203,204,205,206 in D2:D7. In E2 use and fill:
=IF(ISEVEN(D2),"B","A")
Expected labels are A,B,A,B,A,B. A record’s label follows its numeric ID even if the record is later moved to another row. Validate that the IDs are stored as exact integers before using this rule, especially when importing long identifiers.
For deliberately position-based grouping starting at D2, use =ISEVEN(ROW()-ROW($D$2)+1). The results across rows 2–7 are FALSE,TRUE,FALSE,TRUE,FALSE,TRUE. These positions follow worksheet rows, not a promise to renumber only visible records after filtering.
Example 5: independently check integer parity
For the original integer controls, compare =ISEVEN(A2) with =MOD(A2,2)=0. They agree on all seven listed integers. This is a finite mathematical control with a positive divisor, not a claim of identical error or type coercion for arbitrary inputs.
Troubleshooting and related functions
References and verification
Examples use fictional inputs, English function names and comma argument separators. Expected outputs are independently modeled from the cited rules, not native Sheets captures. Check the spreadsheet locale when reproducing punctuation-sensitive formulas.