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 中 ABS 函數的公式語法及使用方式。

描述

傳回數字的絕對值。 所謂數字的絕對值,就是不含符號的數字。

語法

ABS(number)

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

  • Number    必要。 這是要求得絕對值的實數。

範例

複製以下表格,並貼至 Excel 的儲存格 A1 中。 您可能需要選取內含公式的所有儲存格,然後按 F2 和 Enter,才能使公式運作。 您可能會想要將欄位加寬,使工作表更容易閱讀。

資料

-4

公式

描述

結果

=ABS(2)

2 的絕對值

2

=ABS(-2)

-2 的絕對值

2

=ABS(A2)

-4 的絕對值

4

另請參閱

將數字相減

在 Excel 中乘除數位

計算百分比

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!

×