Duplicate a change in formula to other rows

Dredug

New Member
Joined
Nov 5, 2024
Messages
3
Office Version
  1. 365
Platform
  1. MacOS
In row 8, the formula is =A8+DL8+L8
In row 10, the formula is =A10+D10+L10
In row 14, the formula is =A14+D14+L14
In row 19, the formula is =A19+D19+L19


If I change the formula in Row 8 to =A8+DL8+L8+N8 how can I automatically update the formula in rows 10, 14 and 19 to add row N.

Thank you.
 

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)
Welcome to the Board!

Copy the formula that you just updated in row 8 to those other 3 rows.

If you are looking for some sort of automated solution, you would probably need to use VBA.
 
Upvote 0
Welcome to the Board!

Copy the formula that you just updated in row 8 to those other 3 rows.

If you are looking for some sort of automated solution, you would probably need to use VBA.
Thanks, Joe, I was looking for an automated solution as multiple rows require updating daily. I"m not familiar with VBA. Kind regards,
 
Upvote 0
You did not mention what column this formula is in.
Let's say that it is in column S.

Then all you would have to do it update the formula in row 8 (cell S8) and run this little macro:
VBA Code:
Sub MyCopyRows()

'   Copy formula from cell S8 to S10, S14, and S19
    Range("S8").Copy Range("S10")
    Range("S8").Copy Range("S14")
    Range("S8").Copy Range("S19")
   
End Sub
You can obviously adjust/expand it out as needed.
 
Upvote 0
You did not mention what column this formula is in.
Let's say that it is in column S.

Then all you would have to do it update the formula in row 8 (cell S8) and run this little macro:
VBA Code:
Sub MyCopyRows()

'   Copy formula from cell S8 to S10, S14, and S19
    Range("S8").Copy Range("S10")
    Range("S8").Copy Range("S14")
    Range("S8").Copy Range("S19")
  
End Sub
You can obviously adjust/expand it out as needed.
That worked a treat Joe, thanks so much. What a wonderful resource this is. Kind regards,
 
Upvote 0
You are welcome!
Glad we were able to help!
 
Upvote 0

Forum statistics

Threads
1,223,941
Messages
6,175,537
Members
452,652
Latest member
eduedu

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