Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Glenside
 
Posts: n/a
Default day of week and time on X axis of a graph

I want to do a blood pressure chart and on the x axis I want the days say
Monday, Tuesday, Wednesday and a subscale with a 24 hour clock so you can
look at the graph say over three days and see the day that a particular
measurment was made and if it is around say noon it would be half way along
that particular day.
  #2   Report Post  
Jon Peltier
 
Posts: n/a
Default

In a line chart, Excel can give you nice formatting of dates, but it
assumes that every point during the day occurs at midnight (for some
reason it can't handle fractions).

But you can use an XY Scatter chart to render the date and time
correctly in the chart. When adjusting the scale, just enter the date
normally, like 5/21/05, and Excel will convert it to the whole number
units it uses to represent dates. Enter the time in hh:mm format too, or
use 0.25 for 6 am, 0.5 for noon, 0.75 for 6pm. You can't really get the
subscale you want, but at least you can approximate it using a custom
number format, like "ddd hh:mm" (ddd gives a 3-letter abbreviation for
the day, and it will appear in all labels.

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Peltier Technical Services
Tutorials and Custom Solutions
http://PeltierTech.com/
_______


Glenside wrote:
I want to do a blood pressure chart and on the x axis I want the days say
Monday, Tuesday, Wednesday and a subscale with a 24 hour clock so you can
look at the graph say over three days and see the day that a particular
measurment was made and if it is around say noon it would be half way along
that particular day.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel needs hh:mm where hh>24 for hours worked per week pmba Excel Worksheet Functions 2 May 16th 05 09:03 PM
Accumulate weekly time to total time in Excel. delve Excel Discussion (Misc queries) 0 May 4th 05 08:14 PM
Creating a line graph from 2 pivot tables? gmodi Charts and Charting in Excel 3 March 7th 05 02:09 PM
4 Day Work Week in a formula EasleyK Excel Discussion (Misc queries) 1 January 29th 05 06:15 AM
Returning the Week Number of a Specific Date on a Month arjcvg Excel Worksheet Functions 1 November 3rd 04 04:35 AM


All times are GMT +1. The time now is 10:31 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"