Declamatory
Active Member
- Joined
- Nov 6, 2014
- Messages
- 319
Hi Folks,
I am creating a file for import to a client's system. One of the values is an amount. The cell has to be 18 characters long with no decimal points (the pence or cents will be the last two characters). If the amount in Sheet1 cell A1 was £19.99 then the cell B2 in sheet 2 would look like 000000000000001999.
How can I get the leading zeros in front of the amount bearing in mind that the amount could be anything from £0.00 to £10,000,000,000.00?
Does anyone have any ideas?
Thanks,
I am creating a file for import to a client's system. One of the values is an amount. The cell has to be 18 characters long with no decimal points (the pence or cents will be the last two characters). If the amount in Sheet1 cell A1 was £19.99 then the cell B2 in sheet 2 would look like 000000000000001999.
How can I get the leading zeros in front of the amount bearing in mind that the amount could be anything from £0.00 to £10,000,000,000.00?
Does anyone have any ideas?
Thanks,