How to do conditional formatting based on two cell values?

srk

New Member
Joined
Feb 27, 2009
Messages
8
This particular question is regarding highlighting dates on a premade calendar.

The calendar is made as below:
Tasks1-1-2014
1-2-2014
1-3-2014
... and so on...
Task1
Task2

<tbody>
</tbody>


The data table is given as below:
Tasks
Date
Task11-3-2014
Task22-14-2014

<tbody>
</tbody>


I need to highlight the cell in the calendar that matches both the task and the date in the data table. For example- in the situation above, D1 would be highlighted.

Can someone please help me out with this. I've been spending all day to find out a solution for this, and am about to start banging my head against the wall.
 

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.

cyrilbrd

Well-known Member
Joined
Feb 2, 2012
Messages
4,085
Office Version
  1. 365
Platform
  1. Windows
  2. Mobile
Most welcome.
Thanks for the feedback.
 

Forum statistics

Threads
1,171,631
Messages
5,876,556
Members
433,200
Latest member
CoolBlue_

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
Top