Hlookup in conditional formating

MiStr

New Member
Joined
Mar 25, 2010
Messages
43
Hallo friends,
I would like to ask you for help to set up formula in Conditional formating for cells I think base on "HLOOKUP".
Snímka obrazovky 2023-01-19 113350.jpg


I have in the row 58 names of days (Array G58:AK58) of the week generated base on the date below (row 59). As I change the date/month in the cell G59 (first day of the month), in the array G58:AK58 will automatically change names of days of the week for whole month. My goal is to change base on the name of the day Saturday/Sunday with Conditional formating the background of cells in the whole table below Saturdays (e.g. orange) and Sundays (e.g. red). Last row of the table is "80".
Please could you help me with this issue.

Thank you for your soon response.
 

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.
Select G58:AK80 & then use this rule for Saturday
Excel Formula:
=WEEKDAY(G$59,2)=6
 
Upvote 0

Forum statistics

Threads
1,214,657
Messages
6,120,769
Members
448,991
Latest member
Hanakoro

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