Conditional formatting in ODBC query

j3andc

Board Regular
Joined
Mar 4, 2002
Messages
172
I have a ODBC query where I want to highlight certain rows when a cell contains the number 1. This last cell is outside of the ODBC query.

So far I cannot get the whole row to highlight only one cell. Any help would be greatly appreciated.

Thanks

Jim S.
 

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.
What is the cell you want to check for 1? What columns contain your data?

In general you want to format the entire set of data using the rule

=$B1=1

where you want to test each row to see if there is a 1 in column B. I am guessing you are close but missing the $.
 
Upvote 0
I just discovered that it is the difference between =$B$1 = 1 and =$B1 = 1. The second one worked.
 
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