+ Reply to Thread
Results 1 to 7 of 7

Number format

  1. #1
    Forum Contributor
    Join Date
    11-24-2012
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    225

    Number format

    Dear Excel Expert

    I have found that these number formats have some issues. As values come back as #VALUE! even they are numeric. Would you be able to help me?

    Also I would like to add UK for alphanumeric code as shown in D9 column. Is there any way to assist to provide a formual that if it is alpha numeric value, it will be UK&desired cell.

    Thank you very much for continous help.

    Regards
    Shams
    Attached Files Attached Files

  2. #2
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Number format

    Hi,

    Interesting. I ran a quick test and the ASCII code for the character at the end of the strings in A2 and B2 which is causing you problems (and which you can't "see") is 8203 (!).

    Neither TRIM() nor CLEAN() will remove this character. If you have many like this, it may be best to look for a VBA code to clean up your data. If it's just a few, then this formula will remove that unwanted character:

    =0+LEFT(A2,LEN(A2)-1)

    Regards
    Click * below if this answer helped

    Advanced Excel Techniques: http://excelxor.com/

  3. #3
    Forum Guru JosephP's Avatar
    Join Date
    03-27-2012
    Location
    Ut
    MS-Off Ver
    2003/10
    Posts
    7,328

    Re: Number format

    you only need
    Please Login or Register  to view this content.
    Josie

    if at first you don't succeed try doing it the way your wife told you to

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

    Re: Number format

    Using code to create UDF (user defined function)

    =IFERROR(udfvalue(A2)-udfvalue(B2),"UK")

    Please Login or Register  to view this content.
    Or you could adapt the code to replace values.
    Cheers
    Andy
    www.andypope.info

  5. #5
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,466

    Re: Number format

    Formula solution:
    Please Login or Register  to view this content.
    Quang PT

  6. #6
    Forum Contributor
    Join Date
    11-24-2012
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    225

    Re: Number format

    Dear all

    I really really appreciate all of your time and effort in this regards. I can express how helpful all of you are.

    God will bless you.

    Regards
    Shams

  7. #7
    Forum Contributor
    Join Date
    11-24-2012
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    225

    Re: Number format

    Hi Joseph

    Thank you very much. However it became very complicated for me to understand.

    Regards
    Shams

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Set local number format from Dutch format Number
    By JimmyA in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-23-2012, 07:40 AM
  2. How to change a - number format to a positive number format ?
    By leanne2011 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-25-2011, 10:14 AM
  3. Replies: 1
    Last Post: 05-18-2006, 11:45 PM
  4. Replies: 2
    Last Post: 11-11-2005, 09:05 AM
  5. Number format based on number format of another cell in another workbook
    By Rob in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 01-09-2005, 01:06 PM

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