Macro to move an existing formula down one row

ranvan

New Member
Joined
Sep 8, 2011
Messages
11
Hello,

I am looking to create a macros that will automatically move a formula down one row. My current formula is:

=SUM('Chart Data - CBV'!D31:D36)

I want it to become:

=SUM('Chart Data - CBV'!D32:D37)

Any suggestions?

Thank you
Ranvan
 

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)
Greetings ranvan,

Here's a suggestion. Add a row to the top of the worksheet Chart Data - CBV. That will change the formula. Assign the formula to a variable. Remove the new row.
 
Upvote 0
Thank you, not quite sure how to get that done. Problem is also, that this data is linked to various items within my workbook. All my charts are based on this worksheet. The Chart Data worksheet is a link to the actual Summary page, as my Chart Data page is used to hind unwanted rows in my charts. Would adding a row then deleting it affect the rest of my workbook? This workbook is all automated with buttons linking to macros etc.
 
Upvote 0
Hello,

Does anyone know how to do this? I want a macro to automate this, as I have multiple locations within my workbook that I need to move my formula down one row each month. It would save a lot of time not to mention forgetting one along the way.

Thank you!!
 
Upvote 0

Forum statistics

Threads
1,224,587
Messages
6,179,733
Members
452,939
Latest member
WCrawford

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