← Level 3 – Chart maker

2 / 12 ⏱ 20 minutes بريميوم

Dollars and percentages

How to add $ or % to a number without changing it.

The number inside, the look outside

A cell can show a number in different ways: 25, $25, or 25.00. Inside, it’s always the same number 25. Only the look changes. This is called formatting.

That’s why you don’t type $25 into a cell. That’s text, and you can’t calculate with it. Type 25 and add the dollar sign with formatting.

Dollars

  1. On the Money sheet, select B2:E8 and the summary B10:B14. (To add the second range, hold Ctrl and select it.)

  2. In the menu, click Format → Number → Currency.

  3. The numbers now show $50.00. When you click on a cell, the formula bar still shows 50.

If you want whole dollars without cents, click the Decrease decimal places button (.0←) on the toolbar.

💡

Using a different currency? Choose Format → Number → Custom currency and pick yours. The numbers inside stay the same.

Percentages

A percent is a part of a hundred. 0.2 is the same as 20%.

⚠️

A common trap: you type 20 into a cell and give it the percent format. You’ll see 2000%! Because 20 is twenty times the whole thing. The right way is to type 0.2 and give it the percent format. Or type 20% with the percent sign right away.

Try it

  1. On the ملاحظةs sheet, type 0.25 in N1.

  2. Click Format → Number → Percent. You’ll see 25.00%.

  3. Type 25 in N2 and give it the percent format too. You’ll see 2,500.00%. That’s the trap.

What percent of the votes

On the Survey sheet:

  1. In C1, type Share.

  2. In C2, type =B2/$B$8. That’s the votes for sandwich divided by all the votes. (The dollar signs keep B8 from moving when you copy.)

  3. Drag C2 down to C6.

  4. Select C2:C6 and give it the Percent format. Sandwich has 40%.

دورك 💪

  1. Your pocket money is in dollars.
  2. The formula bar still shows just a number.
  3. The survey has a column with percentages.
  4. You know the 2000% trap.
✅

Done when: you can add $ and % to numbers with formatting.

What to take away from this lesson