How to apply changing conditional formatting to an array of columns

Jaylo801

New Member
Joined
Feb 18, 2024
Messages
7
Office Version
  1. 365
Platform
  1. Windows
  2. Mobile
  3. Web
Hello,
I am trying to apply conditional formatting to an array of data. Specifically, if data in a specific column g7:g87 is equal to the text value in g5, I want it to be green with green writing. I can easily do this for this one column. But actually I would like the same formatting to apply to columns H to AT, with the row numbers staying the same, while the column changes, so that the formatting applies to each individual column. Of course I can do this formatting operation 40 times but I'm hoping there is a quicker and easier way to do this.
 

Attachments

  • Excel query.PNG
    Excel query.PNG
    9 KB · Views: 10
OK thank you for that. That explains the problem. I can't see the spaces unless I look at the actual box with the text value in it. Something strange must have happened when I exported it from MS Forms. I'll see if I can clean up the data to make it work. Your help is greatly appreciated.
 
Upvote 0

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)
That is a great solution. I'll do it now. Thanks so much for your help. I would never have worked this out.
 
Upvote 0
You're welcome. Thanks for the follow-up. :)
Good luck with the data clean-up! :biggrin:
 
Upvote 0

Forum statistics

Threads
1,223,231
Messages
6,170,884
Members
452,364
Latest member
springate

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