How to apply formula to a range of cells that already have value in them?

yichuansancun

Board Regular
Joined
Feb 7, 2011
Messages
123
Hi -

I have a spread sheet in which each cell already has a value. The values are numbers. After inserting a new column with numbers, I need to apply formula to each cell so that each cell's value will the existing value times the corresponding number in the new column. Is there a way I can do this in a more efficient way instead of going into each cell manually type "=" and "*" formula? Past special won't work because I need the formula to be in the each cell.

Thanks in advance.

Perri
moz-screenshot-5.png
 

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes
I'd think the easiest way via formula would be to make a new sheet and use a function like:

=OriginalSheet!$B2*OriginalSheet!C2

and copy and paste as necessary. The only other option would be to use some sort of vba and go cell by cell taking the existing formula, putting it in parenthases, and adding *$B2 afterward (where 2 is the variable row number).
 
Upvote 0
Thanks, but it is a huge spreadsheet, if I use a third column for each existing column, it will be very messy :-(

You could keep the columns hidden that contain the existing numbers.

It sounds to me that a VBA solution would probably be better in that it could avoid inserting new columns and formulas, copying/pasting, etc.
 
Upvote 0

Forum statistics

Threads
1,224,597
Messages
6,179,813
Members
452,945
Latest member
Bib195

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