+ Reply to Thread
Results 1 to 13 of 13

broken column: how to apply with 2 data sets on X-axis?

  1. #1
    Registered User
    Join Date
    01-26-2017
    Location
    virginia
    MS-Off Ver
    2013
    Posts
    6

    Exclamation broken column: how to apply with 2 data sets on X-axis?

    Greetings from Virginia,

    I'm currently working on my doctorate thesis due next week. I managed to make a broken column but I’m in a real bind now! I’m working with graph that has two different data sets of time across the X-axis. I can make a broken column but I can only do so separate from the other data and I need to have both on the same x-axis. I’ve tried a number of things. I’d be very grateful if you might have any ideas on how to resolve this.
    Attached Files Attached Files

  2. #2
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,920

    Re: broken column: how to apply with 2 data sets on X-axis?

    Which two X-Axis do you have to combine and on what chart?
    One spreadsheet to rule them all. One spreadsheet to find them. One spreadsheet to bring them all and at corporate, bind them.

    A picture is worth a thousand words, but a sample spreadsheet is more likely to be worked on.

  3. #3
    Registered User
    Join Date
    01-26-2017
    Location
    virginia
    MS-Off Ver
    2013
    Posts
    6

    Re: broken column: how to apply with 2 data sets on X-axis?

    Hi dflak,

    Thank you so much for your response!

    I am working on the first three (OP, 10P, and 50P) column charts in the excel attachment. The outlier - citric s - for the first 24hrs. is what I am trying to
    break since it is much larger than the rest. I was able to create a chart with the broken citric s column using the 24 hr. data set. However, I don't know how
    to combine the 24hr. columns (including the citric s broken column) in one chart with the 120hr. columns, so that they are both side by side. Essentially, I need
    to make a chart exactly like the first three that I already have, only thing different would be the broken column of citric s in the first 24hr. data set.
    Hopefully my explanations make sense. Please let me know if anything else is unclear. And again, can't thank you enough for looking into it!

    Best regards,

    Jerry

  4. #4
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,920

    Re: broken column: how to apply with 2 data sets on X-axis?

    I'm still a bit fuzzy on what you want to do, but it sounds like this: http://peltiertech.com/broken-y-axis-in-excel-chart/.

  5. #5
    Registered User
    Join Date
    01-26-2017
    Location
    virginia
    MS-Off Ver
    2013
    Posts
    6

    Re: broken column: how to apply with 2 data sets on X-axis?

    Yes! The second example of the broken axis is exactly how I want my columns.
    But like it says, it’s cumbersome to create and nearly impossible to maintain.
    The panel chart might be an alternative, but I haven't been able to do that either.

  6. #6
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,920

    Re: broken column: how to apply with 2 data sets on X-axis?

    Here's one way of doing it: use two charts.

    Columns A:B have the original data.

    Cell F1 has the formula: =MAX(B2:B6). This gets the maximum value.

    Cell F2 has the formula: =MAX(IF(B2:B6=F1,FALSE,B2:B6)) entered as an array formula. This gets the next highest maximum value.

    Column C has the formula: =IF(B2<>$F$1,B2,$F$2) - this formula "caps" all the bars at the next lowest maximum value.

    Column D has the formula: =IF(B2=$F$1,$F$1,NA()) - this formula plots only the maximum value.
    Attached Files Attached Files

  7. #7
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,920

    Re: broken column: how to apply with 2 data sets on X-axis?

    I just did some more playing and I like this version better. The top chart shows the actual comparison. The bottom chart shows the detail of the remainders.
    Attached Files Attached Files

  8. #8
    Registered User
    Join Date
    01-26-2017
    Location
    virginia
    MS-Off Ver
    2013
    Posts
    6

    Re: broken column: how to apply with 2 data sets on X-axis?

    Hi dflak!

    I've tried working with what you've done but I'm still running into the same problem I had with the broken column.. Because the data I am working with is composed of two sets: 24hrs. and 120hrs., I need them both on the same X-axis. But I can only get this method, as well as the method with the broken column, to work if there is only one set of data. My attempts to combine them only add to the existing columns, not separate. If you still have the time, check out my excel sheet. I hope what I'm saying is not too fuzzy.
    I can't thank you enough for your help!

    Regards,

    Jarrett

  9. #9
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,920

    Re: broken column: how to apply with 2 data sets on X-axis?

    Can you mock up a sample of what you want the output to look like based on the data you have?

  10. #10
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,920

    Re: broken column: how to apply with 2 data sets on X-axis?

    Here is a sample using some of your data. The full chart is the data exactly as you have it. The Detail Chart is based on data with formulas. Cells I2 and I3 have the formulas for MAX and next MAX.
    Attached Files Attached Files

  11. #11
    Registered User
    Join Date
    01-26-2017
    Location
    virginia
    MS-Off Ver
    2013
    Posts
    6

    Re: broken column: how to apply with 2 data sets on X-axis?

    Wow. Thanks so much! This seems a little more straightforward than the broken columns, but I'm not very adept with excel in the first place.I'm going to try and follow the website you linked in order to get the others. I'd like to send you some money for you time but I don't see anywhere with an 'appreciation' button.

  12. #12
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,920

    Re: broken column: how to apply with 2 data sets on X-axis?

    No need to send money. I'm a believer in "paying it forward." I just happened to be in the right place at the right time with the right stuff to help. So when you wind up in the right place at the right time with the right stuff to help someone else, I'll consider myself repaid. Eventually it comes back in one form or another.

  13. #13
    Registered User
    Join Date
    01-26-2017
    Location
    virginia
    MS-Off Ver
    2013
    Posts
    6

    Re: broken column: how to apply with 2 data sets on X-axis?

    Thanks again! You're doing Gods' work. I make sure to keep paying it forward.
    All the best to you,

    Jerry

+ 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] Charting small amounts of data over long time frames (possibly broken x axis)
    By bjsebeck in forum Excel Charting & Pivots
    Replies: 6
    Last Post: 05-05-2015, 09:39 AM
  2. One horizontal axis for 3 sets of data
    By rosshkerr in forum Excel Charting & Pivots
    Replies: 4
    Last Post: 03-31-2015, 08:25 PM
  3. Combining to sets of data with different x axis'
    By dxg169 in forum Excel General
    Replies: 6
    Last Post: 02-16-2015, 01:32 PM
  4. Replies: 10
    Last Post: 07-21-2014, 11:11 AM
  5. Graph broken y-axis with 1 data series
    By Nroose in forum Excel Charting & Pivots
    Replies: 4
    Last Post: 11-17-2013, 08:12 AM
  6. Two y axis data sets
    By davegugg in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 07-08-2009, 09:53 AM
  7. How do I use two different sets of data for X axis when plotting graph?
    By trinaloup in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 05-09-2009, 07:23 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