View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Toppers
 
Posts: n/a
Default formula to obtain difference between two dates.

=(EndDate-Startdate) and format cell as General [or Custom=d] to give
difference in days.

=(B1-A1) where B1=17/06/2006 and A1 = 0106/2006 will produce result of 16

HTH

"Onkar Raut" wrote:

i need a formula/function to calculate the difference between two dates in
microsoft excel worksheet.