#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
JT JT is offline
external usenet poster
 
Posts: 234
Default DATEDIF FUNCTION

If $C$2 = today()-90, what does this formula mean please?
DATEDIF(("2006/1/1"/91),($C$2/91),"D")*13+$A29)

Thanks,

J.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,726
Default DATEDIF FUNCTION

I think this part

DATEDIF(("2006/1/1"/91),($C$2/91),"D")

is a method to calculate the number of quarters, by dividing each date by 91
(approximately 3 months), and then treating them as days.

--

HTH

Bob Phillips

(replace xxxx in the email address with gmail if mailing direct)

"jT" wrote in message
...
If $C$2 = today()-90, what does this formula mean please?
DATEDIF(("2006/1/1"/91),($C$2/91),"D")*13+$A29)

Thanks,

J.



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 694
Default DATEDIF FUNCTION

JT

Chip Pearson gives an excellant discussion of the datedif function.

See: http://www.cpearson.com/excel/datedif.htm

Basically it computed the differce between two dates in the mode given here
days (d) was specified.

The function appears to be calculating quarters of a year and then adjusting
it by a factor of 13 and anding some constant.

Maybe if you could explain a little of the spreadsheet it may help.

--
Hope this helps
Martin Fishlock


"jT" wrote:

If $C$2 = today()-90, what does this formula mean please?
DATEDIF(("2006/1/1"/91),($C$2/91),"D")*13+$A29)

Thanks,

J.

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
Need some comments on my Utility_Move class module. jchen Excel Worksheet Functions 0 August 21st 06 07:05 PM
Help me find function Datedif ViestaWu Excel Worksheet Functions 4 August 21st 06 10:44 AM
Datedif function shaji Excel Discussion (Misc queries) 2 May 13th 06 02:36 PM
Automatically up date time in a cell Mark Excel Discussion (Misc queries) 5 May 12th 05 12:26 AM
HOW CAN I GET OFFICE 2003 EXCEL BASIC TO NEST FUNCTIONS LIKE EXCE. Robert AS Excel Worksheet Functions 4 December 2nd 04 10:49 AM


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