ABS(Number)
Returns the absolute value of the specified number. The value is always non-negative.
Number
Any real number whose absolute value needs to be obtained.
The function supports only one numerical parameter and will be illegal if more than one numerical parameters are set.
Sample data: Stock Trading Data.xlsx
1. For example, when calculating the difference between the quantities of purchased shares and sold shares using sample data, you need to obtain the absolute value of the difference.
Click Formula Column, set Name of the Added Formula Column to Absolute Value, enter ABS(Difference), and click OK, as shown in the following figure.
Add the Absolute Value field, as shown in the following figure.
2. The following table shoes more examples.
ABS(-1.5)
1.5
ABS(0)
0
ABS(2.5)
2.5
滑鼠選中內容,快速回饋問題
滑鼠選中存在疑惑的內容,即可快速回饋問題,我們將會跟進處理。
不再提示
10s後關閉
Submitted successfully
Network busy