fvo2715
New Member
I wonder if someone can help me the custom formula in Data Validation
I actually created an Attendance Sheet as details below:
![upload_2018-3-5_22-29-44.png upload_2018-3-5_22-29-44.png](https://chandoo.org/forum/data/attachments/50/50457-9424302f1bade1abfebe9eeeadadcbae.jpg)
and with a Holidays table.
I has used a conditional format for Weekends and Holidays highlighted
I was able to create a formula and place in Data Validation (custom) as below:
=AND(WEEKDAY(C$6,2)<=5*ISNA(MATCH(C$6,Holidays,0))) to block all entries for weekends and holidays.
My question is if for weekdays (Monday to Friday) only certain values can be entered onto cells like X or A or B or U (only 1 of 4 letters can be entered for weekdays.
So how I can make a formula and add it to the above formula (=AND(WEEKDAY(C$6,2)<=5*ISNA(MATCH(C$6,Holidays,0)))
and place it into Data Validation.
Thank You
I actually created an Attendance Sheet as details below:
![upload_2018-3-5_22-29-44.png upload_2018-3-5_22-29-44.png](https://chandoo.org/forum/data/attachments/50/50457-9424302f1bade1abfebe9eeeadadcbae.jpg)
and with a Holidays table.
I has used a conditional format for Weekends and Holidays highlighted
I was able to create a formula and place in Data Validation (custom) as below:
=AND(WEEKDAY(C$6,2)<=5*ISNA(MATCH(C$6,Holidays,0))) to block all entries for weekends and holidays.
My question is if for weekdays (Monday to Friday) only certain values can be entered onto cells like X or A or B or U (only 1 of 4 letters can be entered for weekdays.
So how I can make a formula and add it to the above formula (=AND(WEEKDAY(C$6,2)<=5*ISNA(MATCH(C$6,Holidays,0)))
and place it into Data Validation.
Thank You