Thread
:
DateDif Question
View Single Post
#
5
Posted to microsoft.public.excel.misc
papou[_3_]
external usenet poster
Posts: 31
DateDif Question
Hello Rob
Not sure but try:
=DATEDIF(DATEVALUE(Cell1),DATEVALUE(Cell2),"d")
HTH
Cordially
Pascal
"Rob" a écrit dans le message de news:
...
No Dice.
Here is the formula for the cell2, cell3
Cell2 = 03/15/07
cell3 =
=IF(A18=" "," ",IF('Loan Summary'!$B$7,DATE(YEAR('Amortization
Schedule'!B17),MONTH('Amortization Schedule'!B17),DAY('Amortization
Schedule'!B17)+14),DATE(YEAR('Amortization
Schedule'!B17),MONTH('Amortization
Schedule'!B17)+1,DAY('Amortization Schedule'!B17))))
"Max" wrote:
Try it with a little coercion:
=DATEDIF(A1+0,B1+0, "d")
assuming source dates in A1, B1 (earlier/later dates)
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Rob" wrote:
I using DATE(Cell1,Cell2,"d"), the result is always 0.
I used the evalute forumula and here is what it says :
Datedif(39236,39266, "d"). How can the result be 0. Cell1 and Cell2
are
calculated fields with a format of custom (mmm dd yyyyy). I have tried
changing the format to date but still the same effect.
The calculations in the cell1 and cell2 are Date(Year(cell5),
Month(cell5)+1, Day(cell6).
Help - this is driving me crazy.
Reply With Quote
papou[_3_]
View Public Profile
Find all posts by papou[_3_]