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.

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

描述

傳回的數字會無條件捨入至最接近的偶整數。 您可以使用此函數來處理成對的項目。 例如,一個包裝箱可以容納一或兩列的項目。 項目數 (無條件捨入至最接近的偶數) 符合箱子容量時,箱子即填滿。

語法

EVEN(number)

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

  • Number    必要。 這是要捨入的數值。

註解

  • 如果 Number 非數值,EVEN 會傳回 #VALUE! 的錯誤值。

  • 無論數字符號為何,值在調整為背離於零時會進位。 如果數字是偶整數,則不會進位。

範例

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

公式

描述

結果

=EVEN(1.5)

將 1.5 捨入至最接近的偶整數

2

=EVEN(3)

將 3 捨入至最接近的偶整數

4

=EVEN(2)

將 2 捨入至最接近的偶整數

2

=EVEN(-1)

將 -1 捨入至最接近的偶整數

-2

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!

×