+ Reply to Thread
Results 1 to 10 of 10

conditional format question re values or formulas excel 2003

  1. #1
    Registered User
    Join Date
    09-25-2012
    Location
    ny
    MS-Off Ver
    2016
    Posts
    18

    conditional format question re values or formulas excel 2003

    hi all,
    first time long time lol..

    in excel 2003, i am trying to apply conditional formatting
    to identify cells that are values or text,
    as opposed to those that are
    generated by formulas.
    (i overwrite some formulas in a cell range with values
    when my dde feeds trigger #N/A errors)
    searched topics for awhile but no luck.

    great resource here, thanks to all in advance.

    john.

  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,926

    Re: conditional format question re values or formulas excel 2003

    sorry, there is no regular function/formula that can tell the difference between a formula of an entry in a cell

    I do remember seeing a similar question a while back, some-one offered a VBA or add-in solution, cant remember which. I will try and see if i can find the reference, maybe some-one else knows how to do it?
    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
    09-25-2012
    Location
    ny
    MS-Off Ver
    2016
    Posts
    18

    Re: conditional format question re values or formulas excel 2003

    i did try if(left(A1,1)<>"=" but no dice.
    not sure if i even used right syntax.
    i get confused with the "" usage in the
    'formula is' entry box..

  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,926

    Re: conditional format question re values or formulas excel 2003

    the problem is that excel looks at the results of a formula, not the formula itself. for instance, as far as the contents of a cell is concerned, excel sees exactlyy the same contents for =1+1 as it does for a cell that just contains 2

    i get confused with the "" usage in the'formula is' entry box...
    you only use "" if are using text. so it would be "text" or 10. but that formula, clever though it is, will not work anyway (to prove it to yourself, in any cell - say A1, type =100+55. then in B1 type in =left(A1,1). the answer will be 1 (the left-most digit of 155), not =, as you were expecting

  5. #5
    Registered User
    Join Date
    09-25-2012
    Location
    ny
    MS-Off Ver
    2016
    Posts
    18

    Re: conditional format question re values or formulas excel 2003

    roger that. thanks!

  6. #6
    Forum Expert Moo the Dog's Avatar
    Join Date
    09-28-2012
    Location
    Wisconsin
    MS-Off Ver
    Office 365 (PC & Mac)
    Posts
    1,845

    Re: conditional format question re values or formulas excel 2003

    See this link, it will tell you exactly how to do it:

    http://www.techrepublic.com/article/...-excel/5766524

    - Moo

  7. #7
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: conditional format question re values or formulas excel 2003

    Here's another way
    Audere est facere

  8. #8
    Forum Expert Moo the Dog's Avatar
    Join Date
    09-28-2012
    Location
    Wisconsin
    MS-Off Ver
    Office 365 (PC & Mac)
    Posts
    1,845

    Re: conditional format question re values or formulas excel 2003

    That's a really good method too. Good to know.

  9. #9
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: conditional format question re values or formulas excel 2003

    If that takes care of your original query, please select Thread Tools from the menu above and mark the thread as solved. Thanks.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  10. #10
    Registered User
    Join Date
    09-25-2012
    Location
    ny
    MS-Off Ver
    2016
    Posts
    18

    Re: conditional format question re values or formulas excel 2003

    Quote Originally Posted by daddylonglegs View Post
    this one worked for me!

    thanks to all

+ 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