the dates are m,d,y
the days should not be => than 1 month
Yes of course they shouldn't
I think you've found another bug - take a look at the below comparing DATEDIF with barry's formula from the link I posted above.
<b>Sheet4</b><br /><br /><table border="1" cellspacing="0" cellpadding="0" style="font-family:Calibri,Arial; font-size:11pt; background-color:#ffffff; padding-left:2pt; padding-right:2pt; "> <colgroup><col style="font-weight:bold; width:30px; " /><col style="width:102px;" /><col style="width:97px;" /><col style="width:24px;" /><col style="width:206px;" /><col style="width:239px;" /></colgroup><tr style="background-color:#cacaca; text-align:center; font-weight:bold; font-size:8pt; "><td > </td><td style=" border-width:3px; border-style
utset;border-color:#f0f0f0; ">C</td><td style=" border-width:3px; border-style
utset;border-color:#f0f0f0; ">D</td><td style=" border-width:3px; border-style
utset;border-color:#f0f0f0; ">E</td><td style=" border-width:3px; border-style
utset;border-color:#f0f0f0; ">F</td><td style=" border-width:3px; border-style
utset;border-color:#f0f0f0; ">G</td></tr><tr style="height:18px ;" ><td style="border-width:3; border-style
utset;border-color:#f0f0f0; background-color:#cacaca; text-align:center; " >6</td><td > </td><td > </td><td > </td><td >DATEDIFF</td><td >BARRY'S FORMULA</td></tr><tr style="height:18px ;" ><td style="border-width:3; border-style
utset;border-color:#f0f0f0; background-color:#cacaca; text-align:center; " >7</td><td style="text-align:right; ">24/03/2004</td><td style="text-align:right; ">04/01/2008</td><td > </td><td >3 yrs, 9 mths, 124 days</td><td >3 years 9 months 11 days</td></tr><tr style="height:18px ;" ><td style="border-width:3; border-style
utset;border-color:#f0f0f0; background-color:#cacaca; text-align:center; " >8</td><td style="text-align:right; ">24/03/2004</td><td style="text-align:right; ">03/01/2008</td><td > </td><td >3 yrs, 9 mths, 123 days</td><td >3 years 9 months 10 days</td></tr><tr style="height:18px ;" ><td style="border-width:3; border-style
utset;border-color:#f0f0f0; background-color:#cacaca; text-align:center; " >9</td><td style="text-align:right; ">24/03/2004</td><td style="text-align:right; ">02/01/2008</td><td > </td><td >3 yrs, 9 mths, 122 days</td><td >3 years 9 months 9 days</td></tr><tr style="height:18px ;" ><td style="border-width:3; border-style
utset;border-color:#f0f0f0; background-color:#cacaca; text-align:center; " >10</td><td style="text-align:right; ">24/03/2004</td><td style="text-align:right; ">01/01/2008</td><td > </td><td >3 yrs, 9 mths, 121 days</td><td >3 years 9 months 8 days</td></tr><tr style="height:18px ;" ><td style="border-width:3; border-style
utset;border-color:#f0f0f0; background-color:#cacaca; text-align:center; " >11</td><td style="text-align:right; ">24/03/2004</td><td style="text-align:right; ">31/12/2007</td><td > </td><td >3 yrs, 9 mths, 7 days</td><td >3 years 9 months 7 days</td></tr><tr style="height:18px ;" ><td style="border-width:3; border-style
utset;border-color:#f0f0f0; background-color:#cacaca; text-align:center; " >12</td><td style="text-align:right; ">24/03/2004</td><td style="text-align:right; ">30/12/2007</td><td > </td><td >3 yrs, 9 mths, 6 days</td><td >3 years 9 months 6 days</td></tr><tr style="height:18px ;" ><td style="border-width:3; border-style
utset;border-color:#f0f0f0; background-color:#cacaca; text-align:center; " >13</td><td style="text-align:right; ">24/03/2004</td><td style="text-align:right; ">29/12/2007</td><td > </td><td >3 yrs, 9 mths, 5 days</td><td >3 years 9 months 5 days</td></tr><tr style="height:18px ;" ><td style="border-width:3; border-style
utset;border-color:#f0f0f0; background-color:#cacaca; text-align:center; " >14</td><td style="text-align:right; ">24/03/2004</td><td style="text-align:right; ">28/12/2007</td><td > </td><td >3 yrs, 9 mths, 4 days</td><td >3 years 9 months 4 days</td></tr><tr style="height:18px ;" ><td style="border-width:3; border-style
utset;border-color:#f0f0f0; background-color:#cacaca; text-align:center; " >15</td><td style="text-align:right; ">24/03/2004</td><td style="text-align:right; ">27/12/2007</td><td > </td><td >3 yrs, 9 mths, 3 days</td><td >3 years 9 months 3 days</td></tr><tr style="height:18px ;" ><td style="border-width:3; border-style
utset;border-color:#f0f0f0; background-color:#cacaca; text-align:center; " >16</td><td style="text-align:right; ">24/03/2004</td><td style="text-align:right; ">26/12/2007</td><td > </td><td >3 yrs, 9 mths, 2 days</td><td >3 years 9 months 2 days</td></tr><tr style="height:18px ;" ><td style="border-width:3; border-style
utset;border-color:#f0f0f0; background-color:#cacaca; text-align:center; " >17</td><td style="text-align:right; ">24/03/2004</td><td style="text-align:right; ">25/12/2007</td><td > </td><td >3 yrs, 9 mths, 1 days</td><td >3 years 9 months 1 days</td></tr><tr style="height:18px ;" ><td style="border-width:3; border-style
utset;border-color:#f0f0f0; background-color:#cacaca; text-align:center; " >18</td><td style="text-align:right; ">24/03/2004</td><td style="text-align:right; ">24/12/2007</td><td > </td><td >3 yrs, 9 mths, 0 days</td><td >3 years 9 months 0 days</td></tr></table><br /><table style="font-family:Arial; font-size:10pt; border-style: groove ;border-color:#00ff00;background-color:#fffcf9; color:#000000; "><tr><td ><b>Spreadsheet Formulas</b></td></tr><tr><td ><table border = "1" cellspacing="0" cellpadding="2" style="font-family:Arial; font-size:9pt;"><tr style="background-color:#cacaca; font-size:10pt;"><td >Cell</td><td >Formula</td></tr><tr><td >F7</td><td >=DATEDIF(C7,D7,"y") & " yrs, " & DATEDIF(C7,D7,"ym") & " mths, " & DATEDIF(C7,D7,"md") & " days"</td></tr><tr><td >G7</td><td >=YEAR(D7)-YEAR(C7)-(TEXT<span style=' color:008000; '>(D7,"mmdd")</span>< TEXT<span style=' color:008000; '>(C7,"mmdd")</span>)&" years "&MOD(MONTH<span style=' color:008000; '>(D7)</span>-MONTH<span style=' color:008000; '>(C7)</span>-<span style=' color:008000; '>(DAY<span style=' color:#0000ff; '>(D7)</span>< DAY<span style=' color:#0000ff; '>(C7)</span>)</span>,12)&" months "&D7-DATE(YEAR<span style=' color:008000; '>(D7)</span>,MONTH<span style=' color:008000; '>(D7)</span>-<span style=' color:008000; '>(DAY<span style=' color:#0000ff; '>(D7)</span>< DAY<span style=' color:#0000ff; '>(C7)</span>)</span>,DAY<span style=' color:008000; '>(C7)</span>)&" days"</td></tr></table></td></tr></table> <br />
Excel tables to the web - Excel Jeanie Html 4