+ Reply to Thread
Results 1 to 4 of 4

Conditional Formatting to evaluate formula result not cell value

  1. #1
    Registered User
    Join Date
    07-26-2011
    Location
    Lake Luzerne, New York
    MS-Off Ver
    Excel 2003, Excel 2007
    Posts
    24

    Conditional Formatting to evaluate formula result not cell value

    I'm trying to use conditional formatting (in Excel 2003) to format a row of data if column A contains any data at all. I know the formula for this is

    ="$A1<>0" (assuming you have a range of cells selected)

    Now I've linked a group of cells to a second page, using this formula. But it turns out I can't use the same formula in my new page to achieve the same result as it sees the link formula as a value and formats my cells, unwanted.

    How can I get conditional formatting to look at the result of the formula and not the fact that its there.

    I know this is probably already posted somewhere but for the life of me I can't find it; probably not searching for the right thing.

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,939

    Re: Conditional Formatting to evaluate formula result not cell value

    1st, remove the "" then change it to =$a1<>"" use "use formula"
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    07-26-2011
    Location
    Lake Luzerne, New York
    MS-Off Ver
    Excel 2003, Excel 2007
    Posts
    24

    Re: Conditional Formatting to evaluate formula result not cell value

    Hey, thanks a bunch...that was so obvious it was painful!

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,939

    Re: Conditional Formatting to evaluate formula result not cell value

    you'r welcome. If this answered your question, please take a moment to mark the thread as "solved" - it helps keep things neat and tidy lol, and consider adding the reputation to those that helped (see points 2 & 3 below)

+ Reply to Thread

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