![]() |
Function Help
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...o&userid=33099 View this thread: http://www.excelforum.com/showthread...hreadid=529105 |
Function Help
=IF(WEEKDAY(A1)=B1,"YES","NO")
-- HTH Bob Phillips (remove nothere from email address if mailing direct) "silverflameca" wrote in message news:silverflameca.25ofmo_1144048208.2856@excelfor um-nospam.com... 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...o&userid=33099 View this thread: http://www.excelforum.com/showthread...hreadid=529105 |
All times are GMT +1. The time now is 02:19 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com