+ Reply to Thread
Results 1 to 11 of 11

IF Statement Problem

  1. #1
    RagDyer
    Guest

    Re: IF Statement Problem

    If the cell was formatted as Text when the formula was entered, simply
    changing the format to "General" or "Number" is *not* good enough.
    You must re-enter (register) the formula *after* the format revision.
    Just clicking in the formula bar, and then hitting <Enter> will do.

    Since you say that this problem is not too prevelant in your WS, you could
    click in a "bad" formula cell, and try this keyboard shortcut to change the
    format and register the formula:
    <Ctrl> <Shift> <~>
    Then
    <F2>
    then
    <Enter>
    --
    HTH,

    RD
    ==============================================
    Please keep all correspondence within the Group, so all may benefit!
    ==============================================

    "Bryan" <Bryan@discussions.microsoft.com> wrote in message
    news:BA5E85CB-D461-41FA-B96B-95B9C6286A96@microsoft.com...
    > Using Excel 2000. I use a lot of IF statements in a machinery database

    for
    > desiganating options. Most of the time IF statements I create work
    > correctly, but occassionally I have the problem where the statement works
    > correctly and displays the correct information using the wizard, but the

    cell
    > itself displays only the formula, as if an ' was in front of the equation.

    I
    > have tried checking the cell formats (in this case I'm formatting the cell

    as
    > text), but I can't pin down why it works correctly 99.9% of the time, and
    > other times it doesn't. Any ideas would be helpful.... Thanks, BL




  2. #2
    Kevin M
    Guest

    RE: IF Statement Problem

    Hi Bryan, every once in a while i get that as well, unfortunately i have no
    work around other than to delete the cell and try again. I train Excel in my
    company and one of my training sheets has a similar problem, if i move it
    away to another cell it'll start working again. Not too much help sorry

    HTH,

    Kevin M

    "Bryan" wrote:

    > Using Excel 2000. I use a lot of IF statements in a machinery database for
    > desiganating options. Most of the time IF statements I create work
    > correctly, but occassionally I have the problem where the statement works
    > correctly and displays the correct information using the wizard, but the cell
    > itself displays only the formula, as if an ' was in front of the equation. I
    > have tried checking the cell formats (in this case I'm formatting the cell as
    > text), but I can't pin down why it works correctly 99.9% of the time, and
    > other times it doesn't. Any ideas would be helpful.... Thanks, BL


  3. #3
    Gary's Student
    Guest

    RE: IF Statement Problem

    If a cell displays the formula instead of the results of the formula, the
    trouble is usually that the cell containing the formula is formatted as text.
    This is the same as putting a single quote in front of it. (as you pointed
    out). Try changing the format of the cell containing the formula to general.
    --
    Gary's Student


    "Bryan" wrote:

    > Using Excel 2000. I use a lot of IF statements in a machinery database for
    > desiganating options. Most of the time IF statements I create work
    > correctly, but occassionally I have the problem where the statement works
    > correctly and displays the correct information using the wizard, but the cell
    > itself displays only the formula, as if an ' was in front of the equation. I
    > have tried checking the cell formats (in this case I'm formatting the cell as
    > text), but I can't pin down why it works correctly 99.9% of the time, and
    > other times it doesn't. Any ideas would be helpful.... Thanks, BL


  4. #4
    Bryan
    Guest

    Re: IF Statement Problem

    RD,
    Sorry for the late reply, but I just got back in the office to face this
    problem again, and your keyboard register worked!!! Can't tell you how much
    I appreciate your answer, and how many hours you have saved me!! Thanks, BL


    "RagDyer" wrote:

    > If the cell was formatted as Text when the formula was entered, simply
    > changing the format to "General" or "Number" is *not* good enough.
    > You must re-enter (register) the formula *after* the format revision.
    > Just clicking in the formula bar, and then hitting <Enter> will do.
    >
    > Since you say that this problem is not too prevelant in your WS, you could
    > click in a "bad" formula cell, and try this keyboard shortcut to change the
    > format and register the formula:
    > <Ctrl> <Shift> <~>
    > Then
    > <F2>
    > then
    > <Enter>
    > --
    > HTH,
    >
    > RD
    > ==============================================
    > Please keep all correspondence within the Group, so all may benefit!
    > ==============================================
    >
    > "Bryan" <Bryan@discussions.microsoft.com> wrote in message
    > news:BA5E85CB-D461-41FA-B96B-95B9C6286A96@microsoft.com...
    > > Using Excel 2000. I use a lot of IF statements in a machinery database

    > for
    > > desiganating options. Most of the time IF statements I create work
    > > correctly, but occassionally I have the problem where the statement works
    > > correctly and displays the correct information using the wizard, but the

    > cell
    > > itself displays only the formula, as if an ' was in front of the equation.

    > I
    > > have tried checking the cell formats (in this case I'm formatting the cell

    > as
    > > text), but I can't pin down why it works correctly 99.9% of the time, and
    > > other times it doesn't. Any ideas would be helpful.... Thanks, BL

    >
    >
    >


  5. #5
    RagDyeR
    Guest

    Re: IF Statement Problem

    Thanks for the feed-back, no matter how belated.
    --

    Regards,

    RD
    ----------------------------------------------------------------------------
    -------------------
    Please keep all correspondence within the Group, so all may benefit !
    ----------------------------------------------------------------------------
    -------------------

    "Bryan" <Bryan@discussions.microsoft.com> wrote in message
    news:45ABBEF5-8923-47DA-BCFE-3BC75E74F2DF@microsoft.com...
    RD,
    Sorry for the late reply, but I just got back in the office to face this
    problem again, and your keyboard register worked!!! Can't tell you how much
    I appreciate your answer, and how many hours you have saved me!! Thanks,
    BL


    "RagDyer" wrote:

    > If the cell was formatted as Text when the formula was entered, simply
    > changing the format to "General" or "Number" is *not* good enough.
    > You must re-enter (register) the formula *after* the format revision.
    > Just clicking in the formula bar, and then hitting <Enter> will do.
    >
    > Since you say that this problem is not too prevelant in your WS, you could
    > click in a "bad" formula cell, and try this keyboard shortcut to change

    the
    > format and register the formula:
    > <Ctrl> <Shift> <~>
    > Then
    > <F2>
    > then
    > <Enter>
    > --
    > HTH,
    >
    > RD
    > ==============================================
    > Please keep all correspondence within the Group, so all may benefit!
    > ==============================================
    >
    > "Bryan" <Bryan@discussions.microsoft.com> wrote in message
    > news:BA5E85CB-D461-41FA-B96B-95B9C6286A96@microsoft.com...
    > > Using Excel 2000. I use a lot of IF statements in a machinery database

    > for
    > > desiganating options. Most of the time IF statements I create work
    > > correctly, but occassionally I have the problem where the statement

    works
    > > correctly and displays the correct information using the wizard, but the

    > cell
    > > itself displays only the formula, as if an ' was in front of the

    equation.
    > I
    > > have tried checking the cell formats (in this case I'm formatting the

    cell
    > as
    > > text), but I can't pin down why it works correctly 99.9% of the time,

    and
    > > other times it doesn't. Any ideas would be helpful.... Thanks, BL

    >
    >
    >




  6. #6
    Bryan
    Guest

    IF Statement Problem

    Using Excel 2000. I use a lot of IF statements in a machinery database for
    desiganating options. Most of the time IF statements I create work
    correctly, but occassionally I have the problem where the statement works
    correctly and displays the correct information using the wizard, but the cell
    itself displays only the formula, as if an ' was in front of the equation. I
    have tried checking the cell formats (in this case I'm formatting the cell as
    text), but I can't pin down why it works correctly 99.9% of the time, and
    other times it doesn't. Any ideas would be helpful.... Thanks, BL

  7. #7
    RagDyer
    Guest

    Re: IF Statement Problem

    If the cell was formatted as Text when the formula was entered, simply
    changing the format to "General" or "Number" is *not* good enough.
    You must re-enter (register) the formula *after* the format revision.
    Just clicking in the formula bar, and then hitting <Enter> will do.

    Since you say that this problem is not too prevelant in your WS, you could
    click in a "bad" formula cell, and try this keyboard shortcut to change the
    format and register the formula:
    <Ctrl> <Shift> <~>
    Then
    <F2>
    then
    <Enter>
    --
    HTH,

    RD
    ==============================================
    Please keep all correspondence within the Group, so all may benefit!
    ==============================================

    "Bryan" <Bryan@discussions.microsoft.com> wrote in message
    news:BA5E85CB-D461-41FA-B96B-95B9C6286A96@microsoft.com...
    > Using Excel 2000. I use a lot of IF statements in a machinery database

    for
    > desiganating options. Most of the time IF statements I create work
    > correctly, but occassionally I have the problem where the statement works
    > correctly and displays the correct information using the wizard, but the

    cell
    > itself displays only the formula, as if an ' was in front of the equation.

    I
    > have tried checking the cell formats (in this case I'm formatting the cell

    as
    > text), but I can't pin down why it works correctly 99.9% of the time, and
    > other times it doesn't. Any ideas would be helpful.... Thanks, BL




  8. #8
    Kevin M
    Guest

    RE: IF Statement Problem

    Hi Bryan, every once in a while i get that as well, unfortunately i have no
    work around other than to delete the cell and try again. I train Excel in my
    company and one of my training sheets has a similar problem, if i move it
    away to another cell it'll start working again. Not too much help sorry

    HTH,

    Kevin M

    "Bryan" wrote:

    > Using Excel 2000. I use a lot of IF statements in a machinery database for
    > desiganating options. Most of the time IF statements I create work
    > correctly, but occassionally I have the problem where the statement works
    > correctly and displays the correct information using the wizard, but the cell
    > itself displays only the formula, as if an ' was in front of the equation. I
    > have tried checking the cell formats (in this case I'm formatting the cell as
    > text), but I can't pin down why it works correctly 99.9% of the time, and
    > other times it doesn't. Any ideas would be helpful.... Thanks, BL


  9. #9
    Gary's Student
    Guest

    RE: IF Statement Problem

    If a cell displays the formula instead of the results of the formula, the
    trouble is usually that the cell containing the formula is formatted as text.
    This is the same as putting a single quote in front of it. (as you pointed
    out). Try changing the format of the cell containing the formula to general.
    --
    Gary's Student


    "Bryan" wrote:

    > Using Excel 2000. I use a lot of IF statements in a machinery database for
    > desiganating options. Most of the time IF statements I create work
    > correctly, but occassionally I have the problem where the statement works
    > correctly and displays the correct information using the wizard, but the cell
    > itself displays only the formula, as if an ' was in front of the equation. I
    > have tried checking the cell formats (in this case I'm formatting the cell as
    > text), but I can't pin down why it works correctly 99.9% of the time, and
    > other times it doesn't. Any ideas would be helpful.... Thanks, BL


  10. #10
    Bryan
    Guest

    Re: IF Statement Problem

    RD,
    Sorry for the late reply, but I just got back in the office to face this
    problem again, and your keyboard register worked!!! Can't tell you how much
    I appreciate your answer, and how many hours you have saved me!! Thanks, BL


    "RagDyer" wrote:

    > If the cell was formatted as Text when the formula was entered, simply
    > changing the format to "General" or "Number" is *not* good enough.
    > You must re-enter (register) the formula *after* the format revision.
    > Just clicking in the formula bar, and then hitting <Enter> will do.
    >
    > Since you say that this problem is not too prevelant in your WS, you could
    > click in a "bad" formula cell, and try this keyboard shortcut to change the
    > format and register the formula:
    > <Ctrl> <Shift> <~>
    > Then
    > <F2>
    > then
    > <Enter>
    > --
    > HTH,
    >
    > RD
    > ==============================================
    > Please keep all correspondence within the Group, so all may benefit!
    > ==============================================
    >
    > "Bryan" <Bryan@discussions.microsoft.com> wrote in message
    > news:BA5E85CB-D461-41FA-B96B-95B9C6286A96@microsoft.com...
    > > Using Excel 2000. I use a lot of IF statements in a machinery database

    > for
    > > desiganating options. Most of the time IF statements I create work
    > > correctly, but occassionally I have the problem where the statement works
    > > correctly and displays the correct information using the wizard, but the

    > cell
    > > itself displays only the formula, as if an ' was in front of the equation.

    > I
    > > have tried checking the cell formats (in this case I'm formatting the cell

    > as
    > > text), but I can't pin down why it works correctly 99.9% of the time, and
    > > other times it doesn't. Any ideas would be helpful.... Thanks, BL

    >
    >
    >


  11. #11
    RagDyeR
    Guest

    Re: IF Statement Problem

    Thanks for the feed-back, no matter how belated.
    --

    Regards,

    RD
    ----------------------------------------------------------------------------
    -------------------
    Please keep all correspondence within the Group, so all may benefit !
    ----------------------------------------------------------------------------
    -------------------

    "Bryan" <Bryan@discussions.microsoft.com> wrote in message
    news:45ABBEF5-8923-47DA-BCFE-3BC75E74F2DF@microsoft.com...
    RD,
    Sorry for the late reply, but I just got back in the office to face this
    problem again, and your keyboard register worked!!! Can't tell you how much
    I appreciate your answer, and how many hours you have saved me!! Thanks,
    BL


    "RagDyer" wrote:

    > If the cell was formatted as Text when the formula was entered, simply
    > changing the format to "General" or "Number" is *not* good enough.
    > You must re-enter (register) the formula *after* the format revision.
    > Just clicking in the formula bar, and then hitting <Enter> will do.
    >
    > Since you say that this problem is not too prevelant in your WS, you could
    > click in a "bad" formula cell, and try this keyboard shortcut to change

    the
    > format and register the formula:
    > <Ctrl> <Shift> <~>
    > Then
    > <F2>
    > then
    > <Enter>
    > --
    > HTH,
    >
    > RD
    > ==============================================
    > Please keep all correspondence within the Group, so all may benefit!
    > ==============================================
    >
    > "Bryan" <Bryan@discussions.microsoft.com> wrote in message
    > news:BA5E85CB-D461-41FA-B96B-95B9C6286A96@microsoft.com...
    > > Using Excel 2000. I use a lot of IF statements in a machinery database

    > for
    > > desiganating options. Most of the time IF statements I create work
    > > correctly, but occassionally I have the problem where the statement

    works
    > > correctly and displays the correct information using the wizard, but the

    > cell
    > > itself displays only the formula, as if an ' was in front of the

    equation.
    > I
    > > have tried checking the cell formats (in this case I'm formatting the

    cell
    > as
    > > text), but I can't pin down why it works correctly 99.9% of the time,

    and
    > > other times it doesn't. Any ideas would be helpful.... Thanks, BL

    >
    >
    >




+ 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