Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
sunita_shaw
 
Posts: n/a
Default Calculate days between dates


Theres a problem I came across:
I would like to add the days between two cells

e.g:
A B
03/12/2006 03/20/2006

I want the total number of days that I took to complete my task i.e
9days
How do I get this 9days..what is the formula....

Someone Plzz help !!!!


--
sunita_shaw
------------------------------------------------------------------------
sunita_shaw's Profile: http://www.excelforum.com/member.php...o&userid=32227
View this thread: http://www.excelforum.com/showthread...hreadid=519764

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
SteveG
 
Posts: n/a
Default Calculate days between dates


In C1,

=B1-A1+1

Format the cell of your result as General or Number to 0 decimal
places.

HTH,

Steve


--
SteveG
------------------------------------------------------------------------
SteveG's Profile: http://www.excelforum.com/member.php...fo&userid=7571
View this thread: http://www.excelforum.com/showthread...hreadid=519764

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
JE McGimpsey
 
Posts: n/a
Default Calculate days between dates

One way:

=B1-A1+1

Format as General or Number.

In article ,
sunita_shaw
wrote:

Theres a problem I came across:
I would like to add the days between two cells

e.g:
A B
03/12/2006 03/20/2006

I want the total number of days that I took to complete my task i.e
9days
How do I get this 9days..what is the formula....

Someone Plzz help !!!!

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
sunita_shaw
 
Posts: n/a
Default Calculate days between dates


Hi! Steve , I tried but my dates get formated into plain numbers and
when I try doing it some other sheet too I get the difference in the
form of dates...


--
sunita_shaw
------------------------------------------------------------------------
sunita_shaw's Profile: http://www.excelforum.com/member.php...o&userid=32227
View this thread: http://www.excelforum.com/showthread...hreadid=519764

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
SteveG
 
Posts: n/a
Default Calculate days between dates


Sunita,

Keep the cells where your dates are formatted as dates. Only change
the format of the cell that you input the formula into to a number to
return only a number.

Steve


--
SteveG
------------------------------------------------------------------------
SteveG's Profile: http://www.excelforum.com/member.php...fo&userid=7571
View this thread: http://www.excelforum.com/showthread...hreadid=519764

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
How do I calculate duration between two dates and times in excel? Robin CSM002 Excel Discussion (Misc queries) 3 May 13th 23 07:42 PM
Function to calculate the number of years, months and days between Vicky Excel Worksheet Functions 2 July 15th 05 04:27 AM
formula to calculate # of days between dates, excluding holidays abs2299 Excel Discussion (Misc queries) 8 March 3rd 05 02:21 AM
How do I calculate difference in days & hours between two dates e. probi2 Excel Worksheet Functions 1 January 12th 05 03:59 PM
calculate with dates before 1-1-1900 jan wan Excel Worksheet Functions 3 October 29th 04 10:54 PM


All times are GMT +1. The time now is 03:14 PM.

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"