When you really learn how to use Excel, the most important step is not making prettier tables. It is understanding how to link values entered in cells to formulas that work on their own.

A great exercise is geometry, because it forces you to think in a simple and practical way: you enter a few values, type the right formula, and the result updates automatically every time you change the numbers.

Here we will build four different sheets, one for the rectangle, square, circle, and right triangle, to get familiar with formulas, cell references, exponents, the pi function, and the square root.

Table of contents

📐 The workflow: a sheet for each shape

The idea is very clear: instead of putting everything on the same sheet, it is better to create a separate tab for each geometric shape. This way, the file remains tidy and each formula is easier to read, check, and edit.

For each sheet, it is best to always use the same logic:

This small visual trick immediately helps to distinguish where you write the numbers and where instead Excel needs to calculate.

Excel sheet with Base and Height headers and cells colored in green

🟩 How to set up the rectangle sheet

The first sheet can be renamed Rectangle. In the initial cells, you enter:

Cells A2 and B2 are the reference cells. This means they will drive all calculations.

Formula for the perimeter of the rectangle

The perimeter of the rectangle is obtained by adding base and height, then multiplying the total by 2.

In Excel, the formula becomes:

= (A2+B2)*2

Parentheses are important because they force Excel to perform the addition first and then the multiplication.

Formula for the rectangle perimeter written in the cell as (A2+B2)*2

Formula for the area of the rectangle

The area is even more direct: base times height.

=A2*B2

Once the formula is confirmed, the result will initially be zero if the input cells are empty. As soon as you enter the values, Excel automatically updates the result.

For example, with base 4 and height 6 you get:

Rectangle table with Base 4, Height 6, Perimeter 20, and Area 24

🟦 How to view and edit a formula in Excel

A very useful step, especially when you start, is learning to check what you wrote inside a cell.

You have three practical ways to do it:

This is essential because it allows you not only to read the formula, but also to correct it on the fly if you made a mistake with a reference or an operator.

🟨 The square sheet

In the second sheet, to be renamed Square, only one starting piece of data is needed: the side.

Formula for the perimeter of the square

The perimeter is the side multiplied by 4:

=A2*4

Formula for the area of the square

The area is the side squared. In Excel, exponentiation is written with the symbol ^.

=A2^2

This is a very important point: if you need to do an exponentiation, you do not write "squared" in words, but you use the correct mathematical symbol.

For example, if the side is 5:

Square sheet with side 8, perimeter 32, and area 64

The interesting thing is that you only need to change the side value to immediately see everything else update. This is where you really see the convenience of formulas.

🔵 The circle sheet

Moving on to the circle, the starting value is the radius. The results to calculate are:

This part is very useful because it introduces a specific Excel function: the one that returns the value of pi.

Excel sheet with Radius, Circumference, and Area already set up and cells colored

How to use pi in Excel

In Excel, pi is not written by hand as 3.14. A dedicated function is used:

=PI()

This function returns the value of pi with several decimal places. It is much better than entering it manually, as it makes the calculation more precise and professional.

Excel cell showing the value 3.141592654 obtained with the PI function

Formula for the circumference

The circumference is calculated as 2 times pi times the radius.

=2*PI()*A2

Formula for the area of the circle

The area is calculated as pi times radius squared.

=PI()*A2^2

Here too, the exponentiation operator seen in the square comes in handy.

With radius 3, for example, you get approximately:

Circle sheet with radius 3, circumference 18.84955592, and area 28.27433

If you change the radius, the results update instantly in this case too.

🔺 The right triangle sheet

The last example is also the most interesting, as it combines simple formulas and a compound formula.

In the Right Triangle sheet, the headers are:

The two legs are values to be entered manually. The hypotenuse, however, is not typed: it is calculated.

Right triangle sheet with Leg1, Leg2, Hypotenuse, Perimeter, and Area set up

Formula for the perimeter of the right triangle

The perimeter is simply the sum of the three sides:

=A2+B2+C2

But beware: this formula only works well if the hypotenuse cell already contains its correct calculation.

Formula for the area of the right triangle

In a right triangle, the area is obtained by multiplying leg by leg and dividing by 2.

=A2*B2/2
Area formula of the right triangle written as A2*B2/2

How to calculate the hypotenuse with the Pythagorean theorem

Here, the Pythagorean theorem comes into play. In practice:

In Excel, the square root is obtained with the SQRT function.

=SQRT(A2^2+B2^2)

This formula goes into the hypotenuse cell.

Hypotenuse formula of the right triangle with SQRT function and leg squares

If you enter, for example, leg 1 as 5 and leg 2 as 8, Excel automatically calculates:

Right triangle sheet with legs 5 and 8, hypotenuse 9.43398, perimeter 22.434, and area 20

If you change one of the legs, not only the perimeter and area change automatically, but also the hypotenuse. This is an excellent example of a formula linked to other formulas.

🌐 When you don't know the formula, do this

A very practical idea to always keep in mind is this: you don't need to know everything by heart.

If you don't remember a geometric formula or the exact name of an Excel function, you can search for it and then apply it immediately in the worksheet.

The correct process is:

  1. understand which quantity you want to calculate
  2. find the correct mathematical formula
  3. translate the formula into cell references
  4. use Excel functions when needed, such as PI() or SQRT()

This approach applies not only to geometry, but to any use of Excel: mathematics, data analysis, quotes, reports, and business management.

⚙️ The most useful functions and operators used in these examples

To recap, here are the main tools used in the calculations:

If you master these elements, you already have a very solid base to build many useful formulas in Excel.

🚀 Why this exercise is more useful than it seems

On the surface, it's just geometric shapes. In reality, you are training much broader skills:

And that is exactly the leap in quality that makes Excel a truly useful tool in everyday work as well.

❓ FAQ

How do you rename a sheet in Excel?

Simply double-click on the sheet name at the bottom, type the new name, and press Enter.

How do you write a formula in Excel?

Every formula must start with the equal sign. After the equal sign, you can use cell references, mathematical operators, and functions.

How do you raise a number to a power in Excel?

The symbol ^ is used. For example, if the value is in cell A2, the formula will be =A2^2.

How do you calculate pi in Excel?

The function =PI() is used, which automatically returns the value of pi with its decimals.

How do you do a square root in Excel?

The SQRT() function is used. For example, =SQRT(A2^2+B2^2) calculates the square root of the sum of the squares of two cells.

Why do results change when I modify a value?

Because the formulas are linked to the input cells. When you change those numbers, Excel automatically recalculates all dependent results.