+ Reply to Thread
Results 1 to 19 of 19

Excel doesnt save currency with trailing Zeros

  1. #1
    Registered User
    Join Date
    01-12-2012
    Location
    UK
    MS-Off Ver
    Excel 2010
    Posts
    6

    Excel doesnt save currency with trailing Zeros

    Hi All

    A user in the company I work for raised a strange query with excel that I haven't been able to work out. When she saves an ammount such as £1.00, excel saves this only as a 1

    I realise that this is the same number but when she searches for 1.00 excel doesnt find it, the spreadsheet has thousands of rows and is the same for 1.40 (saved as 1.4).

    Not sure if there is a way round this toi make it easier for my user other than having her search without the zero which is likely to be forgotten.

    Hope this makes sense and thanks in advance

    Chris

  2. #2
    Valued Forum Contributor
    Join Date
    10-26-2008
    Location
    Birmingham, UK
    MS-Off Ver
    All versions up to 2010
    Posts
    1,025

    Re: Excel doesnt save currency with trailing Zeros

    Hi
    Basically Excel does not save trailing zeros because they have no value. So if you are searching for £1.00 all you would need to search for is "1". If you are searching for say "£1.46" then you would search for "1.46".
    Hope this helps.
    Tony
    Last edited by ARGK; 05-13-2013 at 08:10 AM.

  3. #3
    Registered User
    Join Date
    01-12-2012
    Location
    UK
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: Excel doesnt save currency with trailing Zeros

    Hi Tony,

    Thanks for the quick reply. Yeah it displays the number fine but when you look at the value the trailling zeros are gone. I know I could change it to text and force it but the calculations don't work correctly. It's excel 2003 that the user is on but it also happens on my Excel 2010.

    Thanks

    Chris

  4. #4
    Valued Forum Contributor
    Join Date
    10-26-2008
    Location
    Birmingham, UK
    MS-Off Ver
    All versions up to 2010
    Posts
    1,025

    Re: Excel doesnt save currency with trailing Zeros

    Hi Chris

    As I explained it is because the zeros have no value so to store trailing zeros would simply take up disk space where there is no benefit in doing so.
    Can you explain what the actual problem is you are having so I can try and help you further.
    Tony

  5. #5
    Registered User
    Join Date
    01-12-2012
    Location
    UK
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: Excel doesnt save currency with trailing Zeros

    Hi Tony,

    The issue is when our accounts people search for amounts they search for them as displayed on an invoice. so 1.40, 2.00 and they aren't the most computer literate of people to remember not to search for 1.40 but 1.4 instead. . Was hoping to find a way so this would work but I understand the reason behind it not saving the zeros.

    Thanks again for your response

    Chris

  6. #6
    Valued Forum Contributor
    Join Date
    10-26-2008
    Location
    Birmingham, UK
    MS-Off Ver
    All versions up to 2010
    Posts
    1,025

    Re: Excel doesnt save currency with trailing Zeros

    Hi Chris
    :-) Now I understand your request.
    Can they not search for an Invoice Number and then validate the amounts?
    Tony

  7. #7
    Registered User
    Join Date
    01-12-2012
    Location
    UK
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: Excel doesnt save currency with trailing Zeros

    Hi Tony

    I will look into how they use this to see if they can do it another way, like I said it's not something I've come across before, so potentially the way one person uses the spreadsheet compared to another. But would be great to find a way round this.

    Chris

  8. #8
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,468

    Re: Excel doesnt save currency with trailing Zeros

    Try using the Lookin: Values (rather than formula)
    Cheers
    Andy
    www.andypope.info

  9. #9
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,974

    Re: Excel doesnt save currency with trailing Zeros

    hi cmallbones, and welcome to the forum

    as indicated above, excel tries to be as efficient as possible, and really, there is no difference in 1 or 1.0000000000000000000, its the same as if you format a value to fractions...unless you specify 4/16, excel will give you 1/4.

    we often see in the forum, requests to create formulas to cater for user-error/inaccuracy/ineptitude, when what is really required is a small amount of user training - we can never cover all the bases regarding "stupid" stuff users come up with lol. Maybe consider training the users to only enter the minimum value required? put it to them that it will make it easier for them, and save THEM time...its being done for their benefit
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  10. #10
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,974

    Re: Excel doesnt save currency with trailing Zeros

    Andy, if you do a "find" for 1.00, it still wont find it, even if you use values?

  11. #11
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,468

    Re: Excel doesnt save currency with trailing Zeros

    it works for me, see screen shot of Find 1.
    You can see the contents of G5 and the cell address/value in the Find All list.922558.png

  12. #12
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,974

    Re: Excel doesnt save currency with trailing Zeros

    find 1, yes, but not, as the OP suggested, find 1.00 or 1.40

  13. #13
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,468

    Re: Excel doesnt save currency with trailing Zeros

    Although the first image did not show it this does.

    Search for 2.20 finds cell content 2.2922558b.jpg

  14. #14
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,974

    Re: Excel doesnt save currency with trailing Zeros

    interesting.....
    Attached Images Attached Images

  15. #15
    Registered User
    Join Date
    01-28-2013
    Location
    Coventry
    MS-Off Ver
    Excel 2003
    Posts
    30

    Re: Excel doesnt save currency with trailing Zeros

    Could it not be easier to use an AUTOFILTER from Data->Filter->Autofilter ???

  16. #16
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,468

    Re: Excel doesnt save currency with trailing Zeros

    @ FDibbins, try setting the number format of A1 to currency, or Number 2DP

  17. #17
    Registered User
    Join Date
    01-12-2012
    Location
    UK
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: Excel doesnt save currency with trailing Zeros

    Quote Originally Posted by FDibbins View Post
    interesting.....
    This is the same as we are facing, even though 1.00 is the same as 1, excel doesnt find them.

  18. #18
    Registered User
    Join Date
    01-12-2012
    Location
    UK
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: Excel doesnt save currency with trailing Zeros

    Will give that a go, it could be a useful way round it.

  19. #19
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,974

    Re: Excel doesnt save currency with trailing Zeros

    OK that works Andy, thanks

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1