How do I force excel to display (potential) expressions as text, instead of attempt to evaluate them?












0















I've got an excel worksheet that contains (string) cell values like this



=-L
=-N
=-R


etc



Now, excel sees the "=" character and attempts to evaluate the expression. It cannot, and displays the following instead.



#NAME?


I would like the actual string "=-L" to be displayed instead.



I attempted to highlight the entire column and do



right click --> format cells --> Text --> OK


But the column didn't automatically update. I still see



#NAME?


where I should now be seeing



=-L


Now... if I double click the cell and then navigate elsewhere, it looks like the text value that is being displayed updates. However, I want the entire workbook to update so that I don't need to go through the hundreds of cells double clicking. I tried



F9
Shift + F9
ctrl + alt + Shift + F9
ctrl + alt + F9


etc.



Is there a way this can be done?










share|improve this question























  • Add a ' to the start of the cell.

    – DavidPostill
    Jan 9 at 20:43











  • Is there a way to do this without going through each cell and prepending a single quote?

    – Zack
    Jan 9 at 20:47











  • No idea .......

    – DavidPostill
    Jan 9 at 20:49
















0















I've got an excel worksheet that contains (string) cell values like this



=-L
=-N
=-R


etc



Now, excel sees the "=" character and attempts to evaluate the expression. It cannot, and displays the following instead.



#NAME?


I would like the actual string "=-L" to be displayed instead.



I attempted to highlight the entire column and do



right click --> format cells --> Text --> OK


But the column didn't automatically update. I still see



#NAME?


where I should now be seeing



=-L


Now... if I double click the cell and then navigate elsewhere, it looks like the text value that is being displayed updates. However, I want the entire workbook to update so that I don't need to go through the hundreds of cells double clicking. I tried



F9
Shift + F9
ctrl + alt + Shift + F9
ctrl + alt + F9


etc.



Is there a way this can be done?










share|improve this question























  • Add a ' to the start of the cell.

    – DavidPostill
    Jan 9 at 20:43











  • Is there a way to do this without going through each cell and prepending a single quote?

    – Zack
    Jan 9 at 20:47











  • No idea .......

    – DavidPostill
    Jan 9 at 20:49














0












0








0








I've got an excel worksheet that contains (string) cell values like this



=-L
=-N
=-R


etc



Now, excel sees the "=" character and attempts to evaluate the expression. It cannot, and displays the following instead.



#NAME?


I would like the actual string "=-L" to be displayed instead.



I attempted to highlight the entire column and do



right click --> format cells --> Text --> OK


But the column didn't automatically update. I still see



#NAME?


where I should now be seeing



=-L


Now... if I double click the cell and then navigate elsewhere, it looks like the text value that is being displayed updates. However, I want the entire workbook to update so that I don't need to go through the hundreds of cells double clicking. I tried



F9
Shift + F9
ctrl + alt + Shift + F9
ctrl + alt + F9


etc.



Is there a way this can be done?










share|improve this question














I've got an excel worksheet that contains (string) cell values like this



=-L
=-N
=-R


etc



Now, excel sees the "=" character and attempts to evaluate the expression. It cannot, and displays the following instead.



#NAME?


I would like the actual string "=-L" to be displayed instead.



I attempted to highlight the entire column and do



right click --> format cells --> Text --> OK


But the column didn't automatically update. I still see



#NAME?


where I should now be seeing



=-L


Now... if I double click the cell and then navigate elsewhere, it looks like the text value that is being displayed updates. However, I want the entire workbook to update so that I don't need to go through the hundreds of cells double clicking. I tried



F9
Shift + F9
ctrl + alt + Shift + F9
ctrl + alt + F9


etc.



Is there a way this can be done?







microsoft-excel worksheet-function






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Jan 9 at 20:22









ZackZack

146116




146116













  • Add a ' to the start of the cell.

    – DavidPostill
    Jan 9 at 20:43











  • Is there a way to do this without going through each cell and prepending a single quote?

    – Zack
    Jan 9 at 20:47











  • No idea .......

    – DavidPostill
    Jan 9 at 20:49



















  • Add a ' to the start of the cell.

    – DavidPostill
    Jan 9 at 20:43











  • Is there a way to do this without going through each cell and prepending a single quote?

    – Zack
    Jan 9 at 20:47











  • No idea .......

    – DavidPostill
    Jan 9 at 20:49

















Add a ' to the start of the cell.

– DavidPostill
Jan 9 at 20:43





Add a ' to the start of the cell.

– DavidPostill
Jan 9 at 20:43













Is there a way to do this without going through each cell and prepending a single quote?

– Zack
Jan 9 at 20:47





Is there a way to do this without going through each cell and prepending a single quote?

– Zack
Jan 9 at 20:47













No idea .......

– DavidPostill
Jan 9 at 20:49





No idea .......

– DavidPostill
Jan 9 at 20:49










3 Answers
3






active

oldest

votes


















2














Do a Find and Replace for = with '= and Replace All.



If your sheet has real formulas that you want to retain then you could limit the Find and Replace by selecting the cells that you want to change first. One way to do this would be to use Go To Special - hit F5 and specify Formulas with Error checkbox checked and the other checkboxes cleared.






share|improve this answer
























  • Thank you Mark. A good answer to be sure. I was able to just click "Show Formulas" and save the resulting view to a csv. Then, when I ran a search for "#NAME?" in the resulting .csv file, it was nowhere to be found.

    – Zack
    Jan 10 at 13:22



















0














Replace:



=-L


with:



="=-L"


etc.






share|improve this answer































    0














    I asked this on another post and it got answered there. While prepending a single quote to the front of the string DOES do what I want, I didn't want to have to do this for every cell.



    For my issue



    Under Formulas in the Ribbon, Under (technically over) Formula Auditing, select Show Formulas. This applies to the entire worksheet.


    Was enough to do what I want. Note, that this will effect the entire worksheet and not a single column. For my purposes, this was fine.






    share|improve this answer
























    • Clever, but that won't work in this case. The OP needs the entire expression as a text string, presumably as input for other formulas. This solution would leave it as a formula, which in use, would output an error.

      – fixer1234
      Jan 9 at 23:32











    • I am the OP lol

      – Zack
      Jan 10 at 13:19











    • I didn't even catch that. :-) But if this solution is satisfactory for you, it means the question is a bit misleading. This is the solution to a different requirement, and doesn't really solve the issue of the error result which is a key element described in the question. That's why it never dawned on me to notice that you are the OP. At least you didn't accept this answer, which would have been really confusing for readers who come here with the problem described in the question. Well, this won't be the first time that someone discovered that what they originally thought (cont'd)

      – fixer1234
      Jan 10 at 13:48











    • were problem constraints turned out not to be. For the sake of other readers coming here for an answer, can you add a few sentences of explanation to the question and this answer? This answer will make more sense in the context of discovering a change in requirements. But for the question and answers to have the most value, it would be even better to add a new question that describes your current requirements and move this answer there. That way, there would be two different questions, both with appropriate and good answers.

      – fixer1234
      Jan 10 at 13:48











    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "3"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1392433%2fhow-do-i-force-excel-to-display-potential-expressions-as-text-instead-of-atte%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    3 Answers
    3






    active

    oldest

    votes








    3 Answers
    3






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    2














    Do a Find and Replace for = with '= and Replace All.



    If your sheet has real formulas that you want to retain then you could limit the Find and Replace by selecting the cells that you want to change first. One way to do this would be to use Go To Special - hit F5 and specify Formulas with Error checkbox checked and the other checkboxes cleared.






    share|improve this answer
























    • Thank you Mark. A good answer to be sure. I was able to just click "Show Formulas" and save the resulting view to a csv. Then, when I ran a search for "#NAME?" in the resulting .csv file, it was nowhere to be found.

      – Zack
      Jan 10 at 13:22
















    2














    Do a Find and Replace for = with '= and Replace All.



    If your sheet has real formulas that you want to retain then you could limit the Find and Replace by selecting the cells that you want to change first. One way to do this would be to use Go To Special - hit F5 and specify Formulas with Error checkbox checked and the other checkboxes cleared.






    share|improve this answer
























    • Thank you Mark. A good answer to be sure. I was able to just click "Show Formulas" and save the resulting view to a csv. Then, when I ran a search for "#NAME?" in the resulting .csv file, it was nowhere to be found.

      – Zack
      Jan 10 at 13:22














    2












    2








    2







    Do a Find and Replace for = with '= and Replace All.



    If your sheet has real formulas that you want to retain then you could limit the Find and Replace by selecting the cells that you want to change first. One way to do this would be to use Go To Special - hit F5 and specify Formulas with Error checkbox checked and the other checkboxes cleared.






    share|improve this answer













    Do a Find and Replace for = with '= and Replace All.



    If your sheet has real formulas that you want to retain then you could limit the Find and Replace by selecting the cells that you want to change first. One way to do this would be to use Go To Special - hit F5 and specify Formulas with Error checkbox checked and the other checkboxes cleared.







    share|improve this answer












    share|improve this answer



    share|improve this answer










    answered Jan 9 at 21:50









    Mark FitzgeraldMark Fitzgerald

    3981211




    3981211













    • Thank you Mark. A good answer to be sure. I was able to just click "Show Formulas" and save the resulting view to a csv. Then, when I ran a search for "#NAME?" in the resulting .csv file, it was nowhere to be found.

      – Zack
      Jan 10 at 13:22



















    • Thank you Mark. A good answer to be sure. I was able to just click "Show Formulas" and save the resulting view to a csv. Then, when I ran a search for "#NAME?" in the resulting .csv file, it was nowhere to be found.

      – Zack
      Jan 10 at 13:22

















    Thank you Mark. A good answer to be sure. I was able to just click "Show Formulas" and save the resulting view to a csv. Then, when I ran a search for "#NAME?" in the resulting .csv file, it was nowhere to be found.

    – Zack
    Jan 10 at 13:22





    Thank you Mark. A good answer to be sure. I was able to just click "Show Formulas" and save the resulting view to a csv. Then, when I ran a search for "#NAME?" in the resulting .csv file, it was nowhere to be found.

    – Zack
    Jan 10 at 13:22













    0














    Replace:



    =-L


    with:



    ="=-L"


    etc.






    share|improve this answer




























      0














      Replace:



      =-L


      with:



      ="=-L"


      etc.






      share|improve this answer


























        0












        0








        0







        Replace:



        =-L


        with:



        ="=-L"


        etc.






        share|improve this answer













        Replace:



        =-L


        with:



        ="=-L"


        etc.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Jan 9 at 22:48









        Gary's StudentGary's Student

        13.5k31730




        13.5k31730























            0














            I asked this on another post and it got answered there. While prepending a single quote to the front of the string DOES do what I want, I didn't want to have to do this for every cell.



            For my issue



            Under Formulas in the Ribbon, Under (technically over) Formula Auditing, select Show Formulas. This applies to the entire worksheet.


            Was enough to do what I want. Note, that this will effect the entire worksheet and not a single column. For my purposes, this was fine.






            share|improve this answer
























            • Clever, but that won't work in this case. The OP needs the entire expression as a text string, presumably as input for other formulas. This solution would leave it as a formula, which in use, would output an error.

              – fixer1234
              Jan 9 at 23:32











            • I am the OP lol

              – Zack
              Jan 10 at 13:19











            • I didn't even catch that. :-) But if this solution is satisfactory for you, it means the question is a bit misleading. This is the solution to a different requirement, and doesn't really solve the issue of the error result which is a key element described in the question. That's why it never dawned on me to notice that you are the OP. At least you didn't accept this answer, which would have been really confusing for readers who come here with the problem described in the question. Well, this won't be the first time that someone discovered that what they originally thought (cont'd)

              – fixer1234
              Jan 10 at 13:48











            • were problem constraints turned out not to be. For the sake of other readers coming here for an answer, can you add a few sentences of explanation to the question and this answer? This answer will make more sense in the context of discovering a change in requirements. But for the question and answers to have the most value, it would be even better to add a new question that describes your current requirements and move this answer there. That way, there would be two different questions, both with appropriate and good answers.

              – fixer1234
              Jan 10 at 13:48
















            0














            I asked this on another post and it got answered there. While prepending a single quote to the front of the string DOES do what I want, I didn't want to have to do this for every cell.



            For my issue



            Under Formulas in the Ribbon, Under (technically over) Formula Auditing, select Show Formulas. This applies to the entire worksheet.


            Was enough to do what I want. Note, that this will effect the entire worksheet and not a single column. For my purposes, this was fine.






            share|improve this answer
























            • Clever, but that won't work in this case. The OP needs the entire expression as a text string, presumably as input for other formulas. This solution would leave it as a formula, which in use, would output an error.

              – fixer1234
              Jan 9 at 23:32











            • I am the OP lol

              – Zack
              Jan 10 at 13:19











            • I didn't even catch that. :-) But if this solution is satisfactory for you, it means the question is a bit misleading. This is the solution to a different requirement, and doesn't really solve the issue of the error result which is a key element described in the question. That's why it never dawned on me to notice that you are the OP. At least you didn't accept this answer, which would have been really confusing for readers who come here with the problem described in the question. Well, this won't be the first time that someone discovered that what they originally thought (cont'd)

              – fixer1234
              Jan 10 at 13:48











            • were problem constraints turned out not to be. For the sake of other readers coming here for an answer, can you add a few sentences of explanation to the question and this answer? This answer will make more sense in the context of discovering a change in requirements. But for the question and answers to have the most value, it would be even better to add a new question that describes your current requirements and move this answer there. That way, there would be two different questions, both with appropriate and good answers.

              – fixer1234
              Jan 10 at 13:48














            0












            0








            0







            I asked this on another post and it got answered there. While prepending a single quote to the front of the string DOES do what I want, I didn't want to have to do this for every cell.



            For my issue



            Under Formulas in the Ribbon, Under (technically over) Formula Auditing, select Show Formulas. This applies to the entire worksheet.


            Was enough to do what I want. Note, that this will effect the entire worksheet and not a single column. For my purposes, this was fine.






            share|improve this answer













            I asked this on another post and it got answered there. While prepending a single quote to the front of the string DOES do what I want, I didn't want to have to do this for every cell.



            For my issue



            Under Formulas in the Ribbon, Under (technically over) Formula Auditing, select Show Formulas. This applies to the entire worksheet.


            Was enough to do what I want. Note, that this will effect the entire worksheet and not a single column. For my purposes, this was fine.







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Jan 9 at 23:01









            ZackZack

            146116




            146116













            • Clever, but that won't work in this case. The OP needs the entire expression as a text string, presumably as input for other formulas. This solution would leave it as a formula, which in use, would output an error.

              – fixer1234
              Jan 9 at 23:32











            • I am the OP lol

              – Zack
              Jan 10 at 13:19











            • I didn't even catch that. :-) But if this solution is satisfactory for you, it means the question is a bit misleading. This is the solution to a different requirement, and doesn't really solve the issue of the error result which is a key element described in the question. That's why it never dawned on me to notice that you are the OP. At least you didn't accept this answer, which would have been really confusing for readers who come here with the problem described in the question. Well, this won't be the first time that someone discovered that what they originally thought (cont'd)

              – fixer1234
              Jan 10 at 13:48











            • were problem constraints turned out not to be. For the sake of other readers coming here for an answer, can you add a few sentences of explanation to the question and this answer? This answer will make more sense in the context of discovering a change in requirements. But for the question and answers to have the most value, it would be even better to add a new question that describes your current requirements and move this answer there. That way, there would be two different questions, both with appropriate and good answers.

              – fixer1234
              Jan 10 at 13:48



















            • Clever, but that won't work in this case. The OP needs the entire expression as a text string, presumably as input for other formulas. This solution would leave it as a formula, which in use, would output an error.

              – fixer1234
              Jan 9 at 23:32











            • I am the OP lol

              – Zack
              Jan 10 at 13:19











            • I didn't even catch that. :-) But if this solution is satisfactory for you, it means the question is a bit misleading. This is the solution to a different requirement, and doesn't really solve the issue of the error result which is a key element described in the question. That's why it never dawned on me to notice that you are the OP. At least you didn't accept this answer, which would have been really confusing for readers who come here with the problem described in the question. Well, this won't be the first time that someone discovered that what they originally thought (cont'd)

              – fixer1234
              Jan 10 at 13:48











            • were problem constraints turned out not to be. For the sake of other readers coming here for an answer, can you add a few sentences of explanation to the question and this answer? This answer will make more sense in the context of discovering a change in requirements. But for the question and answers to have the most value, it would be even better to add a new question that describes your current requirements and move this answer there. That way, there would be two different questions, both with appropriate and good answers.

              – fixer1234
              Jan 10 at 13:48

















            Clever, but that won't work in this case. The OP needs the entire expression as a text string, presumably as input for other formulas. This solution would leave it as a formula, which in use, would output an error.

            – fixer1234
            Jan 9 at 23:32





            Clever, but that won't work in this case. The OP needs the entire expression as a text string, presumably as input for other formulas. This solution would leave it as a formula, which in use, would output an error.

            – fixer1234
            Jan 9 at 23:32













            I am the OP lol

            – Zack
            Jan 10 at 13:19





            I am the OP lol

            – Zack
            Jan 10 at 13:19













            I didn't even catch that. :-) But if this solution is satisfactory for you, it means the question is a bit misleading. This is the solution to a different requirement, and doesn't really solve the issue of the error result which is a key element described in the question. That's why it never dawned on me to notice that you are the OP. At least you didn't accept this answer, which would have been really confusing for readers who come here with the problem described in the question. Well, this won't be the first time that someone discovered that what they originally thought (cont'd)

            – fixer1234
            Jan 10 at 13:48





            I didn't even catch that. :-) But if this solution is satisfactory for you, it means the question is a bit misleading. This is the solution to a different requirement, and doesn't really solve the issue of the error result which is a key element described in the question. That's why it never dawned on me to notice that you are the OP. At least you didn't accept this answer, which would have been really confusing for readers who come here with the problem described in the question. Well, this won't be the first time that someone discovered that what they originally thought (cont'd)

            – fixer1234
            Jan 10 at 13:48













            were problem constraints turned out not to be. For the sake of other readers coming here for an answer, can you add a few sentences of explanation to the question and this answer? This answer will make more sense in the context of discovering a change in requirements. But for the question and answers to have the most value, it would be even better to add a new question that describes your current requirements and move this answer there. That way, there would be two different questions, both with appropriate and good answers.

            – fixer1234
            Jan 10 at 13:48





            were problem constraints turned out not to be. For the sake of other readers coming here for an answer, can you add a few sentences of explanation to the question and this answer? This answer will make more sense in the context of discovering a change in requirements. But for the question and answers to have the most value, it would be even better to add a new question that describes your current requirements and move this answer there. That way, there would be two different questions, both with appropriate and good answers.

            – fixer1234
            Jan 10 at 13:48


















            draft saved

            draft discarded




















































            Thanks for contributing an answer to Super User!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1392433%2fhow-do-i-force-excel-to-display-potential-expressions-as-text-instead-of-atte%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Plaza Victoria

            In PowerPoint, is there a keyboard shortcut for bulleted / numbered list?

            How to put 3 figures in Latex with 2 figures side by side and 1 below these side by side images but in...