+ Reply to Thread
Results 1 to 10 of 10

How do I escape brackets?

  1. #1
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,920

    How do I escape brackets?

    Some Excel formulas must use less than (left angle bracket) or greater than (right angle bracket). If the formula references a table it uses square brackets.

    If you use angle brackets, you cannot post the code because the board software thinks you are trying to enter HTML code. If you reference a table header, it thinks it's a tag and all subsequent tags are messed up.

    Obviously there is a real need to use these symbols in Excel. Is there a way to escape them so real formulas can be posted?

  2. #2
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,167

    Re: How do I escape brackets?

    Hi dflak,

    I'd prefer to see a workbook attached to the post so I can open it and see what you have done, within the sheet and its formula. You can attach a workbook by clicking on "Go Advanced" and then the Paper Clip Icon above the advanced message area.
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  3. #3
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,920

    Re: How do I escape brackets?

    I've been doing that as well as attaching text files containing the code. However it's a lot of overkill when a one line formula answers the question.

  4. #4
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,920

    Re: How do I escape brackets?

    I've been doing that as well as attaching text files containing the code. However it's a lot of overkill when a one line formula answers the question.

    How can I express checking to see if a cell has a date earlier than today?
    Please Login or Register  to view this content.
    or maybe a one line correction for a table
    Please Login or Register  to view this content.
    Now that's easy to read.

    I think including the whole spreadsheet is like parking the mail truck in your mailbox so you can get a single letter.

    I find it incredulous that I'm the first person with this issue on the web site. If the answer is "live with it," that's OK, but if there is a work-around, I'd like to know about it.

  5. #5
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,920

    Re: How do I escape brackets?

    Believe me, I am in the choir of "show me the spreadsheet" in most cases. But sometimes the question and answer are simple.

    I've been attaching both spreadsheets and text files containing the code. However it's a lot of overkill when a one line formula answers the question.

    How can I express checking to see if a cell has a date earlier than today?
    Please Login or Register  to view this content.
    That doesn't copy and paste very well as a formula.

    Or a for a table
    Please Login or Register  to view this content.
    Now that's easy to read.

    I think including the whole spreadsheet is like parking the mail truck in your mailbox so you can get a single letter.

    I find it incredulous that I'm the first person with this issue on the web site. If the answer is "live with it," that's OK, but if there is a work-around, I'd like to know about it.
    Last edited by dflak; 12-25-2015 at 10:10 AM. Reason: clarity

  6. #6
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,167

    Re: How do I escape brackets?

    Hi dflak,

    Here is a formula that is from a simple table:

    Please Login or Register  to view this content.
    If I select the line and then click on the "#" icon above the message area it puts code tags around it and it displays in a "code" box. Is this what you are looking for?

  7. #7
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,920

    Re: How do I escape brackets?

    Let me try it.
    Please Login or Register  to view this content.
    Please Login or Register  to view this content.
    I've had screwed up code tags in the past. Don't know why it works now and not last week.
    Last edited by dflak; 12-25-2015 at 01:36 PM. Reason: testting

  8. #8
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,167

    Re: How do I escape brackets?

    Hi,

    If that is the answer you've been looking for, you could edit your original post and change the prefix to "Solved".

  9. #9
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,926

    Re: How do I escape brackets?

    I have reported this problem with the brackets to the tech team, not sure if they are working over the holidays though
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  10. #10
    Forum Expert Doc.AElstein's Avatar
    Join Date
    05-23-2014
    Location
    '_- Germany >Outside Building things.... Mostly
    MS-Off Ver
    Office 2003 2007 2010 PC but Not mac. XP and Vista mostly, sometimes Win 7
    Posts
    3,618

    Re: How do I escape brackets?

    Hi

    Just a couple of Tips that may be of some relevance here:


    _1) You can experiment*** a bit with the different available Code Windows ( There are three, the one usually used then a php and a html window. Sometimes you can get away with using the various brackets in a code without the Forum Software messing things up by trying a different window. For example, JBeaucaire managed to post a code here which was full of squre brackets and Code lines containing full BB Code strings: ( He used the php code window )
    http://www.excelforum.com/tips-and-t...um-thread.html
    _... when I tried the same code in a normal code window it messed up.
    http://www.excelforum.com/the-water-...ml#post4110530



    _ But then I tried the php Window experiment in another forum, with the same code, and it messed up in a different way:
    http://www.forumexcel.it/forum/16-te...ce-bb#post1549
    _.. so you have to experiment a bit.

    _2) There is a pair of BB Code Tags that disable the BB Code so that you can post a full BB Code which then looks exactly as you write it: They are ( Written as normal in square brackets):

    NOPARSE

    /NOPARSE

    _.......................................................

    For examples:

    Please Login or Register  to view this content.
    [CODE]Please [url=https://www.excelforum.com/login.php]Login or Register [/url] to view this content.[/CODE]

    _ …………………………………………………………………………………………
    Then for fun I put the above two inside

    Normal Code Tags

    Please Login or Register  to view this content.
    [CODE]Please [url=https://www.excelforum.com/login.php]Login or Register [/url] to view this content.[/CODE][/CODE]

    _..............................................................................


    html Code Tags
    HTML Code: 
    _...........................................................................


    php Code Tags

    PHP Code: 
    [CODE]Please [url=https://www.excelforum.com/login.php]Login or Register [/url] to view this content.[/CODE]

    [NOPARSE][CODE]Please [url=https://www.excelforum.com/login.php]Login or Register [/url] to view this content.[/CODE][/NOPARSE] 



    (_.......... *** You can experiment here: ( Note you must be logged in to see this Sub Forum )
    http://www.excelforum.com/development-testing-forum/
    _..………)

    Alan
    '_- Google first, like this _ site:ExcelForum.com Gamut
    Use Code Tags: Highlight code; click on the # icon above,
    Post screenshots COPYABLE to a Spredsheet; NOT IMAGES PLEASE
    http://www.excelforum.com/the-water-...ml#post4109080
    https://app.box.com/s/gjpa8mk8ko4vkwcke3ig2w8z2wkfvrtv
    http://excelmatters.com/excel-forums/ ( Scrolll down to bottom )

+ 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. [SOLVED] Automating Brackets, and Sum above Brackets in Excel Chart
    By cartica in forum Excel Charting & Pivots
    Replies: 10
    Last Post: 07-24-2014, 11:33 AM
  2. Disable Escape Key
    By foncesa in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 03-12-2014, 05:51 PM
  3. escape causes error
    By DJams in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-19-2012, 06:20 PM
  4. Replies: 5
    Last Post: 04-19-2012, 09:02 AM
  5. Escape key for '
    By icemantj in forum Access Tables & Databases
    Replies: 1
    Last Post: 01-15-2010, 09:10 AM
  6. Escape My Debugger!
    By rydeyz in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-09-2008, 09:18 PM

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