×

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

Excel MATCH () Function

Excel MATCH () Function The MATCH () function in excel locates the position of a lookup value in a row, column, or table and returns the relative position of an item in an array. Syntax MATCH...

2 minutes read.

Averageif Function in Excel

Average If in HTML In Mathematics, Average function is used to find the arithmetic mean of the given data. It is defined as the dividing the sum total of given data...

7 minutes read.

Excel OR() Function

The OR() function in excel tests the multiple sets of conditions and returns TRUE if any of the arguments are TRUE and FALSE if all the arguments supplied do not meet the...

2 minutes read.

How to use TODAY function in Excel

What is TODAY Function in Excel? Today function is one of the types of Worksheet function (WS) in Excel.Today Function belongs to the Date and Time functions.It is used to calculate...

3 minutes read.

Excel INT() Function

Excel INT() Function The INT() function in excel is used to round a number down to the nearest integer. It removes decimal points from any number value & return rounded down number value in...

1 minute read.

Excel VALUE() Function

The VALUE() function in excel converts the specific text representing a number (i.e., a number, date, or time format) into a numerical value. Syntax VALUE(Text) Parameter Text(required)- This parameter represents the string that you want...

1 minute read.

Text to Columns

Text to Columns This Excel feature is used to split the cell content name of one cell into multiple columns based on a delimiter, such as a space or a special character or based...

2 minutes read.

Conditional Formatting in Excel

Conditional Formatting What are the conditional formats? Conditional Formatting is a tool that allows the user to format cells or range of cells based on the selected condition or given criteria. The formatting will...

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.

Array Formula in Excel

How to use Array Formula in Excel? By default, Excel consists of various formulas for calculating the data. Among various formulas, the Array formula is a powerful one that is used...

8 minutes read.

Excel Nested IF’s Function

Excel Nested IF’s Function This function in excel helps in checking multiple conditions together by using IF conditions within the IF condition. Syntax if(Logical_Test, [value_if_true], if(Logical_Test, [value_if_true] , [value_if_false])) Parameter Logical_Test (required)- This parameter represents the condition which...

2 minutes read.

Reverse List in Excel

What is Reverse list in Excel? Microsoft Excel is widely used for calculation purposes like statistical and analytical for predicting and getting the result. Sometimes for calculation purposes, the user needs...

5 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 ROUNDUP() Function

Excel ROUNDUP() Function The ROUNDUP() function in excel returns a number rounded up to the nearest possible value and away from zero. Syntax ROUNDUP(Number, num_digits) Parameter Number(required)- This parameter represents the number which you want to...

1 minute read.

Solver in Excel

What is Solver? Microsoft Excel facilitates an add-in programming tool known as Solver that uses operational research techniques to find the optimal solutions for objective problems. This tool operates with a group of...

5 minutes read.

How to use Index and Match in Excel?

The Index and Match function is a familiar and frequently used function in Excel. It is one of the most powerful functions and is easy to use. By default, Excel...

6 minutes read.

Decimals in Excel

Microsoft Excel is widely used for calculation purposes for various applications. The calculation consists of numbers which include whole numbers, decimals, integers etc. To perform quick calculations, the numbers should...

5 minutes read.

Excel SMALL() Function

The SMALL() function in excel returns the k-th smallest value in a data set. Syntax SMALL(Array, kth small number from the list) Parameter Array (required)- This parameter represents the list of numbers from which nth smallest...

1 minute 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.

Excel FIND() Function

The FIND() function in excel finds one text value within another. It is a case-sensitive function. Syntax FIND (find_text, within_text, [start_num]) Parameter find_text (required)- This parameter represents the text to find. within_text (required)- This parameter represents...

1 minute read.