ipbr21054
Well-known Member
- Joined
- Nov 16, 2010
- Messages
- 5,832
- Office Version
- 2007
- Platform
- Windows
Hi,
I am trying to write a small basic code for fuel allowance of 45p per mile.
Currently i use this which works fine & correct.
But i now wish to add the cell value at E34
So i have written,
The value comes back as £256 but it should be £134.65
222 x 0.45P = £99.90
77 x 0.45P = £34.65
...................................
299 x 0.45p = £134.55
How did i write it incorrect,please advise thanks
I am trying to write a small basic code for fuel allowance of 45p per mile.
Currently i use this which works fine & correct.
Code:
=E18*0.45
But i now wish to add the cell value at E34
So i have written,
Code:
=E18+E34*0.45
The value comes back as £256 but it should be £134.65
222 x 0.45P = £99.90
77 x 0.45P = £34.65
...................................
299 x 0.45p = £134.55
How did i write it incorrect,please advise thanks