Show Date and Time on X Axis of graph

TimTDP

New Member
Joined
Aug 3, 2011
Messages
23
I am trying to create a graph that shows the Date & Time on the X axis
I have the date & time in seperate columns, as well as concatenated in the data sheet

How do I do I show both the Date & Time on the X axis?
 

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.
<b>Excel 2003</b><table cellpadding="2.5px" rules="all" style=";background-color: #FFFFFF;border: 1px solid;border-collapse: collapse; border-color: #A6AAB6"><colgroup><col width="25px" style="background-color: #E0E0F0" /><col /><col /><col /></colgroup><thead><tr style=" background-color: #E0E0F0;text-align: center;color: #161120"><th></th><th>E</th><th>F</th><th>G</th></tr></thead><tbody><tr ><td style="color: #161120;text-align: center;">22</td><td style="text-align: right;;">2011/9/22</td><td style="text-align: right;;">2011/9/22 12:00 AM</td><td style="text-align: right;;">6</td></tr><tr ><td style="color: #161120;text-align: center;">23</td><td style="text-align: right;;"></td><td style="text-align: right;;">2011/9/22 1:00 AM</td><td style="text-align: right;;">2</td></tr><tr ><td style="color: #161120;text-align: center;">24</td><td style="text-align: right;;"></td><td style="text-align: right;;">2011/9/22 2:00 AM</td><td style="text-align: right;;">3</td></tr><tr ><td style="color: #161120;text-align: center;">25</td><td style="text-align: right;;"></td><td style="text-align: right;;">2011/9/22 3:00 AM</td><td style="text-align: right;;">9</td></tr><tr ><td style="color: #161120;text-align: center;">26</td><td style="text-align: right;;"></td><td style="text-align: right;;">2011/9/22 4:00 AM</td><td style="text-align: right;;">4</td></tr><tr ><td style="color: #161120;text-align: center;">27</td><td style="text-align: right;;"></td><td style="text-align: right;;">2011/9/22 5:00 AM</td><td style="text-align: right;;">4</td></tr><tr ><td style="color: #161120;text-align: center;">28</td><td style="text-align: right;;"></td><td style="text-align: right;;">2011/9/22 6:00 AM</td><td style="text-align: right;;">7</td></tr><tr ><td style="color: #161120;text-align: center;">29</td><td style="text-align: right;;"></td><td style="text-align: right;;">2011/9/22 7:00 AM</td><td style="text-align: right;;">8</td></tr><tr ><td style="color: #161120;text-align: center;">30</td><td style="text-align: right;;"></td><td style="text-align: right;;">2011/9/22 8:00 AM</td><td style="text-align: right;;">6</td></tr><tr ><td style="color: #161120;text-align: center;">31</td><td style="text-align: right;;"></td><td style="text-align: right;;">2011/9/22 9:00 AM</td><td style="text-align: right;;">2</td></tr><tr ><td style="color: #161120;text-align: center;">32</td><td style="text-align: right;;"></td><td style="text-align: right;;">2011/9/22 10:00 AM</td><td style="text-align: right;;">1</td></tr><tr ><td style="color: #161120;text-align: center;">33</td><td style="text-align: right;;"></td><td style="text-align: right;;">2011/9/22 11:00 AM</td><td style="text-align: right;;">3</td></tr><tr ><td style="color: #161120;text-align: center;">34</td><td style="text-align: right;;"></td><td style="text-align: right;;">2011/9/22 12:00 PM</td><td style="text-align: right;;">7</td></tr><tr ><td style="color: #161120;text-align: center;">35</td><td style="text-align: right;;"></td><td style="text-align: right;;">2011/9/22 1:00 PM</td><td style="text-align: right;;">5</td></tr><tr ><td style="color: #161120;text-align: center;">36</td><td style="text-align: right;;"></td><td style="text-align: right;;">2011/9/22 2:00 PM</td><td style="text-align: right;;">1</td></tr><tr ><td style="color: #161120;text-align: center;">37</td><td style="text-align: right;;"></td><td style="text-align: right;;">2011/9/22 3:00 PM</td><td style="text-align: right;;">9</td></tr><tr ><td style="color: #161120;text-align: center;">38</td><td style="text-align: right;;"></td><td style="text-align: right;;">2011/9/22 4:00 PM</td><td style="text-align: right;;">7</td></tr><tr ><td style="color: #161120;text-align: center;">39</td><td style="text-align: right;;"></td><td style="text-align: right;;">2011/9/22 5:00 PM</td><td style="text-align: right;;">3</td></tr><tr ><td style="color: #161120;text-align: center;">40</td><td style="text-align: right;;"></td><td style="text-align: right;;">2011/9/22 6:00 PM</td><td style="text-align: right;;">6</td></tr><tr ><td style="color: #161120;text-align: center;">41</td><td style="text-align: right;;"></td><td style="text-align: right;;">2011/9/22 7:00 PM</td><td style="text-align: right;;">1</td></tr><tr ><td style="color: #161120;text-align: center;">42</td><td style="text-align: right;;"></td><td style="text-align: right;;">2011/9/22 8:00 PM</td><td style="text-align: right;;">10</td></tr><tr ><td style="color: #161120;text-align: center;">43</td><td style="text-align: right;;"></td><td style="text-align: right;;">2011/9/22 9:00 PM</td><td style="text-align: right;;">3</td></tr><tr ><td style="color: #161120;text-align: center;">44</td><td style="text-align: right;;"></td><td style="text-align: right;;">2011/9/22 10:00 PM</td><td style="text-align: right;;">2</td></tr><tr ><td style="color: #161120;text-align: center;">45</td><td style="text-align: right;;"></td><td style="text-align: right;;">2011/9/22 11:00 PM</td><td style="text-align: right;;">3</td></tr><tr ><td style="color: #161120;text-align: center;">46</td><td style="text-align: right;;">2011/9/23</td><td style="text-align: right;;">2011/9/23 12:00 AM</td><td style="text-align: right;;">3</td></tr><tr ><td style="color: #161120;text-align: center;">47</td><td style="text-align: right;;"></td><td style="text-align: right;;">2011/9/23 1:00 AM</td><td style="text-align: right;;">1</td></tr><tr ><td style="color: #161120;text-align: center;">48</td><td style="text-align: right;;"></td><td style="text-align: right;;">2011/9/23 2:00 AM</td><td style="text-align: right;;">7</td></tr><tr ><td style="color: #161120;text-align: center;">49</td><td style="text-align: right;;"></td><td style="text-align: right;;">2011/9/23 3:00 AM</td><td style="text-align: right;;">10</td></tr><tr ><td style="color: #161120;text-align: center;">50</td><td style="text-align: right;;"></td><td style="text-align: right;;">2011/9/23 4:00 AM</td><td style="text-align: right;;">6</td></tr><tr ><td style="color: #161120;text-align: center;">51</td><td style="text-align: right;;"></td><td style="text-align: right;;">2011/9/23 5:00 AM</td><td style="text-align: right;;">7</td></tr><tr ><td style="color: #161120;text-align: center;">52</td><td style="text-align: right;;"></td><td style="text-align: right;;">2011/9/23 6:00 AM</td><td style="text-align: right;;">5</td></tr><tr ><td style="color: #161120;text-align: center;">53</td><td style="text-align: right;;"></td><td style="text-align: right;;">2011/9/23 7:00 AM</td><td style="text-align: right;;">3</td></tr><tr ><td style="color: #161120;text-align: center;">54</td><td style="text-align: right;;"></td><td style="text-align: right;;">2011/9/23 8:00 AM</td><td style="text-align: right;;">7</td></tr><tr ><td style="color: #161120;text-align: center;">55</td><td style="text-align: right;;"></td><td style="text-align: right;;">2011/9/23 9:00 AM</td><td style="text-align: right;;">3</td></tr><tr ><td style="color: #161120;text-align: center;">56</td><td style="text-align: right;;"></td><td style="text-align: right;;">2011/9/23 10:00 AM</td><td style="text-align: right;;">5</td></tr><tr ><td style="color: #161120;text-align: center;">57</td><td style="text-align: right;;"></td><td style="text-align: right;;">2011/9/23 11:00 AM</td><td style="text-align: right;;">5</td></tr><tr ><td style="color: #161120;text-align: center;">58</td><td style="text-align: right;;"></td><td style="text-align: right;;">2011/9/23 12:00 PM</td><td style="text-align: right;;">9</td></tr><tr ><td style="color: #161120;text-align: center;">59</td><td style="text-align: right;;"></td><td style="text-align: right;;">2011/9/23 1:00 PM</td><td style="text-align: right;;">2</td></tr><tr ><td style="color: #161120;text-align: center;">60</td><td style="text-align: right;;"></td><td style="text-align: right;;">2011/9/23 2:00 PM</td><td style="text-align: right;;">3</td></tr><tr ><td style="color: #161120;text-align: center;">61</td><td style="text-align: right;;"></td><td style="text-align: right;;">2011/9/23 3:00 PM</td><td style="text-align: right;;">5</td></tr><tr ><td style="color: #161120;text-align: center;">62</td><td style="text-align: right;;"></td><td style="text-align: right;;">2011/9/23 4:00 PM</td><td style="text-align: right;;">4</td></tr><tr ><td style="color: #161120;text-align: center;">63</td><td style="text-align: right;;"></td><td style="text-align: right;;">2011/9/23 5:00 PM</td><td style="text-align: right;;">4</td></tr><tr ><td style="color: #161120;text-align: center;">64</td><td style="text-align: right;;"></td><td style="text-align: right;;">2011/9/23 6:00 PM</td><td style="text-align: right;;">9</td></tr><tr ><td style="color: #161120;text-align: center;">65</td><td style="text-align: right;;"></td><td style="text-align: right;;">2011/9/23 7:00 PM</td><td style="text-align: right;;">6</td></tr><tr ><td style="color: #161120;text-align: center;">66</td><td style="text-align: right;;"></td><td style="text-align: right;;">2011/9/23 8:00 PM</td><td style="text-align: right;;">5</td></tr><tr ><td style="color: #161120;text-align: center;">67</td><td style="text-align: right;;"></td><td style="text-align: right;;">2011/9/23 9:00 PM</td><td style="text-align: right;;">1</td></tr><tr ><td style="color: #161120;text-align: center;">68</td><td style="text-align: right;;"></td><td style="text-align: right;;">2011/9/23 10:00 PM</td><td style="text-align: right;;">10</td></tr><tr ><td style="color: #161120;text-align: center;">69</td><td style="text-align: right;;"></td><td style="text-align: right;;">2011/9/23 11:00 PM</td><td style="text-align: right;;">4</td></tr></tbody></table><p style="width:3.6em;font-weight:bold;margin:0;padding:0.2em 0.6em 0.2em 0.5em;border: 1px solid #A6AAB6;border-top:none;text-align: center;background-color: #E0E0F0;color: #161120">Sheet1</p><br /><br />
Select columns E-F, create a line graph, ???, profit
 
Upvote 0
Create a line chart using columns F and G, which I'm sure Sal meant, but make sure it uses the Text option (Category in Excel 2003), not the Date option (Time in 2003). Then if the number format isn't picked up from the sheet, apply one to the axis that shows date and time.
 
Upvote 0
Create a line chart using columns F and G, which I'm sure Sal meant, but make sure it uses the Text option (Category in Excel 2003), not the Date option (Time in 2003). Then if the number format isn't picked up from the sheet, apply one to the axis that shows date and time.

Thank you
 
Upvote 0

Forum statistics

Threads
1,224,603
Messages
6,179,849
Members
452,948
Latest member
UsmanAli786

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top