Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
i can use this formula in my excel {=DATEDIF(J5,H5,"d")} the results is VALUE
|
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi,
That's wrong formula. If you want to find if the cell contains Date, you can go for, =If(IsDate(yourCell),"D")) or =IsNumber(yourCell) the above formula will interpret both numbers and dates as produces boolean (yes / no) result. "insting" wrote: i can use this formula in my excel {=DATEDIF(J5,H5,"d")} the results is VALUE |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Huh?
IsDate isn't an XL function, and the OP's function works fine if J5 and H5 are dates, with J5<=H5. If you're not familiar with DATEDIF, see http://cpearson.com/excel/datedif.aspx In article , Nathan Jag <Nathan wrote: Hi, That's wrong formula. If you want to find if the cell contains Date, you can go for, =If(IsDate(yourCell),"D")) or =IsNumber(yourCell) the above formula will interpret both numbers and dates as produces boolean (yes / no) result. "insting" wrote: i can use this formula in my excel {=DATEDIF(J5,H5,"d")} the results is VALUE |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
First, if by {...} you're indicating that you're array-entering the
formula, you don't need to. What are the values in J5 and H5? DATEDIF requires that J5 and H5 are dates (and J5<=H5). If they are Text, instead, you'll get the #VALUE! error. In article , insting wrote: i can use this formula in my excel {=DATEDIF(J5,H5,"d")} the results is VALUE |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
And if you're really interested in the difference in days, you can use:
=h5-j5 and format as General (or not date) J5 and H5 must be real dates. insting wrote: i can use this formula in my excel {=DATEDIF(J5,H5,"d")} the results is VALUE -- Dave Peterson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
change "true" and "false" to "availble" and "out of stock" | Excel Worksheet Functions | |||
HELP on "left","right","find","len","substitute" functions | Excel Discussion (Misc queries) | |||
Count occurences of "1"/"0" (or"TRUE"/"FALSE") in a row w. conditions in the next | New Users to Excel | |||
Complex if test program possible? If "value" "value", paste "value" in another cell? | Excel Discussion (Misc queries) | |||
conditional formula to show "open" or "closed" | Excel Worksheet Functions |