Thread: Excell Help
View Single Post
  #4  
Old 14th January 2012, 12:45 PM
Shaun Shaun is offline
Member
 
Join Date: Jan 1970
Location: Western Australia
Posts: 3,457
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, 595 views)
Reply With Quote