Sign in with Microsoft
Sign in or create an account.
Hello,
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.

本文將說明公式語法及 ISEVEN 函數的使用方式 中的 Microsoft Excel。

描述

如果數字為偶數,則傳回 TRUE;若為奇數,則傳回 FALSE。

語法

ISEVEN(number)

ISEVEN 函數語法具有下列引數:

  • Number    必要。 這是要檢定的值。 如果數字不是整數,則只會取整數。

註解

如果 number 非數值,ISEVEN 會傳回 #VALUE! 的錯誤值。

範例

請在下列表格中複製範例資料,再將之貼到新 Excel 活頁簿中的儲存格 A1。 若要讓公式顯示結果,請選取公式,按 F2,然後再按 Enter。 如有需要,您可以調整欄寬來查看所有資料。

公式

描述

結果

=ISEVEN(-1)

檢定 -1 是否為偶數

FALSE

=ISEVEN(2.5)

檢查 2.5 是否為偶數。 小數部分 .5 會被截斷,因此會對 2 進檢定。

TRUE

=ISEVEN(5)

檢定 5 是否為偶數。

FALSE

=ISEVEN(0)

零 (0) 會被視為偶數。

TRUE

2011/12/23

檢定 A6 中的日期。 2011/12/23 的十進位表示為 40900。

TRUE

Need more help?

Want more options?

探索訂閱權益、瀏覽訓練課程、瞭解如何保護您的裝置等等。

社群可協助您詢問並回答問題、提供意見反應,以及聆聽來自具有豐富知識的專家意見。

Was this information helpful?

How satisfied are you with the translation quality?
What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!

×