Automate calculations when adding new column of data

holdenmcgroin

New Member
Joined
Jan 18, 2022
Messages
3
Office Version
  1. 365
Platform
  1. Windows
Regularly, I get a excel file with P&L monthly actuals. I create 7-8 columns at the end of the spreadsheet that does calculations based on the data that is provided. Is it possible to create a macro that will calculate the data set when I copy and paste new columns?
 

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.
The macro itself is no big deal.
The problem is, you get a new file without a macro, so where must excel find that macro ?
It has to be a "personal.xlsm" or another open workbook.
 
Upvote 0
The macro itself is no big deal.
The problem is, you get a new file without a macro, so where must excel find that macro ?
It has to be a "personal.xlsm" or another open workbook.
Is it possible to copy and paste the new data set into an existing worksheet that does have macro?
 
Upvote 0
yes, hundreds of examples here on this forum.
The file with your updates, what' the subdirectory and the name ?
Has it 1 worksheet, if not, what's the name ?
Can you show an image or with XL2BB the header and 5 lines of data ?
 
Upvote 0

Forum statistics

Threads
1,224,746
Messages
6,180,705
Members
452,994
Latest member
Janick

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