copy formula horizontally

vipasha

New Member
Joined
Aug 28, 2014
Messages
1
Hello,
I am stuck in copying formula horizontally, here what I want to do
This is base file
[TABLE="width: 500"]
<tbody>[TR]
[TD]year 2015[/TD]
[TD]tast1[/TD]
[TD]tast2[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]10000[/TD]
[TD].2[/TD]
[TD].6[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]50000[/TD]
[TD].9[/TD]
[TD].1[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]40000[/TD]
[TD].5[/TD]
[TD].5[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]

I want to create a file like this
[TABLE="width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]dept1[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]tast1[/TD]
[TD]sumproduct of year 2015 and task1[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]task2[/TD]
[TD]sumproduct of year 2015 and task 2[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]

So here year range will remain constant but column will change. I am not able to do it .
Please help me.

Regards,
 

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
if you put $ to the left of the column that you do not want to change, and leave the changing columns as is, it should fix the issue.

IE. IF you do not want column A to change, but you want column B to move right.
=column($A:$A),column(B:B).

hope that helps.
 
Upvote 0

Forum statistics

Threads
1,225,481
Messages
6,185,239
Members
453,283
Latest member
Shortm88

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