Conditional Formatting Vacation Tracker

aroesch

New Member
Joined
Nov 26, 2020
Messages
1
Office Version
  1. 365
Platform
  1. Windows
Excel newbie here...

I am trying to conditionally format an excel calendar based on multiple criteria. I have the calendar on one worksheet and a table with a list of time taken off on another worksheet.

I was able to use the MATCH function to compare the dates in the holidays table with the dates in the calendar, but I am not sure how to nest the MATCH function with other criteria. I think I need to use the AND function with MATCH but I am unsure how to combine the two functions.

I tried to combine using the formula below to highlight the calendar blue on vacation days (should be 10/19), but it didn't seem to work.

=AND(MATCH(B6,'2020 PTO Tracker'!$B$5:$B$15,0)>0,'2020 PTO Tracker'!$C$5:$C$15>0)

Can someone tell me what I am doing wrong?
1606424776224.png

1606423481284.png
 

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes
Welcome to the forum.

I have a lot of trouble trying to figure out formulas from a picture like the one you posted. If you upload that portion of your spreadsheet with the xl2bb tool [see link in my signature below], it would be easier for someone to help you.
 
Upvote 0

Forum statistics

Threads
1,214,786
Messages
6,121,553
Members
449,038
Latest member
Guest1337

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top