Group data on X-axis on Excel graph

Posted on 2012-08-16
Last Modified: 2012-08-17
Hi guys,

I have a tool that records some information (time, pressure & temperature) every second and I need to graph those curves in a time-based Excel graph. The problem I have is that Excel limits the X-axis labels to 255 and I have way more than that in the time column (tens of thousands of rows) and the graph only shows those first 255 rows of time and pressure giving me just a dot in the graph.

How can I group those time values so I get 10 minutes intervals or whatever I need? For example one label being 13:00:00 and the next one 13:10:00 and so on (while the pressure & temperatures keep "changing" in between). I would determine the length of each interval by dividing the total of rows by 255 so I know the maximum time between intervals (i.e. 10 minutes, 20 minutes, etc.).

Any clues?

Thanks a lot in advance!
Question by:Caracena
    LVL 24

    Accepted Solution

    Have you tried creating a pivot table of the data.
    then you can use the Group function of the pivot table.
    It is then easy to create a pivotgraph based upon the pivottable.

    To group by minutes, right click on the minutes of a pivottable and right click > group.
    then set to minutes or hours etc.
    LVL 6

    Author Closing Comment

    Thanks a lot! It did help me although I've never worked with dynamic tables grouping before. My only problem is that grouping changes my time values to a grouped number (i.e. 01, 02, 03, etc.) but I can easily change that by hand beginning from the start time.

    Thanks again!

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    6 Surprising Benefits of Threat Intelligence

    All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

    Sometimes we don't want to show zeros in our Excel spreadsheets. This is sometimes most evident in our charts. Look at the chart below, all the zero values are visible. I think that all will agree with the fact that zero values are not looking nice …
    Improved? Move/Copy Add-in Replacement - How to avoid the annoying, “A formula or sheet you want to move or copy contains the name XXX, which already exists on the destination worksheet.” David Miller (dlmille)  It was one of those days… I wa…
    The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…
    Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

    761 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    12 Experts available now in Live!

    Get 1:1 Help Now