Originally Posted by
MrShorty
I assume that you are wanting to use column A as the x data. It appears that this column contains data in the form of "decimal days" (formatted as dd:hh:mm:ss).
You are correct it is in decimal days, actually though the 11 refers to the day of the year. So this is only a snippet of all of the data and further down in my larger files the information is displayed 168:22:23:33.00 for example. So in that file I have 163-168 as the "days" and i want to just ahve on the x axis 1-5 labeled whenever there is a day changeover in the data. So 163 would correspond to day 1, and so on.
What kind of chart are you wanting to use: scatter or line?
Either works, I usually use a scattered with smoothed lines.
The first step in plotting data in Excel is to get the desired data into Excel. So, if you want your x values to be "integer days since day 10", you need to add a column that will calculate the desired X values. This looks to me like it should be as easy as =A2-10 or =INT(A2-10) in an adjacent column. The choice of function will depend on whether you want the X values to retain the "time element" or not. IOW, do you want the X data to account for the difference between 10 minutes past midnight and 1 minute past midnight, or do you want the X data to ignore time and show everything for day "11"/"1" at the same point.
Once you have a column that computes the desired X values, it should be as easy as inserting the desired line/scatter chart. If your helper "X" column is to the right of the desired Y column, you will have to create the chart with whatever Excel gives you, then go in to the Select Source Data dialog and instruct Excel to use the appropriate column for the X data.
Bookmarks