Conditional format one cell based on two other cells matching

manzier

Board Regular
Joined
Jul 21, 2014
Messages
96
Hi all,

I need help figuring out how to conditional format one cell based on two other cells matching. I have the main data sheet where the dates are. Then on another tab I have each day of the month listed out and below it a blank square (think of a calendar). When there is activity on a date in the main data sheet, i want the square below the corresponding date in the other sheet to turn a certain color.

To make it even harder, I'd like the color to be a different color based on another column in the main data sheet.

Not sure how to go about this

Main data sheet (example):
DateType
4/1/15Random1
4/5/15Random2

<tbody>
</tbody>


Second data sheet (example):
4/1/154/2/154/3/154/4/154/5/15
(Green fill)(Blue Fill)

<tbody>
</tbody>



Thanks for the help!
 

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)
you should be able to do with an index/match or vlookup()
But will the colour be specific to the content on main data sheet
ie
Random 1 = green
Random 2 = blue

how many items will there be in type

what version of excel

can you perhaps put a sample sheet on a share like dropbox or onedrive
 
Upvote 0

Forum statistics

Threads
1,216,084
Messages
6,128,724
Members
449,465
Latest member
TAKLAM

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