Date and time in X axis when in different columns

Thoron6

New Member
Joined
Oct 27, 2015
Messages
27
Morning,

I have a set of data like the below:

--------------00:30 01:00 01:30 02:00
01/01/2018 12 ---11--- 15 --- 20
02/01/2018 15 ---17 ---19 --- 25
03/01/2018 21 ---26 ---32 --- 40
etc.

I am trying to get the date and time on the X axis of a chart with the data going across in a line chart.

Any help would be appreciated.

Thank you
 
Last edited:

pbornemeier

Well-known Member
Joined
May 24, 2005
Messages
3,725
You would have to reformat the data to plot to look like this before plotting

01/01/2018 00:30 12
01/01/2018 01:00 11
01/01/2018 01:30 15
01/01/2018 02:00 20
...
This could be done in memory (with some limitations in plotting a graph from a memory array) or placed on another worksheet which would allow the normal Excel graph options.

Is the data already in an Excel worksheet with the date in column A and each of the half hour data in corresponding columns B:AW (00:30 to 24:00)?
Or is this a text output of some data collection system?

In my experience 00:00 is used instead of 24:00. Is that the case for your setup and B should contain 00:00 or does AW contain 24:00 values?
 

Forum statistics

Threads
1,082,323
Messages
5,364,583
Members
400,809
Latest member
formulasataglance

Some videos you may like

This Week's Hot Topics

  • populate from drop list with multiple tables
    Hi All, i have a drop list that displays data, what i want is when i select one of those from the list to populate text from different tables on...
  • Find list of words from sheet2 in sheet1 before a comma and extract text vba
    Hi Friends, Trying to find the solution on my task. But did not find suitable one to the need. Here is my query and sample file with details...
  • Dynamic Formula entry - VBA code sought
    Hello, really hope one of you experts can help with this - i've spent hours on this and getting no-where. .I have a set of data (more rows than...
  • Listbox Header
    Have a named range called "AccidentsHeader" Within my code I have: [CODE]Private Sub CommandButton1_Click() ListBox1.RowSource =...
  • Complex Heat Map using conditional formatting
    Good day excel world. I have a concern. Below link have a list of countries that carries each country unique data. [URL...
  • Conditional formatting
    Hi good morning, hope you can help me please, I have cells P4:P54 and if this cell is equal to 1 then i want row O to say "Fully Utilised" and to...
Top