+ Reply to Thread
Results 1 to 7 of 7

decimal formatting issues

  1. #1
    Registered User
    Join Date
    09-18-2014
    Location
    Edmonton
    MS-Off Ver
    2013
    Posts
    3

    decimal formatting issues

    100159x…….4
    019950x…….…4
    100014x…….…4
    620004x……..1
    620010x……...…2
    100000x……...…5

    Hi guys/girls I have a weird issue. my excel seems to be grouping decimals into threes or ones randomly(see above examples). So what i am doing is pasting from Autocad lists that look like the above and then my spreadsheet separates the article number from the quantity then maps out the proper number that is meant to be inserted into a software program i made. Which would look like this below, same format but different numbers

    220010x........5

    however for some reason my Excel is now grouping the decimals strangely and my sql database doesnt recognize them as a VARCHAR. is there a solution to this?

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: decimal formatting issues

    Hi,

    I'm not clear exactly what you are asking for. Can you upload an example workbook with a Before and After situation, and explain, if it's not blindingly obvious how you arrive at the results you show.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    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,933

    Re: decimal formatting issues

    Hi, welcome to the forum

    Im having a hard time visualising what you have there could you upload a small sample workbook, showing what you have and what you want?
    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

  4. #4
    Registered User
    Join Date
    09-18-2014
    Location
    Edmonton
    MS-Off Ver
    2013
    Posts
    3

    Re: decimal formatting issues

    bcount converter.xlsxi don,t know if that worked i've never uploaded a post to this site before. but if you go to sheet one and select any of the cells that are yellow you will see that the decimals are gouped in threes. In the formula to the left i just created it with
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  5. #5
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,829

    Re: decimal formatting issues

    My debugging steps:

    1) Use LEN() function on yellow cell to count characters -- there appeared to be too few characters.
    2) Delete cell references from G2 to get only the decimals without the concatenation. =LEN() still suggests too few characters
    3) Use =CODE() function to determine exactly which character is the last character in G2 -- get code 133
    4) enter a single "." in a cell and use =CODE() function to get character code for a period -- got 46. "." characters in G2 are not the same as a period
    5) Go to windows character map tool and try to figure out what character is a code 133. It looks like your formula is using the "ellipsis" character rather than the dot (.) character.

    Not sure why -- whether the dots were originally entered as ellipses or if Excel automatically substituted an ellipsis character for three dots (check autocorrect options).
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  6. #6
    Registered User
    Join Date
    09-18-2014
    Location
    Edmonton
    MS-Off Ver
    2013
    Posts
    3

    Re: decimal formatting issues

    Thanks that was it

    Quote Originally Posted by MrShorty View Post
    My debugging steps:

    1) Use LEN() function on yellow cell to count characters -- there appeared to be too few characters.
    2) Delete cell references from G2 to get only the decimals without the concatenation. =LEN() still suggests too few characters
    3) Use =CODE() function to determine exactly which character is the last character in G2 -- get code 133
    4) enter a single "." in a cell and use =CODE() function to get character code for a period -- got 46. "." characters in G2 are not the same as a period
    5) Go to windows character map tool and try to figure out what character is a code 133. It looks like your formula is using the "ellipsis" character rather than the dot (.) character.

    Not sure why -- whether the dots were originally entered as ellipses or if Excel automatically substituted an ellipsis character for three dots (check autocorrect options).

  7. #7
    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,933

    Re: decimal formatting issues

    Based on your last post it seems that you are satisfied with the solution(s) you've received but you haven't marked your thread as SOLVED. If your problem has not been solved you can use Thread Tools (located above your first post) and choose "Mark this thread as unsolved".
    Thanks.

    Also, as a relatively new member of the forum, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of those who helped.

+ 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. Decimal issues while multiplying
    By abduljaleel.mca in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-02-2014, 02:41 PM
  2. i have code which replaces fraction to decimal but i have some issues in that
    By baig123 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 06-21-2014, 06:27 AM
  3. formatting issues
    By tnhighc in forum Excel General
    Replies: 2
    Last Post: 12-13-2012, 11:42 AM
  4. Decimal Formatting in Windows English vs European Formatting
    By Drummer361 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-07-2006, 09:50 AM
  5. Decimal Issues
    By Danny in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-24-2006, 01:45 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