+ Reply to Thread
Results 1 to 10 of 10

Want to change chart data range from Kg to stones

  1. #1
    Registered User
    Join Date
    05-17-2019
    Location
    Fife
    MS-Off Ver
    2016
    Posts
    5

    Want to change chart data range from Kg to stones

    The bar chart looks good as it is showing Kg data from column F, but I would like the vertical axis to display stones In half stone increments ie. 11, 11.5, 12.
    If I use the data from column C (stones) it is close to what I want but the graph only jumps from one stone to the next with no points inbetween.
    Could I use the data from column E (total pounds) then use a formula to make the axis display as stones and half stones instead of pounds?
    Attached Files Attached Files
    Last edited by AliGW; 05-18-2019 at 02:21 AM.

  2. #2
    Valued Forum Contributor ratcat's Avatar
    Join Date
    03-07-2008
    Location
    Rural NSW, Australia
    MS-Off Ver
    Vista 2007
    Posts
    1,106

    Re: Want to change chart data range Beginner

    G'day and welcome to the forum,

    To get the vertical axis to display in increments of 0.5 in either kg or stones follow the next steps.


    1. Double check on the vertical axis number on the chart itself. After the double click a option menu will appear on the right hand side of the screen

    2. Click on the icon [picture] that looks like a bar chart. (Located below the words 'Text Options').

    3. Then click on the triangle shape (arrow) that next to the words 'Axis Options'

    4. Navigate down the menu and under the 'Units' section change the 'Major' field to 0.5

    5. Press the Tab button to get out of that field box to apply the changes that was made.
    Have I made you happy ??? If yes, please make me happy by pressing the http://www.excelforum.com/images/buttons/reputation-40b.png Add Reputation button in my post.
    Please don't forget to do the same to other contributors of this forum.

    Thanks
    I don't void confusion, I create it

  3. #3
    Registered User
    Join Date
    05-17-2019
    Location
    Fife
    MS-Off Ver
    2016
    Posts
    5

    Re: Want to change chart data range Beginner

    Thanks ratcat
    I've tried doing that already and I know that works with kg, but I'm not able to get the vertical axis to use stones other than selecting the data as column C as I mentioned before.
    Then the chart jumps from one stone to the next as column C only uses stones and not pounds.
    I would like the chart to show the same detailed changes inbetween each stone but to have half stones as the division down the side.
    Column G has the detail I need (stones, pounds and points of a pound) but if I select column G as the data for the chart it just shows a flat line along the bottom of the chart because column g uses a formula and is not just numbers.
    Last edited by johnnypat; 05-18-2019 at 01:20 AM.

  4. #4
    Registered User
    Join Date
    05-17-2019
    Location
    Fife
    MS-Off Ver
    2016
    Posts
    5

    Re: Want to change chart data range from Kg to stones

    I'm guessing the easiest way to do this is to use column E (total pounds) as the selected data range then somehow change the axis to display half stone increments.
    Is that possible in axis options/number/format code?
    Last edited by johnnypat; 05-18-2019 at 01:36 AM.

  5. #5
    Valued Forum Contributor ratcat's Avatar
    Join Date
    03-07-2008
    Location
    Rural NSW, Australia
    MS-Off Ver
    Vista 2007
    Posts
    1,106

    Re: Want to change chart data range from Kg to stones

    ahh misunderstood.

    Try this in G2 and copy drag down or another column of your choice then point the chart to that column.

    Please Login or Register  to view this content.

  6. #6
    Registered User
    Join Date
    05-17-2019
    Location
    Fife
    MS-Off Ver
    2016
    Posts
    5

    Re: Want to change chart data range from Kg to stones

    That's very close to what I'm after, but I researched how to input pounds, stones and points of a pound for a while, that's why I'm using the concatenate formula in column G.
    Using your formula 13 stone 10.5 pounds (closer to 14 stone) shows as 13.105 stones (closer to 13 stone).

    I've tried adding a new column (H) and used your formula so your numbers show right next to column G stones, pounds and points of pounds and you can see the difference.
    Last edited by johnnypat; 05-18-2019 at 01:58 AM.

  7. #7
    Valued Forum Contributor ratcat's Avatar
    Join Date
    03-07-2008
    Location
    Rural NSW, Australia
    MS-Off Ver
    Vista 2007
    Posts
    1,106

    Re: Want to change chart data range from Kg to stones

    Sorry misunderstood again. I live the metric world.

    Try this

    Please Login or Register  to view this content.
    Edit: Make sure that the cell is to two decimal places.

  8. #8
    Registered User
    Join Date
    05-17-2019
    Location
    Fife
    MS-Off Ver
    2016
    Posts
    5

    Re: Want to change chart data range from Kg to stones

    I think that's it, it all looks ok on the chart.
    I first tried axis options/units/major 0.5 but it showed as 12, 12, 13, 13, 14, 14.
    But I sussed I had to add 1 decimal place in the number section below.

    Thanks for that.

  9. #9
    Valued Forum Contributor ratcat's Avatar
    Join Date
    03-07-2008
    Location
    Rural NSW, Australia
    MS-Off Ver
    Vista 2007
    Posts
    1,106

    Re: (SOLVED) Want to change chart data range from Kg to stones

    Or if you like to precise because the last formula I gave you will display 12 stone 7 pounds as 12.5

    Please Login or Register  to view this content.

    The IFERROR is to help with the zero data entries.

  10. #10
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Ipswich, England
    MS-Off Ver
    Excel 2016 (Win 10 - Work) & 365 Subscription (Win 10 - Home)
    Posts
    26,290

    Re: (SOLVED) Want to change chart data range from Kg to stones

    To mark a thread as solved: select Thread Tools from the menu link above and mark this thread as SOLVED. You should not edit the thread title for this. I have amended it for you this time.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!

    STOP PRESS: Forum Rules Updated September 2018! Please read them here.
    Are you new to Power Query and don't know what to do with the code you've been given? Have a look here.
    Don't forget to say "thank you" to those who have helped you in your thread. If you wish, you can also reward them by clicking on their reputation star bottom left.

+ 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