Remember Me?

#1
May 18th 10, 05:30 PM posted to microsoft.public.excel.misc
 external usenet poster First recorded activity by ExcelBanter: May 2010 Posts: 1
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
May 18th 10, 05:36 PM posted to microsoft.public.excel.misc
 external usenet poster First recorded activity by ExcelBanter: Apr 2007 Posts: 11,501
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
May 18th 10, 05:37 PM posted to microsoft.public.excel.misc
 external usenet poster First recorded activity by ExcelBanter: Aug 2009 Posts: 132
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
May 18th 10, 05:45 PM posted to microsoft.public.excel.misc
 external usenet poster First recorded activity by ExcelBanter: Nov 2006 Posts: 15,768
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.

 Posting Rules Smilies are On [IMG] code is On HTML code is OffTrackbacks are On Pingbacks are On Refbacks are On

 Similar Threads Thread Thread Starter Forum Replies Last Post Missy Excel Worksheet Functions 5 August 19th 09 04:27 PM Jimbo Excel Discussion (Misc queries) 4 May 6th 09 09:17 PM Shane Devenshire[_2_] Excel Discussion (Misc queries) 0 February 26th 09 11:45 PM Shoney Excel Discussion (Misc queries) 0 February 8th 08 09:07 PM Infinitebiscuit Excel Worksheet Functions 2 February 20th 07 01:27 PM

All times are GMT +1. The time now is 06:45 AM.