DRAG down

sssb2000

Well-known Member
Joined
Aug 17, 2004
Messages
1,169
hi,
in A1, i have a formula saying =C5
is there anyway for me to drag this down and instead of getting C6, C7, C8, etc. , instead get D5, E5, F5, G5, etc.


thoughts?
 

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().

hayden

Board Regular
Joined
Sep 23, 2005
Messages
159
click on cell a1, then hit the f4 key on your keyboard. This will add dollar signs to the formula in cell a1

or

enter

=$c$5

Then drag it down to the cells you need

Hayden
 

hayden

Board Regular
Joined
Sep 23, 2005
Messages
159
Whoops sorry.. I didn't read well enough. I don't know about that. I am sure you could write a macro to do it, but I don't know about that in excel.


You might also be able to use paste special with the transpose check box checked and get it to work that way, although i don't know if it will automatically update if you do that.

Good Luck.

Hayden
 

xapie128

Board Regular
Joined
Aug 26, 2006
Messages
82

ADVERTISEMENT

In all cells in column A, use:
Code:
=OFFSET($C$5,0,ROW()-1)
 

Forum statistics

Threads
1,136,418
Messages
5,675,718
Members
419,584
Latest member
mrh8rr

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
Top