Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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 |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
=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 |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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 |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Format|conditional formatting:
Cell value is: Equal to: Wrong date Excel will change that last string to: ="wrong date" Oldjay wrote: 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 -- Dave Peterson |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Thanks
"Dave Peterson" wrote: Format|conditional formatting: Cell value is: Equal to: Wrong date Excel will change that last string to: ="wrong date" Oldjay wrote: 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 -- Dave Peterson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
IF and Date Functions | Excel Worksheet Functions | |||
insert date | Excel Worksheet Functions | |||
Insert Automatic, Non-Updating Date Stamp | Excel Discussion (Misc queries) | |||
Need to Improve Code Copying/Pasting Between Workbooks | Excel Discussion (Misc queries) | |||
Another Date issue. | Excel Worksheet Functions |