I am trying to make a formula for a cell that checks whether or not the date next to it is a holiday...If true, it outputs the holiday name. If false, it outputs a location name based on the day of the week. I have been able to do each of these separately (holiday output and location output), but can't think of how to do it together. On days that are a holiday, I don't need the location.
I have a calendar with all the dates automatically filled in (column A). It also changes the color for weekends, and a different color for holidays. I used nested if statements to have it check my list of holidays (in Japan), and return the name of the holidays in the next column (column B) for days that are holidays. What I would like it to do, is to write a location name in column B, for days that are not holidays, based on the day of the week. So, if it is a holiday, the holiday name would appear. If not, a location name would appear, based on the day of the week (Monday & Tuesday: LOCATION 1, Wednesday & Thursday: LOCATION 2, FRIDAY: LOCATION 3, Sat & Sun: blank).
I can do this using nested IF statements for either the holiday check or the weekday check, but not together. There is probably an easier way to do this than nested IF statements, but I can't figure it out. If there was an ELSE statement in Excel, I would use the formula "(nested IF statements to check for holidays) ELSE (nested IF statements to fill in locations).
Bookmarks