Add value to cell based on another cell

tomstanley91

New Member
Joined
Mar 29, 2022
Messages
3
Office Version
  1. 365
Hi all,

Great forum! Lots of useful advice on here.

I‘m looking for some VBA code to add the value of a cell to another cell.

Essentially, I want to add the output value of cell A4 onto cell C90. So, say for example A4 contains 10, I’m looking to add +10 to C90.

Cell C90 already has numbers in it, so I’m looking to just add the value of A4 onto the end of the end of the existing numbers - keeping what’s in there already (I.e. so C90 will look something like =15+10+10).

One thing to bear in mind is that I need the value of C90 to show the adding of A4.

Is this possible?

Many thanks

Tom
 

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).
What actual is in C90:

before: a formula (=15+10) = 25, then after: (=15+10+10) = 35

or

before: text string "=15+10", then after: "=15+10+10"

???
 
Upvote 0
Hi there,

Currently C90 contains: =15+10
And after i’d like it to be =15+10+10

(Based on Cell A4 containing 10).
 
Upvote 0

Forum statistics

Threads
1,214,625
Messages
6,120,598
Members
448,973
Latest member
ksonnia

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