Search Search for: Business ApplicationsAll Forums

# Excel does not seem to recognize a cell value.

 Brendon
Junior Member with 11 posts.

Join Date: Jul 2003
Location: Australia
02-Jul-2003, 07:08 AM #1
Excel does not seem to recognize a cell value.
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.
 SabreWolf3
Member with 227 posts.

Join Date: Nov 2000
Location: Washington, DC
02-Jul-2003, 10:42 AM #2
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
 Brendon
Junior Member with 11 posts.

Join Date: Jul 2003
Location: Australia
02-Jul-2003, 08:55 PM #3
Thanks SabreWolf3.

It worked. And I won't ask how!....
 SabreWolf3
Member with 227 posts.

Join Date: Nov 2000
Location: Washington, DC
03-Jul-2003, 10:20 AM #4
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
 techguy.org/143877
As Seen On

WELCOME TO TECH SUPPORT GUY!

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

Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.

Search Tech Support Guy

### Find the solution to your computer problem!

 Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)