Excel SQRT Function

This post will guide you how to use Excel SQRT function with syntax and examples in Microsoft excel.

Description

The Excel SQRT function returns the square root of a positive number. And if you provide a negative number, the function will return #NUM! Error.

The SQRT function is a build-in function in Microsoft Excel and it is categorized as a Math and Trigonometry Function.

The SQRT function is available in Excel 2016, Excel 2013, Excel 2010, Excel 2007, Excel 2011 for Mac.

Syntax

The syntax of the SQRT function is as below:

=SQRT (number)

Where the SQRT function argument is:

  • Number -This is a required argument. The number for which you want to calculate the square root.

Note:

  • If the supplied number is negative, the SQRT function will return #NUM! Error.
  • If the supplied number is non-numeric, The SQRT function will return #VALUE! Error.

Excel SQRT Function Examples

The below examples will show you how to use Excel SQRT Function to calculate the square root for a positive number.

1# to calculate the square root of number 20, enter the following formula in Cell B1.

=SQRT(20)

excel sqrt examples1

2# to calculate the square root of a negative number -20, enter the following formula in Cell B2.

=SQRT(-20)

excel sqrt examples2

You will see that the #NUM! Error message is returned.

x
How to Highlight Every Other Row Using Conditional Formatting in Excel

3# using the ABS function to get the absolute value of a negative number and then combine with the SQRT function to calculate the square root to avoid the #NUM! Error message. Enter the following formula in Cell B3.

=SQRT(ABS(-20))

excel sqrt examples3


Related Functions

  • Excel ABS Function
    The Excel ABS function returns the absolute value of a number.The ABS function is a build-in function in Microsoft Excel and it is categorized as a Math and Trigonometry Function.The syntax of the ABS function is as below:=ABS (number)…
Related Posts

Excel DVAR Function
excel dvar examples1

This post will guide you how to use Excel DVAR function with syntax and examples in Microsoft excel. Description The Excel DVAR Function will get the variance of a population based on a sample of numbers in a column in ...

Excel DSUM Function
excel dsum examples1

This post will guide you how to use Excel DSUM function with syntax and examples in Microsoft excel. Description The Excel DSUM Function will add the numbers in a column or database that meets a given criteria. And so you ...

Excel DSTDEVP Function
excel dstdevp examples1

This post will guide you how to use Excel DSTDEVP function with syntax and examples in Microsoft excel. Description The Excel DSTDEVP returns the standard deviation of a population based on the entire population of numbers in a column or ...

Excel DSTDEV Function
excel dstdev examples1

This post will guide you how to use Excel DSTDEV function with syntax and examples in Microsoft excel. Description The Excel DSTDEV returns the standard deviation of a population based on a sample of numbers in a column or database ...

Excel DMIN Function
excel dmin function example1

This post will guide you how to use Excel DMIN function with syntax and examples in Microsoft excel. Description The Excel DMIN returns the minimum value from a database or a column of a list that matches the specified conditions. ...

Excel DPRODUCT Function
excel dproduct examples1

This post will guide you how to use Excel DPRODUCT function with syntax and examples in Microsoft excel. Description The Excel DPRODUCT returns the product of values from a set of records that match criteria that you specify. The DPRODUCT ...

Excel XIRR Function
excel xirr examples1

This post will guide you how to use Excel XIRR function with syntax and examples in Microsoft excel. Description The Excel XIRR function returns the internal rate of return for a series of cash flows that is not necessarily periodic. ...

Excel VDB Function
excel vdb examples1

This post will guide you how to use Excel VDB function with syntax and examples in Microsoft excel. Description The Excel VDB function calculates the depreciation of an asset for a specified period based on the double declining balance method. ...

Excel SYD Function
excel syd examples1

This post will guide you how to use Excel SYD function with syntax and examples in Microsoft excel. Description The Excel SYD function calculates the sum-of-years’digits depreciation of an asset for a specified period. And it will return a numeric ...

Excel SLN Function
excel sln examples1

This post will guide you how to use Excel SLN function with syntax and examples in Microsoft excel. Description The Excel SLN function calculates the depreciation of an asset for one period based on the straight line depreciation. And it ...

Sidebar