+ Reply to Thread
Results 1 to 3 of 3

Formulas not evaluating

Hybrid View

  1. #1
    Registered User
    Join Date
    01-21-2012
    Location
    San Francisco, California, USA
    MS-Off Ver
    Excel 2010
    Posts
    13

    Formulas not evaluating

    What makes Excel refuse to evaluate a formula, apparently at random? This happens to me in a variety of situations, with fairly simple formulas, quite often non-arithmetic ones. The formula will work fine in another book or sheet or even another column of the same sheet, yet the sheet is usually very homogenous, e.g., an address list or parts list. Today's stubborn formula is:

    =IF(LEFT(G1,2)="S4",G1,"")

    which works fine in one part of the sheet but just displays itself (the formula) if entered in another. The cells are all formatted as text and of course this is a text task, not a math task. If I enter the formula in a "good" column of the sheet, then *copy* it to an "evil" column and of course edit the G1 reference appropriately, it works. If I then copy it downward from there for several cells they all evaluate fine, but if I edit the IF match string "S4" in one of those cells, it goes back to displaying just the formula in that cell. Why?? At most the only differences between the two columns are font and color, and there's no difference at all among the cells in the same column.

    It doesn’t happen only with =IFs. I’ve had =CONCATENATE formulas fail the same way, as well as random others.

    If I'm missing something stupid, go ahead & call me stupid, but please tell me what it is!

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

    Re: Formulas not evaluating

    don't format cell as text formating has nothing to do with the formula result,format as general
    "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

  3. #3
    Registered User
    Join Date
    01-21-2012
    Location
    San Francisco, California, USA
    MS-Off Ver
    Excel 2010
    Posts
    13

    Re: Formulas not evaluating

    Ahhhhh. Thank you Martin.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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