+ Reply to Thread
Results 1 to 10 of 10

Can't make a x/y chart

  1. #1
    Registered User
    Join Date
    12-17-2020
    Location
    Schweiz
    MS-Off Ver
    365
    Posts
    5

    Angry Can't make a x/y chart

    Hello,

    It should be very easy to make a x/y chart.
    I did it with ease at my work PC, and now at home its just not working:
    HelpExcel.png

    Why is that?
    Attached Files Attached Files
    Last edited by Brom8; 12-17-2020 at 06:47 AM.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    90,805

    Re: Can't make a x/y chart

    Welcome to the forum.

    There are instructions at the top of the page explaining how to attach your sample workbook.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    12-17-2020
    Location
    Schweiz
    MS-Off Ver
    365
    Posts
    5

    Re: Can't make a x/y chart

    the file (3MB) is to big to upload, idk why there are only a few numbers in there..

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    90,805

    Re: Can't make a x/y chart

    Copy the relevant data to a new workbook and upload that as your sample.

  5. #5
    Registered User
    Join Date
    12-17-2020
    Location
    Schweiz
    MS-Off Ver
    365
    Posts
    5

    Re: Can't make a x/y chart

    It might be, that i use '.' for a comma and excel needs a ',' ?
    can I switch this setting? - on my pc from work it did exactly what I intended..

    edit:
    yes it is.

    but if i change the decimal point to a point(.) - instead of a comma(,)

    it still doesn't work - i had to manually reenter every single point to make it work.
    (no the format of the cell stayed the same)

    I cant reenter every decimal point every time(the data is gernerated by my programm)

    Thanks if anyone can help me.
    Last edited by Brom8; 12-17-2020 at 07:02 AM.

  6. #6
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP, 2007, 2024
    Posts
    16,419

    Re: Can't make a x/y chart

    What I immediately see when I open your sample in post #1 is the little green triangle in each cell indicating "number stored as text". Looking closer at your picture in post #1, I notice that your values are all left aligned in the cell (the default setting for text. The default setting for numbers is left aligned). The surface problem seems to be that the numbers are stored as text and not real numbers. The surface solution, then, is to convert the text to real numbers. Strategies here: https://support.microsoft.com/en-us/...rs=en-us&ad=us

    Reading between the lines, though, and I'm not sure that is a good final solution. If this were my project, I would look at where these numbers are coming from and try to understand why they are stored in Excel as text. An artifact of the way they were imported? Perhaps the result of a text manipulation function? Did somebody convert them to text and why? It seems to me that the better solution would be to understand why and how these numbers became text in the first place and try to deal with the issue there.
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  7. #7
    Registered User
    Join Date
    12-17-2020
    Location
    Schweiz
    MS-Off Ver
    365
    Posts
    5

    Re: Can't make a x/y chart

    Thank you, i found it out.

    I imported the data automaticly from a.csv file (i wrote a .net app to generate the data)

    and the import setting were text (because it didnt work properly with decimal)
    because, if you dont sepcify the language for interpreting the numbers, it will choose german in my case.
    (btw. swiss people use . for decimals but speak german.)

    I made two screenshots to prove my point(german and english)

    but i had no idea, that it would affect the result, because i chaged the format to number in my excel file after the importation.
    and the other thing is, that it worked on my other PC with excel from 2013(not the same file but same commands)
    Attached Images Attached Images

  8. #8
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP, 2007, 2024
    Posts
    16,419

    Re: Can't make a x/y chart

    I imported the data automaticly from a.csv file
    How did you import the data? Excel often treats .csv files in different ways depending on the importation process. Some procedures use whatever Excel chooses for default behavior with no possible input by the user. Other strategies (most of them involving the Text Import Wizard) have the ability to specify decimal and thousand separators while importing so you are not restricted to Excel's default behavior. If your import strategy does not give you any control over decimal settings, consider changing strategy to one that will allow you to control this option during import (use a .txt extension instead of .csv or use the import data command rather than file/open or whatever other options your version gives yoiu).

    because, if you dont sepcify the language for interpreting the numbers, it will choose german in my case. (btw. swiss people use . for decimals but speak german.)
    Remember that Excel is not making this choice on its own. Excel defaults to the settings in your OS (assuming you use Windows?). If Excel uses "," as decimal separator by default, that suggests that your system setting is to use comma for decimal separator. One needs to be careful changing global settings, but I would be tempted to look at the configuration in your OS and see if I wanted to change it to how I normally work.

  9. #9
    Registered User
    Join Date
    12-17-2020
    Location
    Schweiz
    MS-Off Ver
    365
    Posts
    5

    Re: Can't make a x/y chart

    Yes your right, i switched my OS settings during these trubles, but at the beginning they were on german(Germany).

    I hope this may help other people in the future not to waste hours like me XD.

    Thank you all for helping, and I think we can close/archive the Thread.

  10. #10
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP, 2007, 2024
    Posts
    16,419

    Re: Can't make a x/y chart

    Glad that helped. You can mark your thread "solved" by selecting the "thread tools" dropdown a the top of the first post and selecting "mark as solved" from that menu.

+ 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] chart not showing proper data.... How do I make a chart
    By ChrisTag1 in forum Excel Charting & Pivots
    Replies: 4
    Last Post: 12-19-2019, 02:54 PM
  2. Replies: 0
    Last Post: 07-13-2019, 01:55 PM
  3. Can you make a "smart" scatter chart or histogram chart?
    By dianaCatz in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 05-07-2019, 03:38 PM
  4. Line chart too wide (52 weeks) How to make it the line chart automatically?
    By sovietchild in forum Excel Charting & Pivots
    Replies: 7
    Last Post: 06-26-2016, 08:20 PM
  5. How do I double click a bar in a bar chart and make another bar chart?
    By bishoposiris in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-08-2016, 11:43 AM
  6. Replies: 3
    Last Post: 05-05-2015, 12:43 PM
  7. Replies: 2
    Last Post: 08-30-2012, 07:12 AM

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