## Square Root in ExcelFinding squares of a number or taking Square Root is a commonly used mathematical calculation. But how to implement Square Root in your Excel worksheets? You can efficiently perform Square Root in Microsoft Excel either by using the inbuilt SQRT function or with the help of the Power function (where we will be raising the number to the power of ½). In this tutorial, we will briefly discover all the aspects of the Excel Square Root Function. Following are the topics that we will be covering: - Finding Square Root using Excel SQRT function
- Square Root using an exponent formula
- Finding Square Root using Power function
- Calculating Nth root in Microsoft Excel
## Finding Square Root using Excel SQRT function
The SQRT function takes only one parameter, i.e., the number, which must be a numeric value. If the number argument contains any other value apart from numeric, the SQRT function returns a #VALUE! error. If the specified number is negative, this function returns a #NUM! error. The Square root function is used in day-to-day Excel life, including finance calculations, distance covered, different lengths, probability density functions, science and technology, banking, calculating standard deviation, etc. ## NOTE: Microsoft Excel offers built functions to compute the square root of a number. Similarly, it provides functions to calculate cube roots, fourth roots, and other roots using formulas.## Syntax## Parameter
## ReturnThe SQRT function calculates the square root and returns a number. If the specified number is negative, SQRT returns the #NUM! error value. ## Example 1: Finding Square root using SQRT FunctionFollowing are the steps to calculate the Square Root of a number using the SQRT function: - Enter the value in cell A1 for which you want to calculate the square root.
- Select another cell. Here, we will enter the square root formula. Start the formula with = "equal to", followed by the SQRT function.
- In the parameter, it will ask for the numbers. Refer to the cell A2.
Our formula becomes:**=SQRT (A2)** - Once done, press enter button. As a result, Excel will calculate the Square Root for the given number and will return the following output.
## Example 2: SQRT Function for a Negative NumberAs we know, the SQRT function only works for positive number. For negative numbers, it throws an error because square root of a negative number does not exist among the set of real numbers. - Enter a negative number in the cell A2
- Type the formula = SQRT (A2)
- Once done, press enter. You will have the following output.
You can see Excel has returned the #NUM error. Although Excel directly does not provide any way to calculate the square number of a negative number. But what if we convert the negative number to a positive and then calculate its square root. To solve this error, we will use the ABS function to remove the negative sign from the value and later will incorporate the SQRT function. Following are the steps: - Enter a negative number in the cell A2
- Select another cell. Here, we will enter the square root formula. Start the formula with = "equal to", followed by the SQRT function
- In this parameter, we will incorporate the second function i.e., the ABS function and its arguments we will pass A2.
Required Formula:**=SQRT(ABS(A2))** - Excel will convert the negative number to positive, it will find the Square Root and return the following result.
## Square Root using an exponent formulaWhen we perform Square Root manually with pen and paper, we often use the radical symbol ((√). Though it is not possible to use the radical symbol directly in Ms Excel, however, we can use the same concept. For this, we will take advantage of the caret character (^) and compute the square root. In Excel, the caret symbol (^) is used interchangeably for the exponent, or power, operator. Below given are the steps to use this symbol to calculate the square root of a number: - Enter the value in cell A2 for which you want to calculate the square root.
- Select another cell and enter the formula. Start the formula with =followed by the cell (where you have entered the number), the caret symbol (^) and the power ½ (it is used to denote square root)
- Once done, press enter. You will have the following output.
- Make sure not to use this method with any negative number else it will throw the #NUM error (refer to the below image).
## Square root with IF conditionWhat if you want to calculate the square root on some conditions? It is possible if we merge the above formula with the IF condition. For instance, we know that the Square Root formula only works for numeric data, and it throws an error for any other data apart from numeric. Therefore, using the IF, we can apply a condition wherein it will only calculate the Square Root if the specified number is numeric. Following are the steps to calculate the Square Root using the IF condition: - Enter the number in the cell.
- Start the formula with equals to '=' Type the IF formula, along with the conditions.
- To check whether the specified number is numeric, we will use the ISNUMERIC function, in its parameter, will supply the number. If the condition is true, it should return the square root; else, it should return the number itself.
- Once done, press enter. You will have the following output.
## Finding Square Root using Power functionThe best thing about Microsoft Excel is you can perform a calculation using different function and formulas and it will give you the same output. Another method to calculate the Square Root is by using the POWER function
The syntax of the POWER function takes two parameters: the base (any real number) and the exponent (representing the power of how many times the specified number will be multiplied by itself). For instance, 4 to the power of 2 will return an output of 16, it will be same as 4 x 4.
Number (required) - This parameter represents the base number. It can take any real number. Power (required) - This parameter represents the exponent to which the base number is raised.
The Power function returns the output of the specified number raised to a power.
- Enter the number in the cell A2.
- Select another cell. Here, we will enter the square root formula. Start the formula with = "equal to", followed by the POWER function.
- In the parameter, it will ask for the number and power. In the number parameter refer to the cell A2 and it the power argument specify ½ .
- Once done, press enter button. As a result, Excel will calculate the Square Root for the given number and will return the following output.
## NOTE: You can use the power function to calculate cube root, 4th root, 5th root etc. All you need to do it to change the power according to the required root.## Calculating Nth root in Microsoft ExcelSo far, we covered different function and formulas to calculate the Square Root of a number and one of them was the exponent formula (discussed a few paragraphs above in this tutorial). Following is the generic formula: Where the For instance: - The formula of a cube root of 24 will be: =24^(1/3)
- The 4th root of the number 76, would be written as: =76^(1/4)
- The formula to calculate the 5th root of a number in cell A1, would be written as: =A1^(1/5)
## NOTE: Makesure to enclose the fractional exponents in parenthesis to get the proper order of operations in the above formula.You can also use the POWER function to get the same output: - The formula to get the cube root of number 24: =POWER(24, 1/3)
- The get the 4th root of number 76, the formula will be: =POWER(76, 1/4)
- The get the 5th root of a number in cell A1, the formula will be: =POWER(A1, 1/5)
In real-life worksheets in Excel, we often need a generic formula using which we can calculate any root of a number. For example, below given are the steps to create a generic formula to calculate the root input in B2 of the number in A3:
=$A3^(1/B$2).
Next TopicThermometer Chart in Excel |