How to: Highlight Column based on a search criteria?

Minilin

New Member
Joined
Oct 19, 2021
Messages
31
Office Version
  1. 365
Platform
  1. Windows
Hiya,

I would like to be able to highlight a column if a cell equals a specific week number.

Please see attached picture for an example of what I am looking to achieve.

I want to be able to type in the week number, in this example 52, and the related column then highlights in grey.

Assuming this will need some sort of conditional formatting as well as a formula.

Tried using a formula to highlight column based on specific number but I couldn't get it to work and I now can't find the version with the formula in it :(

Thanks in advance
 

Attachments

  • Example 4.png
    Example 4.png
    34.3 KB · Views: 8

Excel Facts

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.
Select the range you want it to work on, like E6:BD50 then conditional format, new rule, use a formula & use
Excel Formula:
=E$7=$C$3
 
Upvote 0
Solution
Select the range you want it to work on, like E6:BD50 then conditional format, new rule, use a formula & use
Excel Formula:
=E$7=$C$3
Thank you, knew it would be simple enough!
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,214,588
Messages
6,120,412
Members
448,960
Latest member
AKSMITH

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