calculating a cell

luxbax12

New Member
Joined
Nov 3, 2005
Messages
46
Hi,
When i add a new dollar amount in the same cell everyday,
is there a way for another cell to keep adding those totals?

Thanks.

example:

A1- 51.00


A5 51.00

Next day

A1-60.00

A5 111.00
 

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).
In another cell enter the formula

=A1+A5

assuming it is just those two cells that you want to total.
 
Upvote 0
everyday i will need to put a new amount into the same cell.
so in another cell i would like for it to keep a running total
of the amounts that were put in each day.

thanks,
 
Upvote 0
you can do this but you need a macro code to do the adding up

do you want it to do it automatically when you enter the value in A1 or to have to run it manually ??
 
Upvote 0
Here is an example of what i'm trying to accomplish if possible.
in cell c4 next to daily booked $ amount, there will be a new amount
entered there everyday.

in cell c9 is a total from the amounts that were entered every day for
this month.

Thanks,
daily advisory report.xls
BCDE
4Daily$booked39,827.75196
5
627,866.03
711,941.72
8
9Monthbooked759,593.92
10
11
12219,152.47
Sheet1
 
Upvote 0
try this

Code:
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
If Target.Row = 4 And Target.Column = 3 Then
x = Range("c4").Value
y = Range("c9").Value
[c9].Value = x + y
Else: Exit Sub
End If
End Sub

to enter the code right click on your sheet tab and select view code, in the big right hand window post the code from above

HTH
 
Upvote 0
Change the first line to

Private Sub Worksheet_Change(ByVal Target As Range)
 
Upvote 0

Forum statistics

Threads
1,214,798
Messages
6,121,636
Members
449,043
Latest member
farhansadik

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