#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default Date Formula

thanks for replies. i wiii give them a try

jk

"daddylonglegs" wrote:

Obviously it's better if the dates are input as recognisable dates, then if
your start date is in A2 and end date in B2 use this formula for the weeks

=INT((B2-A2)/7)

and for the days

=MOD(B2-A2,7)

You can convert a column of "dates" in the format mm.dd.yy to true dates by
using

Data Text to columns Next Next choose "date" and MDY option Finish

If you don't want to or can't convert from 12.12.2006 etc. you could use
these formulas for weeks and days

=INT((SUBSTITUTE(B2,".","/")-SUBSTITUTE(A2,".","/"))/7)

and

=MOD(SUBSTITUTE(B2,".","/")-SUBSTITUTE(A2,".","/"),7)


"ocdsupport" wrote:

We have a client that has start dates in one colums and finish dates in
another column.
They need to produce information that shows the difference in weeks and days.
Is it possible for this to be done so that the weeks are shown in one column
and days are shown in another column.
If so a formula would be appreciated.
Also they have been inserting current information for the last year in
number format eg 12.12.06.
Is it possible to simply convert all of this to dates so that they can find
the difference or do they have to manually input all information again as
dates.

Thanks

JK

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
Dynamic Range with unused formula messing up x axis on dynamic graph [email protected] Charts and Charting in Excel 2 February 2nd 06 08:02 PM
Trending Formula Results by Date sony654 Excel Worksheet Functions 0 January 2nd 06 02:33 AM
Year-to-date year to date formula Philm Excel Worksheet Functions 1 October 7th 05 02:50 AM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 03:28 AM
Need help troubleshooting an array formula XLXP on Win2K KR Excel Worksheet Functions 1 December 13th 04 07:41 PM


All times are GMT +1. The time now is 06:21 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"