montecarlo2012
Well-known Member
- Joined
- Jan 26, 2011
- Messages
- 986
- Office Version
- 2010
- Platform
- Windows
Hi, I am trying to make better, so instead of
I need a hand here.
Thanks
VBA Code:
A = Range("B2").Value
B = Range("B3").Value
C = Range("B4").Value
E = Range("B5").Value
F = Range("B6").Value
G = WorksheetFunction.RoundUp(Abs(A + (1 + (B / C) * (E - F)) / 2), 0)
Range("B2").Value = G
I am trying to use this
Cells(2, 4).value = "=worksheetFunction.RoundUp(Abs(Cells(2, 2).Value + (1 + (Cells(3, 2).Value / (Cells(4, 2).Value * (Cells(5, 2).Value - Cells(6, 2).Value) / 2)))), 0)"
Thanks