Why there is dollar in the Excel formula

Reading time: 2 minutes

The dollar sign ($) is used as an absolute reference marker in Excel formulas. There are 3 situations.

  1. Relative reference: This is when the reference of the cell is written without a dollar sign, like A1
  2. Absolute reference: This is when there are 2 dollar signs in the reference, like $A$1
  3. Mixed reference: This is when you write your formula with only one dollar sign, like $A1 or A$1

The key point is the action of copying a formula in Excel. When you copy down a formula, the row references are automatically increased.

No dollar sign – Relative reference

Let’s take this example where, in D4, you have the multiplication between the Quantity and Unit Price.

The reference of the row have changed after the copy of the formula

When we copy the formula with the fill handle, each formula points to the correct cell. In row 5, the formula points to B5 and C5, and so on for the other rows. When there is no dollar in the cell’s reference in a formula, it is called Relative Reference. But, in some situations, you don’t want the reference of a cell changes.

Two dollars sign – Absolute Reference

Now, let’s take this second situation where we want to calculate the price with tax. The tax is in E1.

The reference of the cell E1 is not blocked

This time, when we copy down our formula there is a BIG problem because now you have many errors. The reason is that when we copied down the formula in E4, all the references changed, including the reference E1 😡

This is where you put the dollars to prevent the cell reference from changing when copying. This is called Absolute Reference. To add the two $ signs quickly, press the F4 key after selecting your cell.

All the formula point to the cell E1

In this situation, we use 2 cells in our formula. But one is a relative reference, and the other an absolute reference. Now, what happens if we write 2 absolute references?

Each formula point to the same cells

As you can see, each new formula always references D4 and E1 (unnecessary situation).

Use only 1 dollar sign – Mixed Reference

In some situations, you will write your formula with only one $ sign, like $A1 or A$1. This is called Mixed Reference. In this demo, we built a formula in C4. When copied to 99 cells, each formula points correctly to the row and column headers 😮👍

Demo of multiplication table with Excel

Practice with exercises

Practice absolute references ($) directly in the grid below.

absolute reference quiz16

Exercise with Dollar Signs - Calculate the tax on a shopping list

Calculate net total, tax and total including tax on a grocery order, learning to lock a tax-rate cell with the $ absolute reference so fill-down stays correct — 7 guided steps.

Write the formula in cell D2

1 / 7

In D2, calculate the net total, that is the price multiplied by the quantity.

Price tax — Q1 · 173

2 / 7

Fill the Net total down (column D)

Price tax — Q2 · 174

Lock the rate with $ (F4) — cell E2

3 / 7

In E2, calculate the tax: the net total multiplied by the tax rate (cell B9). Lock the rate cell with $ signs (F4 key) so that the formula can be filled down.

Price tax — Q3 · 175

4 / 7

Fill the Tax down (column E)

Price tax — Q4 · 176

Write the formula in cell F2

5 / 7

In F2, calculate the total including tax, that is the net total plus the tax.

Price tax — Q5 · 177

6 / 7

Fill the Total incl. tax down (column F)

Price tax — Q6 · 178

Use the SUM function in cell F10

7 / 7

In F10, calculate the total to pay with the SUM function (the sum of every total including tax).

Price tax — Q7 · 179

Your score is

0%

Related articles

Leave a Reply

Your email address will not be published. Required fields are marked *

Why there is dollar in the Excel formula

Reading time: 2 minutes

The dollar sign ($) is used as an absolute reference marker in Excel formulas. There are 3 situations.

  1. Relative reference: This is when the reference of the cell is written without a dollar sign, like A1
  2. Absolute reference: This is when there are 2 dollar signs in the reference, like $A$1
  3. Mixed reference: This is when you write your formula with only one dollar sign, like $A1 or A$1

The key point is the action of copying a formula in Excel. When you copy down a formula, the row references are automatically increased.

No dollar sign – Relative reference

Let’s take this example where, in D4, you have the multiplication between the Quantity and Unit Price.

The reference of the row have changed after the copy of the formula

When we copy the formula with the fill handle, each formula points to the correct cell. In row 5, the formula points to B5 and C5, and so on for the other rows. When there is no dollar in the cell’s reference in a formula, it is called Relative Reference. But, in some situations, you don’t want the reference of a cell changes.

Two dollars sign – Absolute Reference

Now, let’s take this second situation where we want to calculate the price with tax. The tax is in E1.

The reference of the cell E1 is not blocked

This time, when we copy down our formula there is a BIG problem because now you have many errors. The reason is that when we copied down the formula in E4, all the references changed, including the reference E1 😡

This is where you put the dollars to prevent the cell reference from changing when copying. This is called Absolute Reference. To add the two $ signs quickly, press the F4 key after selecting your cell.

All the formula point to the cell E1

In this situation, we use 2 cells in our formula. But one is a relative reference, and the other an absolute reference. Now, what happens if we write 2 absolute references?

Each formula point to the same cells

As you can see, each new formula always references D4 and E1 (unnecessary situation).

Use only 1 dollar sign – Mixed Reference

In some situations, you will write your formula with only one $ sign, like $A1 or A$1. This is called Mixed Reference. In this demo, we built a formula in C4. When copied to 99 cells, each formula points correctly to the row and column headers 😮👍

Demo of multiplication table with Excel

Practice with exercises

Practice absolute references ($) directly in the grid below.

absolute reference quiz16

Exercise with Dollar Signs - Calculate the tax on a shopping list

Calculate net total, tax and total including tax on a grocery order, learning to lock a tax-rate cell with the $ absolute reference so fill-down stays correct — 7 guided steps.

Write the formula in cell D2

1 / 7

In D2, calculate the net total, that is the price multiplied by the quantity.

Price tax — Q1 · 173

2 / 7

Fill the Net total down (column D)

Price tax — Q2 · 174

Lock the rate with $ (F4) — cell E2

3 / 7

In E2, calculate the tax: the net total multiplied by the tax rate (cell B9). Lock the rate cell with $ signs (F4 key) so that the formula can be filled down.

Price tax — Q3 · 175

4 / 7

Fill the Tax down (column E)

Price tax — Q4 · 176

Write the formula in cell F2

5 / 7

In F2, calculate the total including tax, that is the net total plus the tax.

Price tax — Q5 · 177

6 / 7

Fill the Total incl. tax down (column F)

Price tax — Q6 · 178

Use the SUM function in cell F10

7 / 7

In F10, calculate the total to pay with the SUM function (the sum of every total including tax).

Price tax — Q7 · 179

Your score is

0%

Related articles

Leave a Reply

Your email address will not be published. Required fields are marked *