Results 1 to 4 of 4

Combining INDIRECT with OR for use in conditional formatting

Threaded View

  1. #1
    Forum Contributor
    Join Date
    08-04-2010
    Location
    Adelaide, Australia
    MS-Off Ver
    Office 365
    Posts
    176

    Combining INDIRECT with OR for use in conditional formatting

    Hi all,

    this might seem like a simple question to some of the more experienced users but here 'tis...

    I'm using conditional formatting with a formula to highlight certain rows where a column contains a specific piece of text, for example:
    =INDIRECT("C"&ROW())="Text 1"
    What I'd like to do is check for several different pieces of text and so I thought that using an OR statement might help - thing is, I don't know whether to put the OR before the INDIRECT, or vice versa - I've tried both ways but I guess I must be leaving out a comma or parenthesis (or something) because it's not working the way I would like.

    This what I've been trying...
    =INDIRECT(OR("C"&ROW())="Text 1",("C"&ROW())="Text 2")
    Any ideas on what I'm doing wrong here?

    Cheers,

    AJ
    Last edited by ScotyB; 05-06-2012 at 01:18 AM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1