Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Display the days between start & end date columns

I have two columns one labeled start date, the other Date Completed. I have
a third column where I need to display how many days it took to complete the
process from start to finish. Do I need a macro? I have no idea how to
format the third column to calculate the days between the other two.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default Display the days between start & end date columns

Hi,

Try this un-documented formula

=DATEDIF(A1,B1,"d")

For help on this formula look here

http://www.cpearson.com/excel/datedif.aspx
--
Mike

When competing hypotheses are otherwise equal, adopt the hypothesis that
introduces the fewest assumptions while still sufficiently answering the
question.


"Pat Briggs" wrote:

I have two columns one labeled start date, the other Date Completed. I have
a third column where I need to display how many days it took to complete the
process from start to finish. Do I need a macro? I have no idea how to
format the third column to calculate the days between the other two.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 132
Default Display the days between start & end date columns

Assume that in A2 cell you are having the START DATE and in B2 cell is the
END DATE.

Copy and paste the below formula in C2 cell
=IF(AND(A2<"",B2<""),DATEDIF(A2,B2,"D"),"")

Remember to Click Yes, if this post helps!

--------------------
(Ms-Exl-Learner)
--------------------


"Pat Briggs" wrote:

I have two columns one labeled start date, the other Date Completed. I have
a third column where I need to display how many days it took to complete the
process from start to finish. Do I need a macro? I have no idea how to
format the third column to calculate the days between the other two.

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Display the days between start & end date columns

Just subtract the start date from the end date.

A1 = start date = 1/1/2010
B1 = end date = 1/31/2010

=B1-A1

Format as General or Number

Result = 30

Copy down as needed.

--
Biff
Microsoft Excel MVP


"Pat Briggs" wrote in message
...
I have two columns one labeled start date, the other Date Completed. I
have
a third column where I need to display how many days it took to complete
the
process from start to finish. Do I need a macro? I have no idea how to
format the third column to calculate the days between the other two.



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
Calculate 60 days from Start Date - including weekends Missy Excel Worksheet Functions 6 April 4th 23 10:24 AM
Count Number of Days after a Start Date Jimbo Excel Discussion (Misc queries) 5 April 3rd 23 12:12 PM
Calculating number of days including the start and end date Shane Devenshire[_2_] Excel Discussion (Misc queries) 0 February 26th 09 11:45 PM
find and display all possible start times and days to work Shoney Excel Discussion (Misc queries) 0 February 8th 08 09:07 PM
I want to count days between two dates including start date Infinitebiscuit Excel Worksheet Functions 2 February 20th 07 01:27 PM


All times are GMT +1. The time now is 11:55 AM.

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"