#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 471
Default Chart Help

I am currently trying to create a chart based off an excel spreadsheet where
dates need to be calculated. I need to know how to calculate the difference
between dates in days so that I can have that information in a graph.
--
Mike H.
Data Review Specialist
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default Chart Help

Dates in A1 and B1, difference in days =B1-A1.
--
David Biddulph

"Mike H." wrote in message
...
I am currently trying to create a chart based off an excel spreadsheet
where
dates need to be calculated. I need to know how to calculate the
difference
between dates in days so that I can have that information in a graph.
--
Mike H.
Data Review Specialist



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,316
Default Chart Help

You would just subtract one date value from another.

If cell A1 has 10/15/1979 and cell A2 has 3/11/2008 the formula would be:

=A2-A1

With 10375 being the number of elapsed days. You will most likely have to
format the cell with the function as a number as it will default to a date
format.

Check out Chip Pearson's website for more on date and time functions at the
following URL:

http://www.cpearson.com/excel/datearith.htm

--
Kevin Backmann


"Mike H." wrote:

I am currently trying to create a chart based off an excel spreadsheet where
dates need to be calculated. I need to know how to calculate the difference
between dates in days so that I can have that information in a graph.
--
Mike H.
Data Review Specialist

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 2007 error "some chart types cannot be combined with other chart types. Select a different chart types" roadsidetree Charts and Charting in Excel 15 June 2nd 09 10:53 AM
chart from pivot data does not update x-axis bar chart values - bug jason gers Excel Discussion (Misc queries) 0 April 3rd 07 06:34 PM
create line chart with two axises in Pivot Chart HuaXC Charts and Charting in Excel 1 February 21st 07 08:28 PM
Double-stacked Bar Chart WITH a Secondary Y Axis Line chart? lpenndorf Charts and Charting in Excel 1 February 7th 07 04:32 PM
Huge differences in chart values screws my bar chart scale up. Sirritys Charts and Charting in Excel 2 June 13th 06 10:33 AM


All times are GMT +1. The time now is 11:47 PM.

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

About Us

"It's about Microsoft Excel"