Thread: Excell Help
View Single Post
  #4  
Old 14th January 2012, 01:45 PM
Shaun Shaun is offline
Member
 
Join Date: Jan 1970
Location: Western Australia
Posts: 3,456
Default

Not sure about a formula but here is a macro that will do it
Code:
Sub Calculate() Sheets("Sheet1").Range("B3").Value = Sheets("Sheet1").Range("B2").Value End Sub Sub Reset() Sheets("Sheet1").Range("B1").Value = 0 Sheets("Sheet1").Range("B3").Value = 0 Sheets("Sheet1").Range("B3").Value = Sheets("Sheet1").Range("B2").Value End Sub


I have included a sheet so you can see how it works, i also included a reset code.

There is some code in cell B2 formatted to white so it is invisible.
Attached Files
File Type: xlsm Calculator.xlsm (18.5 KB, 531 views)
Reply With Quote