+ Reply to Thread
Results 1 to 9 of 9

Conditional Formatting with Formula Containing

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    03-12-2012
    Location
    Singapore
    MS-Off Ver
    MS 365
    Posts
    532

    Conditional Formatting with Formula Containing

    Hi, is it possible to have Conditonal Formatting with Formula Containing certain Function? Lets say i wan to highlight those in which formula vlookup.

  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
    53,048

    Re: Conditional Formatting with Formula Containing

    short answer - no, not in 2010

    =isformula() came out in 2016, I think
    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
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,260

    Re: Conditional Formatting with Formula Containing

    Hi jp,

    I don't think this is possible in Excel. You do have a tool called "Show Formulas" on the Formulas Tab. Also, there is a tool in PUP 7 that will list all formulas on a sheet or the workbook. It is under Reports and then Formula Report.


    http://spreadsheetpage.com/index.php/pupv7/home/
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  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
    53,048

    Re: Conditional Formatting with Formula Containing

    @ Marvin, I have 2016, and just tested ISFORMULA() in CF and it worked

  5. #5
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,260

    Re: Conditional Formatting with Formula Containing

    Hey Ford,

    Glad you're back and keeping me honest. But this OP wanted to mark all cells that had a formula and a VLookup() in them. Can we get there with just the IsFormula()?

    Stents?

  6. #6
    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
    53,048

    Re: Conditional Formatting with Formula Containing

    OK, I missed looking for a specific function, but looks like it is still possible...
    CF rule =SEARCH("vlookup",FORMULATEXT(D31))

  7. #7
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,260

    Re: Conditional Formatting with Formula Containing

    Can you attach a worksheet that shows it doing its thing? I've tried to put your formula in a CF rule without success. I must be missing something (and I'm not great with CF anyhow).

  8. #8
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,260

    Re: Conditional Formatting with Formula Containing

    Hey Ford,

    I woke up this morning remembering Format Painter and finished this problem. YOU ARE Correct. The Conditional Formatting formula to pull out formulas with "Vlookup" in them is:

    =SEARCH("VLOOKUP",FORMULATEXT(A1))

    and then apply this rule to the whole worksheet some thing like:

    =$A$1:$AA$1000

    Thanks for the correction. It is possible to CF a certain formula function!

  9. #9
    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
    53,048

    Re: Conditional Formatting with Formula Containing

    Thanks Marvin. I really only tried that for the 1st time, on this question, so it is a good technique to remember. Thanks for the feedback

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 3
    Last Post: 06-19-2015, 07:16 AM
  2. Formatting Cells with Date or Text Values in a Conditional Formatting Formula
    By Phil Hageman in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-15-2014, 09:36 AM
  3. Opening xlsm files with conditional formatting opens with removed conditional formatting
    By Martijn.Steenbakker in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-07-2014, 05:38 AM
  4. If Formula - conditional formatting - three different formatting rules
    By sharper1989 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 02-25-2014, 04:49 PM
  5. Replies: 3
    Last Post: 11-28-2013, 02:11 AM
  6. Replies: 1
    Last Post: 07-19-2012, 05:37 AM
  7. Replies: 6
    Last Post: 03-12-2006, 06:30 PM

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