Conditional Formatting Dynamic Column Based on Cell Value

Charles651

New Member
Joined
Jul 11, 2015
Messages
6
I'm trying to find a way to use conditional formatting to highlight a column based on a value in the cell on the column's top row. The length of the row changes from day to day so the value can appear in different columns but will appear only once in that row. For instance, I have a row beginning at A6 and ending at K6 for today's spreadsheet, but tomorrow the row values could stop at J6 or L6. The values in the row are, from A6 to K6:

A B C D E F G H I J K
1
2
3
4
5
6 -5 -4 -3 -2 -1 0 1 2 3 4 5

I want the formula to look for the cell ("F6" in this case) containing "0" and then highlight the cell and all those below it in the same column. I'd appreciate any guidance on how to do this, if it can be done.
 

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
I apologize for this but my table spacing in the example did not format properly. The numbers down the left represent row numbers. Cell A6 is -5, Cell B6 is -4, and so on.
 
Upvote 0

Forum statistics

Threads
1,223,246
Messages
6,170,987
Members
452,373
Latest member
TimReeks

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