Code for calculation in cell where figures are entered

ipbr21054

Well-known Member
Joined
Nov 16, 2010
Messages
5,226
Office Version
  1. 2007
Platform
  1. Windows
Hi,
I need some advice please as not being able to get my head around this simple issue.

Column G = Column A + Column H

So i the user would enter a value in the cell at Column A & also enter a value in the cell at Column H, the combined total then would be shown in the cell at Column G
In i previous post for another issue but similair to this when a value is entered in the cell the Formaula etc is removed.

This is the part im stuck with.

Many thanks
 
The user would enter a value in cell A1 and also cell G1
The two values when added together would be then shown in cell H1

The user would then continue with row 2 so A2 & G2 added & shown in H2

This continues down the page to row 30
 
Upvote 0

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)
Then just type the formula =A1+G1 in H1 and drag that downward.
I thought you were looking for something exotic.
 
Upvote 0
Solution
Many thanks,theres no suprise to say when i was doing it that it didnt stay in the cell.
Copying your code & putting into the cell / dragging down worked.

Have a nice day
 
Upvote 0

Forum statistics

Threads
1,214,806
Messages
6,121,667
Members
449,045
Latest member
Marcus05

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