Is there a square function in excel

Excel for Microsoft 365 Excel 2021 Excel 2019 Excel 2016 Excel 2013 More…Less

You can square a number in Excel with the power function, which is represented by the carat ^ symbol. Use the formula =N^2, in which N is either a number or the value of the cell you want to square. This formula can be used multiple times throughout a worksheet.

Square a number in its own cell

Follow these steps:

  1. Click inside a cell on your worksheet.

  2. Type =N^2 into the cell, where N is the number you want to square. For example, to insert the square of 5 into cell A1, type =5^2 into the cell.
     

    The formula is in the cell.

  3. Press Enter to see the result.

    Tip: You can also click into another cell to see the squared result.

    The squared result is in the cell.

Square a number in a different cell

Follow these steps:

  1. Click inside a cell and type the number that you want to square.

  2. Select another empty cell in the worksheet.

  3. Type =N^2 into the empty cell, in which N is a cell reference that contains the numeric value you want to square. For example, to display the square of the value in cell A1 into cell B1, type =A1^2 into cell B1.

  4. Press Enter to see the result.

Need more help?

You can always ask an expert in the Excel Tech Community or get support in the Answers community.

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

Содержание

  1. Square a number
  2. Square a number in its own cell
  3. Square a number in a different cell
  4. Need more help?
  5. Square a number
  6. Square a number in its own cell
  7. Square a number in a different cell
  8. Need more help?
  9. Возведение числа в квадрат в Microsoft Excel
  10. Процедура возведения в квадрат
  11. Способ 1: возведение с помощью формулы
  12. Способ 2: использование функции СТЕПЕНЬ
  13. How to Make a Square Excel Calculation and All Its Formulas & Functions
  14. How to Write a Square Excel Calculation With the ^ Symbol
  15. How to Write a Square Excel Calculation With the * Symbol
  16. How to Make a Square Excel Calculation With the POWER Formula
  17. Exercise
  18. Questions
  19. Additional Note

Square a number

You can square a number in Excel with the power function, which is represented by the carat ^ symbol. Use the formula =N^2, in which N is either a number or the value of the cell you want to square. This formula can be used multiple times throughout a worksheet.

Square a number in its own cell

Follow these steps:

Click inside a cell on your worksheet.

Type =N^2 into the cell, where N is the number you want to square. For example, to insert the square of 5 into cell A1, type =5^2 into the cell.

Press Enter to see the result.

Tip: You can also click into another cell to see the squared result.

Square a number in a different cell

Follow these steps:

Click inside a cell and type the number that you want to square.

Select another empty cell in the worksheet.

Type =N^2 into the empty cell, in which N is a cell reference that contains the numeric value you want to square. For example, to display the square of the value in cell A1 into cell B1, type =A1^2 into cell B1.

Press Enter to see the result.

Need more help?

You can always ask an expert in the Excel Tech Community or get support in the Answers community.

Источник

Square a number

You can square a number in Excel with the power function, which is represented by the carat ^ symbol. Use the formula =N^2, in which N is either a number or the value of the cell you want to square. This formula can be used multiple times throughout a worksheet.

Square a number in its own cell

Follow these steps:

Click inside a cell on your worksheet.

Type =N^2 into the cell, where N is the number you want to square. For example, to insert the square of 5 into cell A1, type =5^2 into the cell.

Press Enter to see the result.

Tip: You can also click into another cell to see the squared result.

Square a number in a different cell

Follow these steps:

Click inside a cell and type the number that you want to square.

Select another empty cell in the worksheet.

Type =N^2 into the empty cell, in which N is a cell reference that contains the numeric value you want to square. For example, to display the square of the value in cell A1 into cell B1, type =A1^2 into cell B1.

Press Enter to see the result.

Need more help?

You can always ask an expert in the Excel Tech Community or get support in the Answers community.

Источник

Возведение числа в квадрат в Microsoft Excel

Одним из наиболее частых математических действий, применяемых в инженерных и других вычислениях, является возведение числа во вторую степень, которую по-другому называют квадратной. Например, данным способом рассчитывается площадь объекта или фигуры. К сожалению, в программе Excel нет отдельного инструмента, который возводил бы заданное число именно в квадрат. Тем не менее, эту операцию можно выполнить, использовав те же инструменты, которые применяются для возведения в любую другую степень. Давайте выясним, как их следует использовать для вычисления квадрата от заданного числа.

Процедура возведения в квадрат

Как известно, квадрат числа вычисляется его умножением на самого себя. Данные принципы, естественно, лежат в основе вычисления указанного показателя и в Excel. В этой программе возвести число в квадрат можно двумя способами: использовав знак возведения в степень для формул «^» и применив функцию СТЕПЕНЬ. Рассмотрим алгоритм применения данных вариантов на практике, чтобы оценить, какой из них лучше.

Способ 1: возведение с помощью формулы

Прежде всего, рассмотрим самый простой и часто используемый способ возведения во вторую степень в Excel, который предполагает использование формулы с символом «^». При этом, в качестве объекта, который будет возведен в квадрат, можно использовать число или ссылку на ячейку, где данное числовое значение расположено.

Общий вид формулы для возведения в квадрат следующий:

В ней вместо «n» нужно подставить конкретное число, которое следует возвести в квадрат.

Посмотрим, как это работает на конкретных примерах. Для начала возведем в квадрат число, которое будет составной частью формулы.

    Выделяем ячейку на листе, в которой будет производиться расчет. Ставим в ней знак «=». Потом пишем числовое значение, которое желаем возвести в квадратную степень. Пусть это будет число 5. Далее ставим знак степени. Он представляет собой символ «^» без кавычек. Затем нам следует указать, в какую именно степень нужно произвести возведение. Так как квадрат – это вторая степень, то ставим число «2» без кавычек. В итоге в нашем случае получилась формула:

=5^2

  • Для вывода результата вычислений на экран щелкаем по клавише Enter на клавиатуре. Как видим, программа правильно подсчитала, что число 5 в квадрате будет равно 25.
  • Теперь давайте посмотрим, как возвести в квадрат значение, которое расположено в другой ячейке.

    1. Устанавливаем знак «равно» (=) в той ячейке, в которой будет выводиться итог подсчета. Далее кликаем по элементу листа, где находится число, которое требуется возвести в квадрат. После этого с клавиатуры набираем выражение «^2». В нашем случае получилась следующая формула:

  • Для расчета результата, как и в прошлый раз, щелкаем по кнопке Enter. Приложение производит подсчет и выводит итог в выбранный элемент листа.
  • Способ 2: использование функции СТЕПЕНЬ

    Также для возведения числа в квадрат можно использовать встроенную функцию Excel СТЕПЕНЬ. Данный оператор входит в категорию математических функций и его задачей является возведение определенного числового значения в указанную степень. Синтаксис у функции следующий:

    Аргумент «Число» может представлять собой конкретное число или ссылку на элемент листа, где оно расположено.

    Аргумент «Степень» указывает на степень, в которую нужно возвести число. Так как перед нами поставлен вопрос возведения в квадрат, то в нашем случае данный аргумент будет равен 2.

    Теперь посмотрим на конкретном примере, как производится возведение в квадрат с помощью оператора СТЕПЕНЬ.

    1. Выделяем ячейку, в которую будет выводиться результат расчета. После этого щелкаем по иконке «Вставить функцию». Она располагается слева от строки формул.
    2. Происходит запуск окошка Мастера функций. Производим переход в нем в категорию «Математические». В раскрывшемся перечне выбираем значение «СТЕПЕНЬ». Затем следует щелкнуть по кнопке «OK».
    3. Производится запуск окошка аргументов указанного оператора. Как видим, в нем располагается два поля, соответствующие количеству аргументов у этой математической функции.

    В поле «Число» указываем числовое значение, которое следует возвести в квадрат.

    В поле «Степень» указываем цифру «2», так как нам нужно произвести возведение именно в квадрат.

    После этого производим щелчок по кнопке «OK» в нижней области окна.

  • Как видим, сразу после этого результат возведения в квадрат выводится в заранее выбранный элемент листа.
  • Также для решения поставленной задачи вместо числа в виде аргумента можно использовать ссылку на ячейку, в которой оно расположено.

      Для этого вызываем окно аргументов вышеуказанной функции тем же способом, которым мы это делали выше. В запустившемся окне в поле «Число» указываем ссылку на ячейку, где расположено числовое значение, которое следует возвести в квадрат. Это можно сделать, просто установив курсор в поле и кликнув левой кнопкой мыши по соответствующему элементу на листе. Адрес тут же отобразится в окне.

    В поле «Степень», как и в прошлый раз, ставим цифру «2», после чего щелкаем по кнопке «OK».

  • Оператор обрабатывает введенные данные и выводит результат расчета на экран. Как видим, в данном случае полученный итог равен 36.
  • Как видим, в Экселе существует два способа возведения числа в квадрат: с помощью символа «^» и с применением встроенной функции. Оба этих варианта также можно применять для возведения числа в любую другую степень, но для вычисления квадрата в обоих случаях нужно указать степень «2». Каждый из указанных способов может производить вычисления, как непосредственно из указанного числового значения, так применив в данных целях ссылку на ячейку, в которой оно располагается. По большому счету, данные варианты практически равнозначны по функциональности, поэтому трудно сказать, какой из них лучше. Тут скорее дело привычки и приоритетов каждого отдельного пользователя, но значительно чаще все-таки используется формула с символом «^».

    Источник

    How to Make a Square Excel Calculation and All Its Formulas & Functions

    In this tutorial, we will discuss completely how to make a square excel calculation on a number. All formulas/functions we can use to calculate square in excel will also be explained here.

    One calculation we often do when processing numbers is square/the power of two. If we often use excel as a tool to process our numbers, then understanding the way to square there becomes important.

    Generally, the method to write a square formula in excel can be divided into three. They are the manual writing with the ^ symbol, manual writing with the * symbol, and the POWER formula. We will talk in the next parts about the general writing form for each, example, and their writing steps in detail.

    Disclaimer: This post may contain affiliate links from which we earn commission from qualifying purchases/actions at no additional cost for you. Learn more

    Want to work faster and easier in Excel? Install and use Excel add-ins! Read this article to know the best Excel add-ins to use according to us!

    How to Write a Square Excel Calculation With the ^ Symbol

    Now, we will discuss the first method to do a square excel calculation, which is by using the ^ symbol.

    The caret symbol (^) is a power calculation symbol in excel formula writing. Because the square is the same as the power of 2, we can use it to get a square calculation result.

    Generally, here is the writing to calculate a square in excel with the ^ symbol.

    The number there is the number you want to square/power by 2 in excel. The number input in the formula can be typed or inputted through the media of a cell coordinate.

    We use ^ in the writing as a power symbol and 2 as the power factor. We use 2 there because what we look for is the square or the power of 2 from our number.

    Write that writing form correctly in your cell and enter. You will immediately get the square result of your number!

    To make it clearer about the writing, see its implementation example in excel below.

    You can see the writing example in the screenshot’s formula bar. We get the square of all the numbers on the left using that form of writing.

    To make you understand further about this method to write a square formula, we will give the detailed writing steps here. We will explain each step with the help of a screenshot to make you understand it easier.

      Type an equal sign ( = ) in the cell where you want to put the square result of your number

    Input the number to be squared or the cell coordinate where it is after =. Type a caret symbol ( ^ ) after that

    Type 2

  • Press Enter
  • The process is done!

    How to Write a Square Excel Calculation With the * Symbol

    There is another method for us to write a square calculation formula in excel. That method is using the help of the * symbol.

    As we know, the power calculation is the same as multiplying a number with the number itself. Because of that, we can multiply our number with its own value to get its square result in excel.

    The symbol that represents multiplication in excel is the star symbol or *. Therefore, we can square our number by using the * symbol in the writing that we do.

    Generally, here is the writing form of a square formula in excel with the * symbol.

    The number there is the number we want to square in our data processing.

    To make it clearer about this square formula writing with the * symbol, here is its implementation example in excel.

    As we can see in the screenshot’s formula bar, the writing in the example uses the form explained earlier. Write the multiplication formula correctly and you can get the square result of your number easily!

    To add your understanding about this method’s application, here is the step-by-step of its writing in detail.

      Type an equal sign ( = ) in the cell where you want to put the square result of your number

    Input the number to be squared or the cell coordinate where it is after =. Type a star symbol ( * ) after that

    Input the number or the cell coordinate again

  • Press Enter
  • The process is done!

    How to Make a Square Excel Calculation With the POWER Formula

    What if we want to use a built-in formula available in excel to square our number? This can be done by using the POWER formula.

    POWER is made by excel to calculate the power of a number in our worksheet. The inputs it needs are the number we want to power and the power factor. By inputting 2 in its power factor input, we can get the square result of our number using this formula.

    Generally, here is the writing form of POWER so we can get our square calculation result from it.

    Don’t forget to input 2 in the power factor input part so you can get the correct result.

    The implementation example of the writing in excel is as follows.

    As you can see, POWER can be used to do your number’s square calculation. Give your inputs correctly and you can get your result fast!

    To add to your understanding of this method, here are the writing steps.

      Type an equal sign ( = ) in the cell where you want to put the result in

    Type POWER (can be with large and small letters) and an open bracket sign after =

    Input the number to be squared or the cell coordinate where it is after the open bracket sign. Then type a comma sign ( , )

    Type 2

    Type a close bracket sign

  • Press Enter
  • The process is done!

    Exercise

    After learning the methods to write a square formula in excel, now let’s do an exercise. This is so you can deepen your understanding of those methods.

    Download the following exercise file and answer all the questions. Download the answer key file if you have finished the exercise and want to check your answers. Or probably when you are confused about how to answer the questions.

    Link to the exercise file:
    Download here

    Questions

    1. What is the final score of each person? Use the ^ symbol method to find the answer!
    2. What is the final score of each person? Use the * symbol method to find the answer!
    3. What is the final score of each person? Use the POWER formula method to find the answer!

    Link to the answer key file:
    Download here

    Additional Note

    To do the power calculation with other factors besides 2, you can learn it by visiting this Compute Expert tutorial.

    Related tutorials you should learn:

    Источник

  • Thanks to spreadsheet software like Excel, it has become easier than ever to find squares of thousands of numbers at a time, even if some of them are quite large.

    With Excel there are two ways in which you can square a number:

    1. Using a Formula
    2. Using a Function

    Both ways are quick and easy, as you will soon see.

    In this tutorial, we are going to show you how to use the above two ways to find the square of a number in Excel.

    Two Quick Ways to Square a Number in Excel

    To understand how to quickly square numbers in Excel, we are going to use the following dataset:

    Dataset to square numbers in Excel

    In this dataset, we want to find the square of each value of column A and display the result in column B.

    Let us see how to accomplish this in Excel.

    Using a Formula to Square a Number

    Squaring a number simply means multiplying a number by itself, or raising it to the power of 2.

    So, to square the number in the cell reference A2, you can write the formula in two different ways:

    • Using the multiplication operator to multiply it by itself
    • Using the caret operator to raise the number to the power of 2

    Using the Multiplication Operator

    In Excel, you can multiply numbers using the multiplication operator, also known as an asterisk symbol (‘*’).

    So to multiply the value in cell A2 with itself, you can use the formula:

    =A2 * A2

    Thus, here are the steps you can follow to find the square of each number in our given dataset:

    1. Select the cell where you want the first result to appear (cell B2).
    2. Type the formula: =A2*A2.
    3. Press the return key.
    4. The square of the value in A2 should now be displayed as the result in cell B2.Multiplication using asterisk sign
    5. Drag down the fill handle (the small square at the bottom right corner of cell B2) till you reach the last row of your dataset.Result of multiplication using asterisk
    6. Each cell in column B should now contain the square of the corresponding value in column A.Copy the formula to the entire column

    Using the Caret Operator

    In Excel, you can raise one number to the power of another using the exponent operator, also known as a caret symbol (‘^’).

    So to square the value in cell A2 you need to raise it to the power of 2. For this, you can use the formula:

    =A2 ^ 2

    Thus, here are the steps you can follow to find the square of each number in our given dataset:

    1. Select the cell where you want the first result to appear (cell B2).
    2. Type the formula: =A2^2.
    3. Press the return key.
    4. The square of the value in A2 should now be displayed as the result in cell B2.Formula to square using caret
    5. Drag down the fill handle (the small square at the bottom right corner of cell B2) till you reach the last row of your dataset.
    6. Each cell in column B should now contain the square of the corresponding value in column A.Copy the formula to the entire column

    Using a Function to Square a Number

    Excel provides a useful function to raise a number to a certain power.

    The POWER function works like an exponent in a standard math equation and raises one number to the power of another.

    The syntax for the POWER function is as follows:

    =POWER (number, power)

    Here,

    • number is the number that you want to raise to an exponent.
    • power is the exponent you want to raise the number to the power of.

    So if you want to use the POWER function to find the square of a number, say the value in cell A2, you need to raise it to the power of 2 as follows:

    =POWER(A2,2)

    Thus, here are the steps you can follow to find the square of each number in our given dataset:

    1. Select the cell where you want the first result to appear (cell B2).
    2. Type the formula: =POWER(A2,2).
    3. Press the return key.
    4. The square of the value in A2 should now be displayed as the result in cell B2.POWER formula to find the square of a number
    5. Drag down the fill handle (the small square at the bottom right corner of cell B2) till you reach the last row of your dataset.
    6. Each cell in column B should now contain the square of the corresponding value in column A.Copy the formula to the entire column

    Note: The POWER function is located along with the Math & Trig functions in the Formulas tab (under Function Library). If you’re in the Insert Function dialog box, you can find it under the Select a Category drop-down list.

    Click on the POWER formula option

    In this tutorial, we showed you three very easy and quick ways to square a number in Excel.

    The first two methods use a formula, while the third method uses the POWER function. We hope you found this tutorial simple and easy to follow.

    Other Excel tutorials you may also like:

    • How to Insert Square Root Symbol in Excel
    • How to Subtract Multiple Cells from One Cell in Excel
    • How to Calculate Standard Error In Excel
    • How to Use e in Excel | Euler Number in Excel
    • How‌ ‌to‌ ‌Use‌ ‌Pi‌ ‌(π) in‌ ‌Excel‌ ‌
    • How to Calculate Antilog in Excel
    • How to Find Range in Excel
    • How to Calculate Nth Root in Excel?

    Click inside a cell on your worksheet. Type =N^2 into the cell, where N is the number you want to square. For example, to insert the square of 5 into cell A1, type =5^2 into the cell.

    Contents

    • 1 How do you type the squared symbol?
    • 2 How do you write to the power of 2 in Excel?
    • 3 How do I put a tick in an Excel spreadsheet?
    • 4 How do you insert a square root symbol in Excel?
    • 5 How do you type square root on a keyboard?
    • 6 How do you type subscript 2 on a keyboard?
    • 7 How do you type a sub letter?
    • 8 How do you do 5 square root in Excel?
    • 9 What is the square root function in Excel?
    • 10 How do you put to the power of in Excel?
    • 11 What is the formula for a square root?
    • 12 How do you type exponents on a laptop?
    • 13 How do you type a superscript 2?
    • 14 How do you make the st in 1st small?
    • 15 How do you type powers on a keyboard?

    How do you type the squared symbol?

    Inserting the squared symbol on your Android smartphone is relatively easy and straightforward. To insert the squared sign, just long-press the number 2 and it will insert the superscript ².

    How do you write to the power of 2 in Excel?

    Use the “Power” function to specify an exponent using the format “Power(number,power).” When used by itself, you need to add an “=” sign at the beginning. As an example, “=Power(10,2)” raises 10 to the second power.

    How do I put a tick in an Excel spreadsheet?

    The most common way to insert a tick symbol in Excel is this:

    1. Select a cell where you want to insert a checkmark.
    2. Go to the Insert tab > Symbols group, and click Symbol.
    3. In the Symbol dialog box, on the Symbols tab, click the drop-down arrow next to the Font box, and select Wingdings.

    How do you insert a square root symbol in Excel?

    You can find the Symbol dialog by following the INSERT > Symbols > Symbol path in the Ribbon. In the Symbol dialog, choose Mathematical Operators from the Subset dropdown, and scroll down to find the square root character. Select the square root and click the Insert button.

    How do you type square root on a keyboard?

    To type the square root symbol using your keyboard, hold down the Alt key and then type 251 on the numeric keypad. The result is this: √.

    How do you type subscript 2 on a keyboard?

    To make text appear slightly above (superscript) or below (subscript) your regular text, you can use keyboard shortcuts.

    1. Select the character that you want to format.
    2. For superscript, press Ctrl, Shift, and the Plus sign (+) at the same time. For subscript, press Ctrl and the Minus sign (-) at the same time.

    How do you type a sub letter?

    Use keyboard shortcuts to apply superscript or subscript

    1. Select the text or number that you want.
    2. For superscript, press Ctrl, Shift, and the Plus sign (+) at the same time. For subscript, press Ctrl and the Equal sign (=) at the same time. (Do not press Shift.)

    How do you do 5 square root in Excel?

    In Microsoft Excel, the caret symbol (^) acts as the exponent, or power, operator. For example, to square the number 5, i.e. raise 5 to the power of 2, you type =5^2 in a cell, which is equivalent to 52. For example, to get the square root of 25, you type =25^(1/2) or =25^0.5 in a cell.

    What is the square root function in Excel?

    SQRT function
    The Microsoft Excel SQRT function returns the square root of a number. The SQRT function is a built-in function in Excel that is categorized as a Math/Trig Function. It can be used as a worksheet function (WS) in Excel.

    How do you put to the power of in Excel?

    Enter a caret — “^” — into the formula bar, then enter the power. For example, to multiply 3 to the power of 4, enter “3^4” and press “Enter” to complete the formula.

    What is the formula for a square root?

    The square root formula is used to find the square root of a number. We know the exponent formula: n√x x n = x1/n. When n= 2, we call it square root.

    How do you type exponents on a laptop?

    To use this method to type an exponent on a computer, you need to:

    1. Move your mouse pointer to wherever on your screen you want to type the exponent.
    2. Press Shift + 6 to type in the caret symbol (^).
    3. Type in the exponent immediately following the symbol(s).

    How do you type a superscript 2?

    Using in Windows Documents
    On Microsoft Word documents, enter the hexadecimal code as in the above table, then press alt and x keys together. That will convert the code into a superscript or subscript. For example, 00B2 Alt + X will make superscript two like ².

    How do you make the st in 1st small?

    You can do this through the Font dialog box, but there is a much faster way. For superscript, simply press Ctrl + Shift + + (press and hold Ctrl and Shift, then press +). For subscript, press CTRL + = (press and hold Ctrl, then press =). Pressing the respective shortcut again will get you back to normal text.

    How do you type powers on a keyboard?

    1. Press “Ctrl,” “Shift” and “=” on the keyboard to activate superscript mode.
    2. Type the exponent.
    3. Press “Ctrl,” “Shift” and “=” again to deactivate superscript mode.
    4. Press “Control,” “Command” and “+” on the keyboard to activate superscript mode.
    5. Type the exponent.

    The aim is simple. Squaring a number, a number raised to the power 2, the number multiplied by itself; it’s all the same thing, you know the drill. If this is giving you unfond memories of your childhood math classes, it’s a good thing you’re here because we aren’t going to math-splain you.

    This tutorial is about squaring a number in Excel, and we will break down all the methods mentioned above. Throughout this tutorial, for our examples, we will square the numbers in one column and try to print the results next to them using different easy peasy ways.

    Let’s start diving into the easy peasy ways which we will split into 2 sections; in the first section, we will square numbers using formulas and in the second section, we will use functions.

    How to Square a Number in Excel

    Squaring Numbers Using Formulas

    In this section, we will use two formulas to square numbers:

    • Formula using multiplication operator
    • Formula using caret operator

    Let’s see them one by one.

    Multiplication Operator Based Formula For Squaring Numbers

    By multiplication operator, we are referring to the asterisk ( * ) symbol. A squared number is basically the number multiplied by itself so we will do just that on our worksheet in the form of a formula. Let’s see this practically.

    We will use the following formula in our example:

    =B3*B3 //where B3 contains the number to be squared

    This reads as B3 multiplied by B3. The value in cell B3 is 2 and so the calculation goes as 2 multiplied by 2. Here is the outcome:

    Square-a-number-in-excel-multiplication-operator-01

    Also, instead of making use of the cell references, you can apply the formula directly as:

    =2*2 //returns 4

    Wasn’t that easy breezy? It’s nice to have Excel do all the work for you. Let’s keep flowing with the easy breeze into the next formula.

    Caret Operator Based Formula For Squaring Numbers

    By caret operator, we are referring to the » ^ » symbol. Caret Operator is also known as Exponent operator. Does anyone remember five raised to the power two?

    (Hint: Math classes again)

    The caret is essentially saying ‘raised to the power’. Hence, 5 raised to the power 2 becomes 5^2, squaring the number 5. Let’s see how it helps us in Excel.

    Referring to our example, the formula using the caret symbol to square a number will be:

    =B3^2 //where B3 contains the number to be squared

    This reads as B3 raised to the power 2. The value in cell B3 is 2 and so the calculation goes as 2 raised to the power 2 with «4» as the squared result. Applying this formula to square numbers will give us the following results:

    Square-a-number-in-excel-caret-operator-02

    Also, instead of relying on the cell references, you can apply the formula directly as:

    =2^2 //returns 4

    Just now, we used a formula to raise the power of a number. We can apply the same principle using a function, which brings us to our next section where we square numbers using functions.

    Recommended Reading: Calculate Square Root of a Number

    Squaring Numbers Using Excel Functions

    This section covers the use of functions to square numbers. The functions we will use are:

    • The POWER function
    • The PRODUCT function
    • The SUMPRODUCT function

    Using POWER Function

    The POWER function works like a caret operator, raising the number to a power. The syntax of POWER function is very simple it takes two arguments: number and power.

    For the purpose of this article, we are interested in squaring the number so we are working only with raising the numbers to the power «2». The POWER function can easily do that for us.

    This is how we will use the POWER function for our example:

    =POWER(B4, 2) //where B4 contains the number to be squared

    The value in cell B4 is «10». The «2» in the second argument here is the power by which the number in cell B4 («10») is to be raised. The result of 10 raised to the power 2 is 100 which we have in our results:

    Square-a-number-in-excel-by-power-function-03

    For instances where you wish to skip the cell reference in the function, you can apply the function directly as:

    =POWER(10,2) //returns 100

    Using PRODUCT Function

    The PRODUCT function will multiply all the numbers given as arguments. Similar to how we used a multiplication formula to multiply the number with itself, we can use the PRODUCT function for the same calculation, separating the numbers by commas instead of asterisks (*).

    Carrying down our base example, for squaring a number, we will need to supply the number twice in the formula and that should do it:

    =PRODUCT(B4, B4) //where B4 contains the number to be squared

    Cell B4 contains the number «10». Since the PRODUCT function multiplies all the supplied numbers, for squaring the number 10, we only need to supply it twice to the formula. 10 multiplied by 10 gives us 100 which we also have here in the results:

    Square-a-number-in-excel-by-product-function-04

    For instances where you wish to skip the cell reference in the function, you can apply the function directly as

    =PRODUCT(10,10) //returns 100

    Similar to the PRODUCT function, we can use the SUMPRODUCT function for squaring numbers. Let’s see ahead.

    Using SUMPRODUCT Function

    An extension of the PRODUCT function, the SUMPRODUCT function multiplies the supplied number groups and then adds the outcomes of the multiplied groups for the final result. It works like this:

    For instance, if we have a SUMPRODUCT function as:

    =SUMPRODUCT(A1:A3,B1:B3)

    Then the result will be calculated as  –

    The SUMPRODUCT function will multiply each element from both the cell ranges and then added them to one another to return the final result.

    Mathematically this is equivalent to writing –

    (A1*B1) + (A2*B2) + (A3*B3)

    Now, lets jump back to our case –

    For squaring a number we need to multiply the number by itself. Therefore, we only need to pass one group of numbers to the SUMPRODUCT function. SUMPRODUCT will multiply that for us and hand us the result. We are to use it just like the PRODUCT function.

    So if we are to use it exactly like the PRODUCT function, why add the «SUM» prefix? Well, since we are exploring options and this is viable, we have to have the talk about it. Let’s put it to use with our example.

    =SUMPRODUCT(B4,B4) //where B4 contains the number to be squared

    Cell B4 contains the number «10». As the SUMPRODUCT function multiplies all the supplied number groups and then adds the result of those multiplied groups, we will only provide one number group i.e. «B4, B4» which will be «10, 10» since that is what we require for squaring the number.

    SUMPRODUCT will multiply 10 by 10. The result will be 100. Since there is no other number group to multiply, the final outcome of SUMPRODUCT is 100.

    Square-a-number-in-excel-by-SumProduct-function-05

    For instances where you wish to skip the cell reference in the function, you can apply the function directly as:

    =SUMPRODUCT(10,10) //returns 100

    This ends our tutorial, fair and square. Thanks to the power of Excel, we have many options for the simplest of calculations. There’s so much more to explore and this is just a wodge of Excel. We’ll come up with another wodge soon, be sure to have your part!

    Понравилась статья? Поделить с друзьями:
  • Is there a word called learnt
  • Is there a rhyme for the word orange
  • Is there a program like microsoft word
  • Is there a product if function in excel
  • Is there a preposition word