View Single Post
  #6   Report Post  
Posted to microsoft.public.excel.misc
Don Guillett Don Guillett is offline
external usenet poster
 
Posts: 10,124
Default DATE as part of a formula

Did you look at my post
=if(a1=today(),1,2)


--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"EMW103" wrote in message
...
No luck :-(

"Gary''s Student" wrote:

First install this UDF:

Function isdatee(r As Range) As Boolean
isdatee = IsDate(r.Value)
End Function

and then the formula becomes:

=IF(isdatee(Q11), P11,"")
--
Gary''s Student - gsnu200829


"EMW103" wrote:

Why doesn't this formula work? =IF(Q11=DATE, P11). Can you not use a
date
as part of a calculation or question, and if not, what alternative
would be
recommended?

The idea is: The formula I want is to copy cell P11 into cell R11 if
there's
text/data(which in this case is a date) in cell Q11. Is there
something
other than DATE that I could use?

----------------
This post is a suggestion for Microsoft, and Microsoft responds to the
suggestions with the most votes. To vote for this suggestion, click the
"I
Agree" button in the message pane. If you do not see the button, follow
this
link to open the suggestion in the Microsoft Web-based Newsreader and
then
click "I Agree" in the message pane.

http://www.microsoft.com/office/comm...lic.excel.misc