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

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)
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,896
Messages
6,175,262
Members
452,627
Latest member
KitkatToby

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