Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Function Help

0 views
Skip to first unread message

silverflameca

unread,
Apr 3, 2006, 3:07:24 AM4/3/06
to

Hi, I need some help please. I'm trying to make a schedule with user
prompts. I already have a time part working, but I'm having trouble
with the date part:

Say cell A1 contains a date to be entered by the user viewing the
schedule. Another cell, say B1 will always contain a WEEKDAY number,
say 2 for Monday. I want cell C1 to have a formula that says 'YES' if
the date the user enters in A1 matches the WEEKDAY in B1 or 'NO' if the
dates don't match.

I hope I explained that clearly enough. Thanks for any help!


--
silverflameca
------------------------------------------------------------------------
silverflameca's Profile: http://www.excelforum.com/member.php?action=getinfo&userid=33099
View this thread: http://www.excelforum.com/showthread.php?threadid=529105

Bob Phillips

unread,
Apr 3, 2006, 4:04:43 AM4/3/06
to
=IF(WEEKDAY(A1)=B1,"YES","NO")

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"silverflameca" <silverflameca.25of...@excelforum-nospam.com>
wrote in message
news:silverflameca.25of...@excelforum-nospam.com...

0 new messages