>I can't see anything wrong with the formula, and have copied it to
> XL2000 and it works fine. There must be something about that
[quoted text clipped - 21 lines]
>>
>> Thank you for saving my sanity.
Thanks Pete, the answer is my age (cat's outa the bag now!). That's the
problem, any other workbook or worksheet it works fine, but the one
particular one I want it to work in, it gives me the # VALUE ! error,
nowhere else do I have any problems. Exact same problem with other similiar
formulas with datedif work in every other location but the one I want it to
work in.
What, in this particular worksheet could cause this error, and how do
I find it? The spreadsheet is basically a homegrown debit/asset sheet for my
checkbook tracking, nothing special in it that I am aware of.
Glen
Pete_UK - 23 Nov 2007 00:24 GMT
Glen,
the only way I have been able to generate the #VALUE error with that
formula is if I change one of the numbers to 15:487 or 154:87, i.e.
put a colon in it. I thought you would have copy/pasted the formula
directly into your post, but if you typed it in you may have typed it
correctly and the formula in the worksheet is incorrect - just have a
very close look at your formula in the formula bar to see if there is
anything wrong with the numbers. You might like to change them to the
actual dates.
Hope this helps.
Pete
> Thanks Pete, the answer is my age (cat's outa the bag now!). That's the
> problem, any other workbook or worksheet it works fine, but the one
[quoted text clipped - 8 lines]
>
> Glen
Gord Dibben - 23 Nov 2007 00:33 GMT
I also tried it out in Excel 2003
No problem.
I can't replicate the error.
Also tried with the number 15549 and returned 65 Yrs, 3 Mnths, 26 Dys after
editing the formula to insert the spaces.
Another cat out of the bag<g>
Gord Dibben MS Excel MVP
>>I can't see anything wrong with the formula, and have copied it to
>> XL2000 and it works fine. There must be something about that
[quoted text clipped - 34 lines]
>
> Glen