ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   cell formula (https://www.excelbanter.com/excel-programming/441432-cell-formula.html)

rslc[_3_]

cell formula
 
I have a cell formula i want to modify so it says "YES" if today is a
monday and "No" if today is any other day of the week.
=IF(B9="","YES","NO") at this stage it works if B9 is not empyy is
this possible?


thanks

rslc


Mike H

cell formula
 
Hi,

How about this

=IF(WEEKDAY(B9)=2,"Yes","No")
--
Mike

When competing hypotheses are otherwise equal, adopt the hypothesis that
introduces the fewest assumptions while still sufficiently answering the
question.


"rslc" wrote:

I have a cell formula i want to modify so it says "YES" if today is a
monday and "No" if today is any other day of the week.
=IF(B9="","YES","NO") at this stage it works if B9 is not empyy is
this possible?


thanks

rslc

.


Bob Phillips[_4_]

cell formula
 
Try

=IF(WEEKDAY(B9)=2,"YES","NO")

--

HTH

Bob

"rslc" wrote in message
...
I have a cell formula i want to modify so it says "YES" if today is a
monday and "No" if today is any other day of the week.
=IF(B9="","YES","NO") at this stage it works if B9 is not empyy is
this possible?


thanks

rslc





All times are GMT +1. The time now is 07:02 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com