Hello all,
I got this little bit of code I am trying to get to work in my Excel 365 spreadsheet.
Basically there is a Value in F20 from which I want to subtract the total of the Values in B32+B35+B41+B46 and then stick it in HX28. HX27 gets a value from elsewhere. So HZ27 plus the Remainder goes into HX28. And some informative text goes in HW28.
But it no workie :) Can some guru please help this simple homeowner trying to do some budget work in excel and show me how to do this simply mathematical calculation.
I got this little bit of code I am trying to get to work in my Excel 365 spreadsheet.
Code:
' Put remainder in HZ27
Remainder = Range("F20").Value - (Range("B32").Value + Range("B35").Value + Range("B41").Value + Range("B46").Value)
LeftOver = Range("HZ27").Value + Remainder
Range("HW28").Value = "Extra Distribution."
Range("HX28").Value = LeftOver
But it no workie :) Can some guru please help this simple homeowner trying to do some budget work in excel and show me how to do this simply mathematical calculation.