Conditional Formatting using OR and INDIRECT

MartinBecks

New Member
Joined
Jul 7, 2014
Messages
12
I want to use the following conditional format to highlight the row when anyone of these three is chosen from a drop down menu but nothing happens. I can however break it into 3 different conditional formats which works great but I want to apply this rule to several sheets thereby cutting it down to one formula.

=INDIRECT("C"&ROW())=OR(NEW, OLD, REUSED)

Please help. Make this conditional format work.
 

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.
Try this it worked fine when I tested it:
=OR(INDIRECT("C"&ROW())={"NEW","OLD","REUSED"})


Excel 2010
ABC
1TRUEnew
Sheet40
Cell Formulas
RangeFormula
A1=OR(INDIRECT("C"&ROW())={"NEW","OLD","REUSED"})
 
Last edited:
Upvote 0
When I try using that as a formatting rule. I get the following error. "You may not use reference operations (such as unions, intersections, and ranges) or array constants for Conditional Formatting criteria."

Then when I tried changing the { to ( it says my formula has an error. And when I tried removing the { it accepted the formula but the conditional formatting feature did not work. :(
 
Upvote 0
The only thing that I could get to work is a helper cell where the formula can go. Then just point the conditional formatting to that cell.

Edit: Cells A1:C1 are highlighted green on my test spreadsheet, but for some reason are not green here. But this works just fine. If you need any help with entering the conditional formatting it's very easy. I did not enter three formulas into conditional formatting, only one, it just shows three because Excel copies it internally because of the way I entered it.

Sheet40

*ABC
1TRUE*New

<tbody>
</tbody>

Spreadsheet Formulas
CellFormula
A1=OR(INDIRECT("C"&ROW())={"NEW","OLD","REUSED"})

<tbody>
</tbody>

<tbody>
</tbody>

Conditional formatting
CellNr.: / ConditionFormat
A11. / Formula is =$A$1=TRUEAbc
B11. / Formula is =$A$1=TRUEAbc
C11. / Formula is =$A$1=TRUEAbc

<tbody>
</tbody>

<tbody>
</tbody>


Excel tables to the web >> Excel Jeanie HTML 4
 
Last edited:
Upvote 0

Forum statistics

Threads
1,216,797
Messages
6,132,747
Members
449,757
Latest member
budha465

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