Синтаксис
ISEVEN(number)
- число—The number to evaluate
Пример использования
IF(ISEVEN([Units Sold]1),"True","False")
Примечания об использовании
Units Sold
references a column name1
references the row number- значение или формула, которое будет возвращено, если логическое выражение ложно.
You can label them as you wish.
Примеры
This ISEVEN function only evaluates the numbers before the decimal place to determine whether these values are even or odd. Decimal values don’t impact the result.
В примере ниже используется информация из этой таблицы.
Формула | Order Quantity | Результат | |
---|---|---|---|
1 | =ISEVEN([Order Quantity]1) | 8 | истина |
2 | =ISEVEN([Order Quantity]2) | 15 | ложь |
Let's assume you have a Smartsheet with a column labeled Order Quantity. You want to check if each order quantity is an even number. In this example, let's focus on the value in row 2:
- In row 2, the order quantity is 15.
- You use the formula
=ISEVEN([Order Quantity]2)
- The formula checks whether the value in row 2 of the Order Quantity column is even. Since 15 is odd, the formula returns
FALSE
.
Now, since row 1 has an order quantity of 8, the formula returns TRUE
because 8 is an even number.
Остались вопросы?
If you have an Enterprise plan, you can use AI to help write and troubleshoot formulas.
Используйте шаблон Руководство по работе с формулами, чтобы просмотреть дополнительные ресурсы и изучить более 100 формул. Руководство содержит глоссарий, описывающий каждую функцию, обращение с которой вы сможете отработать на практике, и примеры как часто используемых, так и более сложных функций.
Изучить примеры того, как эту функцию применяют другие пользователи Smartsheet, или задать интересующий вопрос можно в Сообществе Smartsheet.