FORMULAS AND WORKSHEETS

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.
An absolute reference does not move when you copy and paste it. A relative one does.

The "absolute" is shown by a "$". For example:

$a$1 - this is absolute. when you copy it it will not change
$a1 - this has an absolute column. When you copy it down, the row number will change. When you copy accross, the column will stay as "A"
a$1 - this has an absolute row. When you copy it down, the row number will not change. When you copy accross, the column will go to B, C, etc
a1 - relative. Both the column and row will change.

Type the formula:
=$a$1 into cell B1. Then copy and paste it down and accross. Then do it with the other formulas and see how they change.
 
Upvote 0
In VBA the same issues apply, for example:
range("A1")
is an absolute reference. It is always cell A1.

activecell.
is a relative reference. It depends which cell has been activated.
 
Upvote 0

Forum statistics

Threads
1,215,655
Messages
6,126,054
Members
449,283
Latest member
GeisonGDC

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top