#### Plotting a time graph

```i've the following type of data that i want to plot:
Time   A   B   C   D
00:00  1   0   0   0
02:30  0   0   1   0
06:00  0   1   0   0
11:00  1   0   0   0
13:30  0   0   0   1
where A happens from 00:00 to 02:30, C happens from 02:30 to 06:00, and so
on. The time intervals need not be regular. Is there a way to plot the
happenings of A,B,C,D along a horizontal timeline using Excel?
```
 0
kaifai (1)
10/25/2004 2:03:01 AM
excel.charting 18370 articles. 0 followers.

1 Replies
526 Views

Similar Articles

[PageSpeed] 46

```You have to transform your data to something like this:

(Duration)
A       02:30
C       03:30
B       05:00
A       02:30
D       ....

Select the data, and create a stacked bar chart, with series in rows. You will get a
bar for A from 0 to 2:30, for B from 2:30 to 6:00, etc. The second A is a distinct
series from the first, but you can manually format them to look the same.

To make formatting of the time axis easier, ignore the decimal fractions that Excel
expects in the scale parameter input boxes. Instead enter the values you want in
hh:mm format. Enter 0 for minimum, 24:00 for maximum, 2:00 for a two hour tick spacing.

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

kaifai wrote:

> i've the following type of data that i want to plot:
> Time   A   B   C   D
> 00:00  1   0   0   0
> 02:30  0   0   1   0
> 06:00  0   1   0   0
> 11:00  1   0   0   0
> 13:30  0   0   0   1
> where A happens from 00:00 to 02:30, C happens from 02:30 to 06:00, and so
> on. The time intervals need not be regular. Is there a way to plot the
> happenings of A,B,C,D along a horizontal timeline using Excel?

```
 0
10/25/2004 2:57:06 AM

Similar Artilces:

Formatting cells with Time data
I'm trying to set up my spreadsheet to format my cells to hhmm, but every time I try to enter data into the cells, the system automatically converts the hours I've entered into a date and leaves the time value at 0 any suggestions as to what I'm doing wrong? Are you entering as hh:mm regardless of the cell format? -- __________________________________ HTH Bob "yimkhoc" <yimkhoc@discussions.microsoft.com> wrote in message news:A481A01F-0938-4F38-A93C-F2B9CB0BD34C@microsoft.com... > I'm trying to set up my spreadsheet to format my cells to hhmm, but ev...

Time functions #2
Hi, I have to do some time calculations and I have a formula that outputs in minutes and I have to subtract a standard time to this number of minutes. For example, I have 8:00 AM in one cell and 20.68 minutes on an other cell. The output that I am expecting is 7:39 AM. Does anybody know how to bring an output like that by subtracting the minutes? Please help. Thanks With 8:00 AM in A1 and 20.68 in B1, use this formula =A1-B1/(24*60) Why does it work? Because Excel stores time as a fraction of a day. We convert minutes to days by dividing by 24*60 (24 hr/day and 60 min/hr) You could just u...

Possible to turn off graph refresh temporarily?
Graphs in 2007 are very slow to refresh after refreshing a data connection. When I remove the 30 graphs in my spreadsheet and refresh the data connections, it refreshes in less than a second. When the graphs are present, it's more than 10 seconds. Is there any way (VBA?) to disable the refreshing of the graphs until after the data connection refreshes have completed, and then to re-enable them? Kind of like a "manual calculation" mode for graphs. Thanks! I'm not aware of anything that allows you to stop the graph refreshing as such. However, you might be able to get ...

Run Time Error '1004' Application or Onject-defined
Hi all. I am having a strange problem with the below code in that it produces the run time error when trying to Paste the Selection. However, if I perform the action manually in exactly the same way, as in recording the macro in the first place, it works!? How can I get this to run - it is after all, a really simple code. (Most frustrating) Thanks, Wes. Windows("Transaction_Record.xlsm").Activate Sheets("DETAILED_PMNTS_REC").Select Range("N2077:QV2089").Select Application.CutCopyMode = False Selection.Copy Windows("AUDIT_TR...

convert Times New Roman Special G1 into arial
hello. I need to convert a text written with font Times New Roman Special G1, which I downloaded from the internet, into a font availanble in most computers, such as arial. Can you help me please? Thanks a lot. Fabian This newsgroup is for questions about Access, the database product that's part of Office Professional. I suspect you're asking about how to do this with some other product. I'd recommend reposting to a newsgroup related to whatever product it is you're trying to use. If you are talking about Access, please explain what exactly it is that you downloaded fro...

Calculating Time Difference
Hi, I am trying to develop a query where my client wants to track how much time in minutes does a nurse spend in various activities (staff education, patient/family education, answering drug relation questions etc. etc.) to assist nurses in other units. What query type should I use? How do I write the query? There is a start time (when the nurse recieves the call) and completion time (when the nurse hangs up). Thanks Mrinalini <drmrinalini@gmail.com> wrote in message news:1176645431.981118.294870@e65g2000hsc.googlegroups.com... > Hi, > > I am trying to develop a query wher...

Publisher 97 and date/time print
I am designing an office card using 1997 Publisher. No matter what I do it prints day, month,year and time on every page. I have checked background and there is no text box even there to delete to stop this problem. How can I find and delete? This will be an option of your printer driver. Disable that option and your trauma will be over. -- ...

Getting local Time and date for the local computer(vista OS)
Hi I am working with Vista(one of a kind), and have a MFC application and would like to add small code that will get current time and date from the local compuetr. i meet an example in MSDN : http://msdn.microsoft.com/en-us/library/aa390423(VS.85).aspx but it looks too long for what i am looking, is there a 1 function API that returns the Date and the time ? thanks for your time Zack >Hi I am working with Vista(one of a kind), >and have a MFC application and would like to add small code that will get >current time and date from the local compuetr. >i meet an example in MSDN...

Calculate meeting timings
Hi, I had one requirement. I want to calculate my total meetings time i spent througout the week, month or year. This will help how to manage my time between my work and meeting. Any solution to this??? ...

The money 05 loads very slow, I have archived everthing past 90 days but it still loads slow. Any suggestions? In microsoft.public.money, oltexasboy wrote: >The money 05 loads very slow, I have archived everthing past 90 days but it >still loads slow. Any suggestions? Restore the archive as your main file, if you have not gone too far with it since the archive. Archiving did not help your speed appreciably, and you might want to refer to that older data. Consider reducing scheduled bills. Remove accounts from the budget if you think that would be appropriate. Set your start page t...

after some time sent mail turns as i symbol mail why?
sent mail turns with i symbol in sent items when i' using outlook. why it is happening so and what does it mean? It means you are tracking that email for voting or other purposes. =20 See http://www.howto-outlook.com/howto/icons.htm --=20 Milly Staples [MVP - Outlook] Post all replies to the group to keep the discussion intact. After furious head scratching, Stalin asked: | sent mail turns with i symbol in sent items when i' using | outlook. why it is happening so and what does it mean? ...

graphs #5
I have a graph that contains over 60 products being graphed. When the graph is completed it is all a big mess you cant see what is what - please help In article <41EC72A8-36FA-4381-9FCB-C2647D7D54E4@microsoft.com>, Shari@discussions.microsoft.com says... > I have a graph that contains over 60 products being graphed. When the graph > is completed it is all a big mess you cant see what is what - please help > Help with what? What do you expect someone to suggest? The only things that come to mind are: (1) Increase the size of the chart (2) Reduce the amount of informati...

entering time
Is there a way to set up a cell so that I can type in 1330, and have Excel put in the colon so it reads 13:30 (military time)? right click sheet tab>view code>insert this. As written, works on a1:a100 Option Explicit Private Sub Worksheet_Change(ByVal Target As Range) 'Ron Rosenfeld <ronrosenfeld@nospam.org> Dim InputRange As Range Dim Temp As Variant Dim i As Integer Dim Separators(2) As String Separators(0) = ";" Separators(1) = "," Separators(2) = "." Application.EnableEvents = False Set InputRange = [A1:A100] 'or whatever If Intersec...

filtering the graphs
Hello, here is the issue. This is important for me. I have the graph object in Report that have row source from query. Query have fields A, B, C while graph only uses A and B. Now here comes the problem, I want to dynamically filter records using field C. When I apply filter in open.report where clause it does not work here. How can I bypass it? Thanx m ...

processor time allocation
My app routinely only gets 10 to 30 % of CPU time - the system idle process gets the rest (indicated by windows task manager) My app is multithreaded and has one thread that requires lots of CPU time at 20 Hz intervals. I sleep this thread for an amount of time that would put it at the next 20 Hz interval. My other threads sleep when they are not busy. My 20 Hz thread does not recieve the processor time that it needs - even though the system idle process is taking up 70 to 90 % of the CPU time. If I remove the sleep call from my 20 Hz thread then it hogs all of the CPU time and the s...

Outlook takes long time in new message with word 2003 as editor
Good Day Urgently need help in troubleshooting a problem which is spread among many clients in which Outlook takes long time when you create or reply first message after starting outlook , our clients are windows XP with SP3 and the Microsoft office is office 2003 with SP3 , My machine suffers from this error although i have patched it to the latest updates from Microsoft update , I have Mcafee Viruscan Enterprise 8.5.0i and i have disabled access protection when outlook startes but it did not solve the problem Apprecite quick advice and any troubleshooting tips Ahmedg You mentioned e...

How to make Bullen's FilterCriteria() data refresh real-time?
Using XL 2003 & 2000 OK, with help, I was able to utilize Steve Bullen's FilterCriteria() Function. That said, apparently the only way to refresh the data in the display cell is to re-activate the formula by pressing <ENTER> in the Fx Box. Can the display cells be made to refresh in real-time or, second best, by F9? FYI (Background Info): ************************************************************II placed this formula into cell A1: =FilterCriteria(A3) Cell A3 contains the Autofilter down-arrow for column A ************************************************************* Fu...

I am conducting a test upgrade from 6.0 to 8.0 through 7.5 with Project Accounting on a test server. The PA conversion to 7.5 took about 11 hours which is manageable but the conversion to 8.0 has already taken 3 days! and is still running. It has spent most of the time on one particular task and I wondered if anyone else has experienced this and if there is any way to improve the situation. All I can see from SQL Profiler is that the auto-procedure zDP_RM00401SS_1 is being called for each row of that table in turn sometimes many times for the same row. There are about 28000 rows and I&...

Outlook meeting request time off
User A sends User B a meeting request for Thursday at 2:00pm til 4:00pm. User B accepts. The problem is that the meeting shows up on user B's calendar at 1-3. One hour behind. It shows up on User A's calendar at the correct time from 2-4. I checked all the time settings in the OS and Outlook on both computers and they are correct. The only difference is that User A has Windows NT and User B has Windows XP. I try the same test from another user's computer who has NT. Same problem. When the XP user sends a meeting request to the other XP user the time shows up in both of the...

Real time data in visio ?????
I have developed a screen in Visio choosing the Process Engineering category and placed a label on the screen to display the data continously . The data is picked up from the file say c:\test.txt.This file (c:\test.txt)is updated with random data from a simulator program running on the same machine. This program works fine when i run from Visio. The value gets updated on the screen every second. But when i use Visio viewer to deploy my application the application opens automatically in IE 5.0. I am able to view all the screens and navigate also. But my label control does not show any change of...

Network Password entered each time Outlook starts