×

Absolute Value in Excel

What is Absolute Value in Excel?

Microsoft Excel worksheet is a combination of numeric values and alphabets. The numeric value is either a positive value or a negative value. Sometimes the user needs to convert the negative to positive values for calculation purposes. Typing manually takes time and sometimes leads to errors. Excel provides a default function called ABSOLUTE to convert from negative to positive values. The ABSOLUTE function is called the ABS function, which returns the data without the sign. It converts the negative numbers to positive numbers, where the negative sign won’t appear while displaying the final result, and the positive numbers remain unchanged. This ABS function is used to return the absolute value of the number.

How to implement the ABS function?

Here is a simple example of converting the given data into a positive number using the ABS function. The steps to be followed are,

Step 1: Enter the data in the required cell, namely A1. The data entered here is a negative number.

Step 2: Select a new cell, B1, where the user wants to display the result. Enter the formula as =ABS (A1). Here A1 is referred to as the cell name.

Step 3: Press Enter. The result will be displayed in the cell where the ABS function returns the data as a positive number.

Absolute Value in Excel

From the above worksheet, the value present in cell A1 is changed from a negative number to a positive number.

 Example 1: How does the ABSOLUTE function work in Positive numbers?

In this example, the effect of the ABSOLUTE function in positive numbers is explained clearly. The steps to be followed are,

Step 1: Enter the data in the required cell, namely A1. The data entered here is a positive number.

Step 2: Select a new cell, B1, where the user wants to display the result. Enter the formula as =ABS (A1). Here A1 is referred to as the cell name.

Step 3: Press Enter. The result will be displayed in the cell where the ABS function returns data similar to the data present in cell A1.

Absolute Value in Excel

From the above worksheet, the ABS function returns a positive number similar to the data present in cell A1.

Example 2: How does the ABSOLUTE function work in Zero?

In this example, the effect of the ABSOLUTE function in zeros is explained clearly. The steps to be followed are,

Step 1: Enter the data in the required cell, namely A1. The data entered here is a zero.

Step 2: Select a new cell, B1, where the user wants to display the result. Enter the formula as =ABS (A1). Here A1 is referred to as the cell name.

Step 3: Press Enter. The result will be displayed in the cell where the ABS function returns data similar to the data present in cell A1.

Absolute Value in Excel

From the above worksheet, the result displayed in cell B1 is similar to that of cell A1 where the Absolute value of zero is zero.

The purpose of the ABS function in Excel has enormous. The ABS function is used to retrieve the result based on the given data.

Example 3: How to find the difference using the ABS function?

The ABS function is used in this example to find the difference between two data sets. The steps to be followed are,

Step 1: Enter the two data sets in the required cell range, A1:B5.

Step 2: Select a new cell, C1, where the user wants to display the result. Enter the formula as =ABS (A1-B1). Here A1 and B1 are referred to as cell names.

Step 3: Press Enter. The result will be displayed in the cell where the ABS function returns the result in cell C1, which is the difference between A1 and B1. Similarly to find the difference for the remaining cells, drag the formula toward the cell C5.

Absolute Value in Excel

From the above worksheet, the data difference is displayed in the column range A1:A5

Example 4: How to find the square root of the Negative number?

To find the square root of the negative number in the general method, the result will be as follows,

Absolute Value in Excel

From the above worksheet, the result will be displayed as NUMBER ERROR as the value present in the cell contains a negative value. Hence, the ABS function is implemented to find the SQRT of the negative number.

The steps to be followed are,

Step 1: Enter the data in the required cell range, A1. Here the data entered is a negative number.

Step 2: Select a new cell, B1, where the user wants to display the result. Enter the formula as =SQRT (ABS (A1)) to find the square root of the given number. Here A1 is referred to as the cell name.\

Absolute Value in Excel

The above worksheet shows the square root of the given number in cell B1.

Example 5: How to calculate the absolute error for the given data?

To calculate the absolute error for the given data, the steps to be followed are,

Step 1:  Step 1: Enter the three sets of data in the required cell range, A1:C6. The data entered are Month, Actual, and Forecast.

Step 2: Select a new cell, D1, where the user wants to display the result. Enter the formula as =ABS (B2 -C2). Here B2 and C2 are referred to as cell names.

Step 3: Press Enter. The result will be displayed in cell D2, which is the difference between B2 and C2. Similarly, to find the absolute error for the remaining cells, drag the formula toward cell D6.

Absolute Value in Excel

From the above worksheet, the ERROR is founded using the ABS function.

Example 6: Here is an example to find the forecast error based on SUMPRODUCT and ABS functions.

The steps to be followed are,

 Step 1: Enter the three data sets in the required cell range, A1:C6. The data entered are Month, Actual, and Forecast.

Step 2: Select a cell namely C7, where the user wants to display the result. Enter the formula as =SUMPRODUCT (ABS (B2:B6-C2:C6)). Here B2:B6 and C2:C6 are referred to as cell names.

Step 3: The result will be displayed in cell C7, called the absolute error.

Absolute Value in Excel

From the above worksheet, the ABS function returns the value of 20, where the result is similar to the previous concept.

Summary

From the above tutorial, the various functions and methods to calculate the absolute value are clearly explained.


Related Topics

Pivots Table in Excel

What is a Pivot? A pivot table is a tool to create summary reports from data-sets irrespective of their sizes but is helpful even if the data is more than just...

5 minutes read.

Excel COUNTIFS() Function

Excel COUNTIFS() Function The COUNTIFS() function in excel is used to count the numbers within a range that meet the supplied criteria.  Syntax COUNTIFS (range1, criteria1, [range2], [criteria2], ...) Parameter Range1 (required)- This parameter represents...

1 minute read.

SUM Functions in Excel

The BODMAS formula plays a vital role in the concept of mathematics. BODMAS rule follows the Bracket of Division, Multiplication, Addition and Subtraction. This rule is followed for a correct...

6 minutes read.

Excel MID() Function

The MID() function in excel is used to return a specific number of characters from a text string starting at the position you specify. One can change the start of the string, thus...

1 minute read.

Excel IFNA Function

Excel IFNA Function The IFNA in Excel is used to remove the #N/A type of errors in excel values cells with our choice of value. IFNA function is from Excel 2013 onwards, so it...

1 minute read.

Excel Ribbon Toolbar

Excel Ribbon/Toolbar How does a toolbar look like? The top section of an excel file is called a Ribbon or a toolbar. It has various commands which can be useful for us in our daily work....

6 minutes read.

Notes in Excel

Notes in Excel Notes are used to include additional information to the cell and explain formulas calculation, any modification made to the cell, providing necessary information on data that is entered or to provide any...

3 minutes read.

Excel EXACT() Function

The EXACT() function in excel checks whether the specified values (texts, numbers) are exactly the same or not. It returns a Boolean value TRUE if the compared values are same, else it...

1 minute read.

Locate Maximum Values in Excel

Excel is a combination of numeric values and numbers. To retrieve the result, Excel provides various formulas and functions. Sometimes the user needs to find the largest value from the...

5 minutes read.

Excel COUNTBLANK() Function

Excel COUNTBLANK() Function The COUNTBLANK() function in excel counts the number of blank cells within a range. Syntax COUNTBLANK ([value1], [value [2], ...) Parameter value1(required)- This parameter represents the first cell in the range. value2, …(optional)- It represents...

1 minute read.

What do you understand by Combination Chart in Microsoft Excel?

In Microsoft Excel, an individual has the Combo Chart option available, which can be effectively clubbed into two charts types, which are Column Clusters Chart, Line Chart to get the...

7 minutes read.

Row Difference in Excel

Microsoft Excel is used for multiple purposes in various organizations. It is a combination of numeric values, alphabets etc. To calculate data, the user organizes the data according to their...

5 minutes read.

What is a name box in Excel?

The name box in Microsoft Excel specifies a name for a single cell or a table. The name box is present in the top left corner, left to the formula...

4 minutes read.

Date and Time in Excel-VBA

In this modern world of computer technology the creation of Excel reports are termed to be the crucial elements, and the particular type of programs that helps us in performing...

6 minutes read.

Thermometer Chart in the Microsoft Excel

It was known that the thermometer chart is basically based on a single data point and that in turn could be used to show the achievement percentage. It primarily depends...

7 minutes read.

Multiplication in Excel

Multiplication plays a vital role in Mathematics. Usually, the calculations are performed manually and automatically. Manual calculations take time and sometimes leads to error, and it is a challenging process...

5 minutes read.

Excel TEXT() Function

The TEXT () function in excel converts a supplied numerical value into the text of a specific format. Syntax TEXT(Value, Format_text) Parameter Value (required)- This parameter represents the value for which we need to...

1 minute read.

Operators in Excel

In MS Excel, operators are used to defining the operation you want to perform on the used elements or between variables. There are four types of operators: Arithmetic operators, Comparison...

4 minutes read.

Basics of Excel

Different ways to open an excel file There are various ways to open an excel file, some of them are listed below - From Start Menu:Go to the start menu and search for Ms-Excel...

5 minutes read.

Excel OFFSET () Function

Excel OFFSET () Function The OFFSET() function in excel returns range of cells that is a specified number of rows and columns from an initial specified range. Syntax OFFSET (reference, rows, cols, [height], [width]) Parameter reference(required)-...

2 minutes read.