1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

Excel does not seem to recognize a cell value.

Discussion in 'Business Applications' started by Brendon, Jul 2, 2003.

Thread Status:
Not open for further replies.
Advertisement
  1. Brendon

    Brendon Thread Starter

    Joined:
    Jul 2, 2003
    Messages:
    11
    In cell B5: 54.5 3L 1-39.16

    In order to extract the 3 that is next to "L" in the middle
    of the text, I made up the following formula:


    =IF(R4>1,MID(B5,(FIND(" ",B5)+2),LEN(B5)-((LEN(B5)-FIND
    ("L",B5)+1)+((FIND(" ",B5))+1))),IF(R4=1,-MID(B5,(FIND
    (" ",B5)+2),LEN(B5)-((LEN(B5)-FIND("L",B5)+1)+((FIND
    (" ",B5))+1)))))

    (Please note: there is a condition set for a value in cell
    R4 too (If R4 is greater than 1). And also the text in the
    B column which B5 is a part, varies in length, so the formula did get a bit clunky).


    Anyway, I end up with "3" displayed in the cell that contains the above formula, as I wanted.

    Say the formula that produces "3" is in cell S4: If I enter: "=S4" in another cell, excel doesn't seem to recognize "3" as S4 value. All I get is "=S4" in the new cell!

    I can't do anything with it. Excel does not seem to
    recognize the value "3" from the above formula. So can't use its value in another cell.

    Is there a way to get around this? I have formatted the
    cell to General, Number, etc. Doen't seem to make a
    difference.
     
  2. SabreWolf3

    SabreWolf3

    Joined:
    Nov 6, 2000
    Messages:
    227
    Hi Brendon,

    Try changing the formatting to General, then select the cell above S4 and then do a Find>Replace. Replace = with = and see if that fixes it. Don't ask me why, but I had the same problem before, and this solution was given to me by an Excel MVP at another help forum. It worked like a charm for me.

    Good luck,
    Richard
     
  3. Brendon

    Brendon Thread Starter

    Joined:
    Jul 2, 2003
    Messages:
    11
    Thanks SabreWolf3.

    It worked. And I won't ask how!.... :D
     
  4. SabreWolf3

    SabreWolf3

    Joined:
    Nov 6, 2000
    Messages:
    227
    There's a way to prevent this from happening in the future, as well. Whenever I start a new workbook, on each new sheet I create, I select all cells and set the formatting to General.

    General should be the default, but doing this has prevented me from running into this problem again.

    Happy excelling,
    Richard
     
As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Loading...
Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/143877