Excel show value not formula

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Problem #1: I am trying to concatenate using text in "" and cells. My cells
are formatted to text because I need to keep 0's in front of numbers in my
cells. The result is showing the formula and not the value. How can I get the
value? Ctrl+ ` doesn't work:

=CONCATENATE("[AMST.FIPS_STATE] LIKE "",E1,""")

Problem #2: You might have noticed lots of "s. In my concatenate result, I
need to have quotes, for example, the result should look like this:
[AMST.FIPS_STATE] LIKE "06". The quotes needed in my result are confusing the
formula.
 
Problem #1: I am trying to concatenate using text in "" and cells. My cells
are formatted to text because I need to keep 0's in front of numbers in my
cells. The result is showing the formula and not the value. How can I get the
value? Ctrl+ ` doesn't work:

=CONCATENATE("[AMST.FIPS_STATE] LIKE "",E1,""")

Problem #2: You might have noticed lots of "s. In my concatenate result, I
need to have quotes, for example, the result should look like this:
[AMST.FIPS_STATE] LIKE "06". The quotes needed in my result are confusing the
formula.

You are missing a few quotes here...
How about this:

="[AMST.FIPS_STATE] LIKE """ & TEXT(E1,"00") & """"

Regards,

B.
 
Hello,

#1 you might have the column or cell formatted as text. Format as
"General" and see if that works.

#2 you have too many quotes, try this instead:

=CONCATENATE("[AMST.FIPS_STATE] LIKE ",E1,"")


HTH,
JP
 
Don't format the cells with the formula in it as Text - format the E1 cell as
Text so that it shows the leading zeros.
To fix the formulas you now have select them and change format to General
then hit [F2] followed by the [Enter] key - they'll convert to formula, one
by one. Just repeat [F2][Enter] as needed.

You can also fix your formula like this:
=CONCATENATE("[AMST.FIPS_STATE] LIKE ",CHAR(34),E1,CHAR(34))

the CHAR(34) is the double-quote mark. Easier to read also. Another
variation of the same formula without the CONCATENATE function:
="[AMST.FIPS_STATE] LIKE " & CHAR(34) & E1 & CHAR(34)
same result, and no difference with the number of things to concatenate that
you have at the moment, but this method does not have the 32 parameter limit
that the CONCATENATE() function does; instead the limit becomes the maximum
number of characters in a formula.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Concatenate not working 2
Sum "Fomula Values" 2
Display only unique values in CONCATENATE formula 4
Text to Formula 3
Duplicate "Drag" feature 2
#VALUE! 3
Excel VBA 1
Excel Formula displays text of formula 2

Back
Top