+ Reply to Thread
Results 1 to 24 of 24

How to remove "=" to give formula?

  1. #1
    Forum Contributor
    Join Date
    09-18-2011
    Location
    Hong Kong
    MS-Off Ver
    Office 365
    Posts
    375

    How to remove "=" to give formula?

    There is Cell A1:
    =1+2+3+4

    how to remove "=" so that Cell B1 is:
    1+2+3+4

    (NB. it is not same as CTRL+~)

    It should use function e.g. REPLACE, SUBSTITUTE etc at B1 for my backup,
    instead of CTRL-F + ALT-P to replace.
    Last edited by london7871; 11-16-2017 at 06:24 AM.

  2. #2
    Forum Guru xlnitwit's Avatar
    Join Date
    06-27-2016
    Location
    London
    MS-Off Ver
    Windows: 2010; Mac: 16.13 (O365)
    Posts
    7,085

    Re: How to remove "=" to give formula?

    You could use the Find/Replace dialog and simply replace = with nothing.
    Don
    Please remember to mark your thread 'Solved' when appropriate.

  3. #3
    Valued Forum Contributor than_gold's Avatar
    Join Date
    10-17-2017
    Location
    Coimbatore India
    MS-Off Ver
    Office 365
    Posts
    646

    Re: How to remove "=" to give formula?

    Hello, You can use below formula in B1 to get your desired result.

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Regards,
    Thangavel D

    Appreciate the help? CLICK *

  4. #4
    Forum Contributor
    Join Date
    09-18-2011
    Location
    Hong Kong
    MS-Off Ver
    Office 365
    Posts
    375

    Re: How to remove "=" to give formula?

    Thanks Thangavel D, it's solved.
    Also thanks to xlnitwit for advice.

  5. #5
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: How to remove "=" to give formula?

    FORMULATEXT() Applies To: Excel 2016 Excel 2013 Excel 2016 for Mac Excel for Mac 2011 Excel Online

    it doesn't exist in Ex2003 so update your profile about Excel version

  6. #6
    Forum Contributor
    Join Date
    09-18-2011
    Location
    Hong Kong
    MS-Off Ver
    Office 365
    Posts
    375

    Re: How to remove "=" to give formula?

    As another CPU have excel 2003 only, please advise how to remove "=" without using "FORMULATEXT".

  7. #7
    Valued Forum Contributor than_gold's Avatar
    Join Date
    10-17-2017
    Location
    Coimbatore India
    MS-Off Ver
    Office 365
    Posts
    646

    Re: How to remove "=" to give formula?

    Hello,
    In excel 2003 version, you can do this creating UDF. use the below code:

    Please Login or Register  to view this content.

  8. #8
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Cool Re: How to remove "=" to give formula?

    you can try this one:

    Please Login or Register  to view this content.
    1. Alt + F11
    2. Insert > Module, and paste the following code in the Module Window
    3. Usage: =ShowFormula(A1)

    edit:
    if you want without equal sign, use SUBSTITUTE()
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Last edited by sandy666; 11-23-2017 at 01:20 AM.

  9. #9
    Forum Contributor
    Join Date
    09-18-2011
    Location
    Hong Kong
    MS-Off Ver
    Office 365
    Posts
    375

    Re: How to remove "=" to give formula?

    Under excel in office 365,

    if cell A1 is =1+1

    both the following at cell B1 give "#NAME? :
    =ShowFormula(A1)
    =SUBSTITUTE(ShowFormula(A1),"=","")

    How to solve this? (as I prefer not to use VBA)

  10. #10
    Forum Guru xlnitwit's Avatar
    Join Date
    06-27-2016
    Location
    London
    MS-Off Ver
    Windows: 2010; Mac: 16.13 (O365)
    Posts
    7,085

    Re: How to remove "=" to give formula?

    Without using VBA (or XLM) a manual replace is the only option I am aware of.

  11. #11
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: How to remove "=" to give formula?

    Quote Originally Posted by london7871 View Post
    As another CPU have excel 2003 only, please advise how to remove "=" without using "FORMULATEXT".
    decide what you want to use!!!

    Please Login or Register  to view this content.
    it works under 2016 64-bit so should work on 365 too.

    showformula.jpg

    I tried it on Ex97 (older than 2003) and it works also

    showformula97.jpg

    I you want for both version use VBA or see and use way from post#10
    Last edited by sandy666; 11-23-2017 at 04:22 AM.

  12. #12
    Forum Contributor
    Join Date
    09-18-2011
    Location
    Hong Kong
    MS-Off Ver
    Office 365
    Posts
    375

    Re: How to remove "=" to give formula?

    My excel cannot use ShowFormula(A1) as attached pdf. Please advise.
    Attached Files Attached Files

  13. #13
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: How to remove "=" to give formula?

    did you put this code into module window?

    module.jpg

    module2.jpg
    Last edited by sandy666; 11-23-2017 at 05:02 AM.

  14. #14
    Valued Forum Contributor than_gold's Avatar
    Join Date
    10-17-2017
    Location
    Coimbatore India
    MS-Off Ver
    Office 365
    Posts
    646

    Re: How to remove "=" to give formula?

    Did you use the code in Module or in worksheet?

  15. #15
    Forum Contributor
    Join Date
    09-18-2011
    Location
    Hong Kong
    MS-Off Ver
    Office 365
    Posts
    375

    Re: How to remove "=" to give formula?

    I have not used the code in Module or in worksheet.

    It is better not to use the code or VBA as my excel will be sent to other users with excel 2003.

  16. #16
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: How to remove "=" to give formula?

    VBA works on all version.
    You didn't read carefully my posts.
    If you don't want VBA re-read post#10 (and write instruction to others: how to see formula )

    edit:
    one more thing - if you want to see formula in-cell, select cell with formula, hit F2 and you will see it, after that hit Escape (Esc) to hide formula without changing.
    should work on all version of excel
    Last edited by sandy666; 11-23-2017 at 05:27 AM.

  17. #17
    Valued Forum Contributor than_gold's Avatar
    Join Date
    10-17-2017
    Location
    Coimbatore India
    MS-Off Ver
    Office 365
    Posts
    646

    Re: How to remove "=" to give formula?

    Quote Originally Posted by london7871 View Post
    I have not used the code in Module or in worksheet.

    It is better not to use the code or VBA as my excel will be sent to other users with excel 2003.
    In this case, You can only send without formula in those cells or you can share this code (showformula) to the user.

  18. #18
    Forum Guru xlnitwit's Avatar
    Join Date
    06-27-2016
    Location
    London
    MS-Off Ver
    Windows: 2010; Mac: 16.13 (O365)
    Posts
    7,085

    Re: How to remove "=" to give formula?

    Quote Originally Posted by sandy666 View Post
    VBA works on all version.
    That's not completely accurate. In addition to Excel 2008 not having VBA at all, there are some IT departments that prevent the use of VBA by not installing it, or by only allowing digitally signed add-ins to run.

  19. #19
    Forum Contributor
    Join Date
    09-18-2011
    Location
    Hong Kong
    MS-Off Ver
    Office 365
    Posts
    375

    Re: How to remove "=" to give formula?

    Thanks than_gold, sandy666 and xlnitwit for suggestion.

  20. #20
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: How to remove "=" to give formula?

    Quote Originally Posted by xlnitwit View Post
    That's not completely accurate. In addition to Excel 2008 not having VBA at all, there are some IT departments that prevent the use of VBA by not installing it, or by only allowing digitally signed add-ins to run.
    Are you talking about Mac version? I never use Mac and don't want to use it
    but you are right, I should say : on all PC version (Pro)

  21. #21
    Forum Guru xlnitwit's Avatar
    Join Date
    06-27-2016
    Location
    London
    MS-Off Ver
    Windows: 2010; Mac: 16.13 (O365)
    Posts
    7,085

    Re: How to remove "=" to give formula?

    Yes, Excel 2008 was a Mac version, but the VBA restrictions I mentioned usually apply to Windows versions.

  22. #22
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: How to remove "=" to give formula?

    So, info about MS-Off Ver: in profile should contain more details, ie. PC 2010 Starter (wishful thinking)

  23. #23
    Forum Guru xlnitwit's Avatar
    Join Date
    06-27-2016
    Location
    London
    MS-Off Ver
    Windows: 2010; Mac: 16.13 (O365)
    Posts
    7,085

    Re: How to remove "=" to give formula?

    Perhaps but that wouldn't help if the user has, say, Office Professional Plus but his/her IT department have blocked VBA.

  24. #24
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: How to remove "=" to give formula?

    But we are talking about VBA and excel version not about IT Dept.
    IT Dept. can prohibite save as also and many other features, in effect high ver. of excel will be very low version
    They can say: you've paper and Excel is not needed.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 4
    Last Post: 03-11-2015, 10:05 AM
  2. "Add Row" and "Remove Row" Buttons... adding rows with formulas down filled
    By excelatnothing in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-15-2015, 02:44 AM
  3. [SOLVED] VBA help needed to remove all "/" then replace with "-" from cell "B3"and "B5"
    By krjoshi in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-17-2014, 02:11 PM
  4. Why give this formula "FALSE"? help me
    By medo82006 in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 05-21-2013, 12:32 AM
  5. Replies: 5
    Last Post: 10-12-2010, 06:46 AM
  6. Compare four columns, give "yes" or "no" answer
    By LaurenR in forum Excel General
    Replies: 8
    Last Post: 09-17-2009, 03:52 PM
  7. Remove "TRUE" "FALSE" words from a linked checkbox
    By MDCK in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-15-2008, 03:26 AM

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