Copy same formula into other columns

Vishal2050

New Member
Joined
Sep 27, 2017
Messages
10
<article>
Greetings!!

I am having formulas into columns but those formulas are not freeze with "$"

I have to copy the same formula from those columns to other columns. But while doing so cells reference get changed as those are not freeze with "$".

I do not want to freeze with "$" but want to copy the exact formula into other column

Any suggestion

Regards
Neeraj Kumar Agarwal​
</article>


 

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.
Hi Neeraj,

May I ask why you would not want to freeze the cell references? as this will achieve exactly the same thing?

You could always remove them after with a Find "$" and Replace with "".

Cheers
JB
 
Upvote 0
Well yes, there are a few ways. the tedious method: instead of the cell, copy the formula out of the formula bar and paste it.

Or this one-liner of vba code will do it:

Code:
Sub CopyIdenticalFormula

    Range("B1:B100").value = Range("A1:A100").formula

End Sub

Cheers
JB
 
Upvote 0

Forum statistics

Threads
1,214,912
Messages
6,122,200
Members
449,072
Latest member
DW Draft

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