[Last Call] Learn how to a build a cloud-first strategyRegister Now


Group data on X-axis on Excel graph

Posted on 2012-08-16
Medium Priority
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:Cesar Aracena
LVL 24

Accepted Solution

Steve earned 2000 total points
ID: 38301643
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.

Author Closing Comment

by:Cesar Aracena
ID: 38305507
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!

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Excel can be a tricky bit of software to get your head around. Whilst you’ll be able to eventually get to grips with the basic understanding of how to get by, there are a few Excel tips that not everybody will even know about let alone know how to d…
Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.
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…

829 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