+ Reply to Thread
Results 1 to 5 of 5

Identify cells containing formulas using conditional formatting

  1. #1
    Registered User
    Join Date
    10-01-2010
    Location
    Winnipeg, Canada
    MS-Off Ver
    Excel 2007
    Posts
    7

    Identify cells containing formulas using conditional formatting

    I need to identify cells in a column (i.e. W2:W4857) that either do contain a formula or don't contain a formula. I tried using this formula under the conditional formatting: =isformula($W$2:$W$4857), but it didn't work as isformula isn't available in excel 2007.

    This column has vertical (subtotals) and horizontal (U*V) formulae. Originally every cell in this column did contain a formula (there are no blank cells in this column before row 4857). My boss "overwrote" some of the cells by typing in text. (AGHHH!!!) Now I have find these cells to put the formulae back in so that the worksheet calculates properly. It wouldn't be a problem to copy the original formula (u*v) all the way down, but after the insertion of the subtotals, they are now in the way.

    Does anyone have a solution that doesn't use a macro??

  2. #2
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Identify cells containing formulas using conditional formatting

    One quick way is to select the range, hit F5 (GoTo) then Special, then formulas.
    That will select all your cells with formulas in them. Then change the background color on those cells. Then, in Excel 2007, you can filter by cell color (or "no fill"). Then when you're done, change things back. Does that work for you?
    Last edited by ChemistB; 06-07-2011 at 01:38 PM.
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Registered User
    Join Date
    10-01-2010
    Location
    Winnipeg, Canada
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: Identify cells containing formulas using conditional formatting

    Hi - thanks.That would work... but I guess I was looking for a quick way that wouldn't force me to remove then reinsert the subtotals....

  4. #4
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Identify cells containing formulas using conditional formatting

    you could try more functions add in
    http://xcell05.free.fr/morefunc/english/
    if thats not up try
    http://download.cnet.com/Morefunc/30...-10423159.html
    then select cell a1
    define a name of say " isformula" and make it
    =XLM.GET.CELL(48,Sheet1!A1)
    now apply conditional format to your range of use a formula option
    =isformula
    it works in 2007 i just tried it unfortunately i cant embed morefunc in excel 2007! to upload a sample
    Last edited by martindwilson; 06-08-2011 at 02:21 PM.
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  5. #5
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Identify cells containing formulas using conditional formatting

    Actually, Get.Cell(48,A1) is an old Macro 4 command that still works in Defined names. Remove the xlm part and it should work as Martin described without any add ins

+ 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