Close Menu
Computing.net
    Facebook X (Twitter) Instagram
    Computing.netComputing.net
    • News
      1. AI
      2. Crypto
      3. Gaming
      4. Hardware
      5. Security
      6. Software
      7. View All

      Anthropic’s COBOL Automation Tool Triggers IBM Stock Plunge and Crypto Market Decline

      February 24, 2026

      AI Trading Bot Loses $441K in Crypto After Decimal Point Mistake

      February 23, 2026

      Tesla (TSLA) Stock: Goodbye Sedans, Hello Robots in Dramatic Production Shift

      January 29, 2026

      Palantir Technologies (PLTR) Stock: Why Bears May Be Wrong About Valuation Concerns

      January 29, 2026

      SUI Token Rallies 40% Following Major Staking Event and CME Futures Announcement

      May 12, 2026

      Chainlink (LINK) Surges to $10.40 as Network Activity Hits Eight-Month Peak

      May 12, 2026

      Dogecoin Whales Ramp Up Accumulation as DOGE Eyes Critical Breakout Levels

      May 12, 2026

      Bitcoin Holds $81K While Burry Flags Nasdaq Bubble and Oil Surges Past $105

      May 12, 2026

      Hamster Kombat: Unraveling TON’s Gaming Phenomenon

      August 7, 2024

      W-Coin: Exploring the Latest Telegram Tap-to-Earn Phenomenon

      August 7, 2024

      Hamster Kombat: 300 Million Players & Counting, HMSTR Token Airdrop Soon!

      July 31, 2024

      Hamster Kombat Developers Work with TON Team on Airdrop Solution

      July 30, 2024

      Nothing Expands Product Line with New AI Feature & Phone Update

      July 31, 2024

      Security Audit Reveals Concerns in Atari’s Blockchain Game on Base

      August 6, 2024

      SideWinder Group Targets Maritime Facilities in New Cyber Espionage Campaign

      July 30, 2024

      OAuth Implementation Flaw Exposes Millions of Websites to XSS Attacks

      July 30, 2024

      Hamster Kombat Players Face Growing Cybersecurity Threats

      July 25, 2024

      Anthropic’s COBOL Automation Tool Triggers IBM Stock Plunge and Crypto Market Decline

      February 24, 2026

      Cookie Crumble: Google Halts Plans to Eliminate Third-Party Cookies in Chrome

      July 23, 2024

      Big Brother is Watching: Apple’s Creepy New Ad Urges iPhone Users to Ditch Chrome

      July 23, 2024

      Nvidia Stock Soars to New Record at $219.44 Ahead of May 20 Earnings

      May 12, 2026

      Rocket Lab Shares Surge Past $120 Following Wave of Analyst Upgrades

      May 12, 2026

      GM Shares Decline Following 600 IT Layoffs Amid Strategic AI Workforce Transformation

      May 12, 2026

      SES Delivers €847M Q1 Performance as Intelsat Integration and Aviation Deals Fuel Expansion

      May 12, 2026
    • How To

      Batch Files: Tokens and Delimiters (FOR Loops)

      July 31, 2024

      Types of Ethernet Cabling & Electrical Low Voltage Wiring

      July 9, 2024

      What You Should Know About .JSON File Extension

      January 10, 2023

      Bkup File Extension

      November 19, 2022

      HEIC File Extension

      November 19, 2022
    • Office
      1. Excel
      2. Google Sheets
      3. View All

      How to Convert Column List to Comma Separated List in Excel

      July 24, 2024

      How to Find the Last Monday of the Month in Excel

      July 24, 2024

      Convert Bytes to MB or GB in Excel: 3 Methods!

      July 24, 2024

      How to Remove Characters from Right in Excel

      July 30, 2023

      How to Subtract in Google Sheets: Complete Guide

      July 31, 2024

      Bullet Points in Google Sheets

      January 20, 2022

      Sort by Date in Google Sheets

      January 18, 2022

      Google Sheets Timestamp

      January 17, 2022

      How to Subtract in Google Sheets: Complete Guide

      July 31, 2024

      How to Convert Column List to Comma Separated List in Excel

      July 24, 2024

      How to Find the Last Monday of the Month in Excel

      July 24, 2024

      Convert Bytes to MB or GB in Excel: 3 Methods!

      July 24, 2024
    • Answers
    • About
    • Contact
    Facebook X (Twitter)
    Computing.net
    Excel

    How to Square a Number in Excel

    Constantin KioulafasBy Constantin KioulafasJanuary 20, 2022
    Twitter LinkedIn Email Telegram
    How to square a number in excel
    Twitter LinkedIn Email Telegram

    Spreadsheets, in many instances, comprise large datasets, on which among other things, is usually performed mathematical operations designed to produce results that can then tell us something about the data.

    An accounting based spreadsheet will total up revenues and expenses, and produce a financial statement that will indicate if a business is making a profit or loss.

    A spreadsheet with temperature and precipitation measurements taken over months, can provide a statistical analysis of weather trends.

    Spreadsheet applications like Microsoft Excel, are equipped with a full array of mathematical functions, as well as allowing us to create formulas of our own to help perform quite complex computations.

    While we won’t be solving the mysteries of the universe in this article, we will be taking a look at a fairly simple, yet common mathematical operation, that of the square of a number.

    If we have the number n, the square of n is n x n, or as it is more commonly expressed, n2 (n squared).

    We are going to be working with the above, small dataset, which contains both integer and decimal numbers for which we want to calculate the squares.

    Notice also, that there are both positive and negative numbers.

    Regardless of whether a number is positive or negative, squaring that number will always yield a positive result.

    The first method we are going to use will reference the contents of each of the cells containing the six numbers, and calculate their square using only multiplication.

    To achieve this, we enter the formula =A2*A2 in cell B2, which multiplies the contents of cell A2 by itself.

    As we can see above, the result produced is 49, where the contents of cell A2 is 7.

    We can now apply the formula to the remaining cells.

    To do so, when cell B2 is selected, there will be a fill handle in the bottom right hand corner of the bounding box highlighting the cell.

    Grab this with the mouse, and drag it down to cell B7, thus covering the remaining cells.

    This will propagate the formula to those cells, adjusting the cell reference automatically.

    And as we can see, column B now has the square for each of the numbers in column A.

    As was stated earlier, the square of a number is also represented as n2 (n squared or n to the power of 2).

    Excel allows us to perform this operation, i.e. raise a number to a power, by using the caret ^ symbol.

    Thus, we can express 7 squared, as 7^2, which represents 7 raised to the power of 2.

    We can now use this new expression in our sheet.

    The formula becomes =A2^2, and we can apply it to cell C2.

    Then, drag the fill handle to propagate the formula to the other cells in column C, as seen in the snapshot above.

    We can also see that the outcome in both Columns B and C are the same, both expressions produce exactly the same results.

    Excel also offers a function that allows us to raise a number to any power.

    The function is aptly called POWER, and its definitions is given below.

    Contents:

    Toggle
    • POWER function
    • Example Usage
    • Syntax
    • Conclusion

    POWER function

    Returns the result of a number raised to a power.

    Example Usage

    POWER(4,0.5)

    POWER(A2,B2)

    POWER(2,5)

    Syntax

    POWER(number, power)

    The POWER function syntax has the following arguments:

    • Number    Required. The base number. It can be any real number.
    • Power    Required. The exponent to which the base number is raised.

     

    Our new formula is now =POWER(A2,2), and we apply it to cell D2 as shown above, then drag the fill handle to propagate through to cell D7.

    And as expected, the results are exactly the same as with those produced in columns B and C.

    We mentioned at the outset, that Excel is equipped with a full array of mathematical functions, and POWER is one of them.

    These functions are available from the top navigation menu under Formulas > Math & Trig.

    There are quite a few and you’ll need to scroll down to find the POWER function.

    For our example, we’ve first selected cell E2 and then selected the POWER function from the Formulas > Math & Trig menu.

    This will bring up the Function Arguments dialog box shown above.

    There are two input fields.

    The first for the base number, and the second for the exponent or power.

    You can enter plain numbers or cell references (that contain numeric values) in either field.

    In the screenshot above, just as when we used the POWER function previously, we’ve entered the cell reference A2 in the Number field, and 2 in the Power field.

    Notice how the contents of cell E2 are automatically updated as we enter our values or cell references into the Number and Power fields in the dialog box.

    Also notice that the result is displayed in the bottom left of the dialog box, in the Formula result = read only field.

    This allows us to check the result and make adjustments before applying the formula.

    Once satisfied with our values, we can click the OK button.

    This will generate the POWER function call in cell E2, which turns out to be exactly the same as the one we manually entered in cell D2 earlier.

    Hence, entering the formula directly into the cell or invoking the Function Arguments dialog box after selecting POWER from the Formulas > Math & Trig menu, produces exactly the same outcome.

    Conclusion

    Excel makes it very easy to perform a mathematical operation, such as finding the square of a number.

    We also saw that as so often happens, there are a few different ways to do this and it depends on personal preference as to which method works best.

    We also saw that Excel comes equipped with quite a large array of mathematical functions, and if we can’t remember the function names, we can always use the Formulas > Math & Trig menu.

    Share. Twitter LinkedIn Email Telegram
    Avatar photo
    Constantin Kioulafas
    • LinkedIn

    Costas has a wide range of experience in Information Technology covering computer hardware, programming, telecommunications, networking, web services, and general IT support. He's worked in various roles such as PHP programmer and web developer, technical and desktop support, hardware repair, system administration. Costas has excellent background in Microsoft Windows and Office Suite (Excel, Word, Powerpoint, etc), as well as a thorough understanding of Networking and Hardware maintenance.

    Related Posts

    How to Subtract in Google Sheets: Complete Guide

    July 31, 2024

    How to Convert Column List to Comma Separated List in Excel

    July 24, 2024

    How to Find the Last Monday of the Month in Excel

    July 24, 2024

    Convert Bytes to MB or GB in Excel: 3 Methods!

    July 24, 2024

    How to Remove Characters from Right in Excel

    July 30, 2023

    How to Create a Stem and Leaf Plot in Excel

    January 10, 2023
    Add A Comment

    Comments are closed.

    Latest

    Nvidia Stock Soars to New Record at $219.44 Ahead of May 20 Earnings

    May 12, 2026

    Rocket Lab Shares Surge Past $120 Following Wave of Analyst Upgrades

    May 12, 2026

    GM Shares Decline Following 600 IT Layoffs Amid Strategic AI Workforce Transformation

    May 12, 2026

    SES Delivers €847M Q1 Performance as Intelsat Integration and Aviation Deals Fuel Expansion

    May 12, 2026

    Trump Dismisses Iran Peace Proposal — Oil Markets React as Hormuz Remains Restricted

    May 12, 2026
    • Facebook
    • Twitter

    Latest Reviews

    Meta Platforms Shares Tumble 8% Despite Strong Q1 Performance Amid AI Investment Surge

    April 30, 2026

    Flush.com Review: Casino & Sportsbook With 275% Welcome Bonus

    March 7, 2026

    Katsubet Review: Crypto Casino With 300% Welcome Bonus & Free Spins

    March 7, 2026

    7Bit Review: Crypto Casino With 325% Bonus & 250 FS

    March 7, 2026

    Mega Dice Review: Crypto Casino With 200% Bonus & 50 Free Spins, Legit?

    March 7, 2026


    Home / Privacy Policy / Terms & Conditions

    Computing.net © 1996 - 2026 Kooc Media Ltd. All rights reserved. Registered Company No.05695741

    Type above and press Enter to search. Press Esc to cancel.