+ Reply to Thread
Results 1 to 20 of 20

Number format problem

  1. #1
    Registered User
    Join Date
    01-13-2013
    Location
    Romania
    MS-Off Ver
    Excel 2010
    Posts
    9

    Number format problem

    Hi. I attached an excel spreadsheet made for calculation purposes. I import data from a software in Excel through DDE. The problem is at page 2(Symbols), the data is imported in the format 0.XXXX , and I cannot make any calculation with it as it gives #VALUE! error. I tried custom formatting without success. Can anyone help me convert that numbers in the form X,XXXX ? Thank you!
    Attached Files Attached Files

  2. #2
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Number format problem

    try find replace . with ,
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  3. #3
    Registered User
    Join Date
    02-08-2013
    Location
    uk
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Number format problem

    Hello Friends,

    I get some problem with vlookup formula in excel for access proper result. Can you solve my problem?

  4. #4
    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,938

    Re: Number format problem

    Hi Phil1 and welcome to the forum

    Unfortunately your post does not comply with Rule 2 of our Forum RULES. Do not post a question in the thread of another member -- start your own thread.

    If you feel an existing thread is particularly relevant to your need, provide a link to the other thread in your new thread.

    Old threads are often only monitored by the original participants. New threads not only open you up to all possible participants again, they typically get faster response, too.

    I would also suggest that when you post your new thread, you give more info/details than you have here, and also consider uploading a sample workbook, showing what data you are working with, a few examples of what your expected outcome would be, and how you would arrive at that (remove any confidential info if necessary).
    To attach a file to your post,
    click advanced (next to quick post),
    scroll down until you see "manage file",
    click that and select "add files" (top right corner).
    click "select files" find your file, click "open" click "upload" click 'done" bottom right. click "submit reply"

    Once the upload is completed the file name will appear below the input boxes in this window.
    You can then close the window to return to the new post screen.
    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

  5. #5
    Registered User
    Join Date
    02-08-2013
    Location
    uk
    MS-Off Ver
    Excel 2007
    Posts
    3

    Post Re: Number format problem

    Hi FDibbins,

    thanks for point out my mistake.

  6. #6
    Registered User
    Join Date
    01-13-2013
    Location
    Romania
    MS-Off Ver
    Excel 2010
    Posts
    9

    Re: Number format problem

    I'm not sure what you're saying, the numbers change constantly.

  7. #7
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Number format problem

    id just change my decimal settings in the computers regional options to .

  8. #8
    Registered User
    Join Date
    01-13-2013
    Location
    Romania
    MS-Off Ver
    Excel 2010
    Posts
    9

    Re: Number format problem

    It doesn't work. The problem is in Excel, as the data is imported in a format that apparently doesn't allow any calculation with it. As the numbers with 1,XXXX allow that, I suppose there is a way to do it.

  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,938

    Re: Number format problem

    In the file you uploaded, where are these numbers?

  10. #10
    Registered User
    Join Date
    01-13-2013
    Location
    Romania
    MS-Off Ver
    Excel 2010
    Posts
    9

    Re: Number format problem

    Quote Originally Posted by FDibbins View Post
    In the file you uploaded, where are these numbers?
    The numbers are in the Symbols page, the ones in the form 0.XXXX

  11. #11
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Number format problem

    Select col F and click the left-align button TWICE. The values that are (now) left justified are text.

    Enter 0 in a cell, copy it, select the data in col F, Paste Special, Add.

    By changing away from Excel's default horizontal alignment, you lose a lot of information. Bad idea.
    Last edited by shg; 02-11-2013 at 01:11 PM.
    Entia non sunt multiplicanda sine necessitate

  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,938

    Re: Number format problem

    Ok try this...

    in H, i entered this, and copied it down...

    =F3*1

    Your cells are linked to, I presume, the source, and are on the if you look at the cell, it has ='MT4'|BID!EURUSD in it. That is normally a link to another worksheet, Im not sure what it means in your case. The values without a decimal are numbers, but the numbers showing a decimal are actually text that looks like a number

  13. #13
    Registered User
    Join Date
    01-13-2013
    Location
    Romania
    MS-Off Ver
    Excel 2010
    Posts
    9

    Re: Number format problem

    Quote Originally Posted by FDibbins View Post
    Ok try this...

    in H, i entered this, and copied it down...

    =F3*1

    Your cells are linked to, I presume, the source, and are on the if you look at the cell, it has ='MT4'|BID!EURUSD in it. That is normally a link to another worksheet, Im not sure what it means in your case. The values without a decimal are numbers, but the numbers showing a decimal are actually text that looks like a number
    So, is there a way to change that text into a number? The formula links to a trading software, nothing can be changed there. It must be solved in Excel.

  14. #14
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Number format problem

    So, is there a way to change that text into a number?
    Post #11??

  15. #15
    Registered User
    Join Date
    01-13-2013
    Location
    Romania
    MS-Off Ver
    Excel 2010
    Posts
    9

    Re: Number format problem

    Quote Originally Posted by shg View Post
    Select col F and click the left-align button TWICE. The values that are (now) left justified are text.

    Enter 0 in a cell, copy it, select the data in col F, Paste Special, Add.

    By changing away from Excel's default horizontal alignment, you lose a lot of information. Bad idea.
    Hi, I just did what you said, still not working. I don't know if you tried it yourself and solved the problem, but if you did send me the file please. It keeps giving me the #VALUE! error when I try to make a calculation with it.
    Last edited by tigorin; 02-11-2013 at 05:09 PM.

  16. #16
    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,938

    Re: Number format problem

    If you use either shg's suggestion or mine (mine pretty much uses a helper column, shg's does not), they both convert whatever is in that cell to a value

  17. #17
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Number format problem

    I don't know if you tried it yourself and solved the problem
    I did, and it did.

    Please Login or Register  to view this content.

  18. #18
    Registered User
    Join Date
    01-13-2013
    Location
    Romania
    MS-Off Ver
    Excel 2010
    Posts
    9

    Re: Number format problem

    That's what I did, here I attached the file. If you can look at it and tell me what's wrong would be wonderful.
    Attached Files Attached Files

  19. #19
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Number format problem

    Press Ctrl+Alt+F9 to recalculate the sheet.

  20. #20
    Registered User
    Join Date
    01-13-2013
    Location
    Romania
    MS-Off Ver
    Excel 2010
    Posts
    9

    Re: Number format problem

    I did, nothing happens. It's strange that your works and mine doesn't.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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