View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.misc
Oldjay Oldjay is offline
external usenet poster
 
Posts: 337
Default Date verification

Thanks - Is there any way to conditionally format "Wrong Date" to red
"Dave Peterson" wrote:

=if(weekday(a1)=1,text(a1,"dddd"),"Wrong Date")



Oldjay wrote:

I have an input cell date that must be a Sunday
The next colunm over shows this date as a day of the week
I want the second cell to show "Wrong Date" if the date entered is not a
Sunday


--

Dave Peterson