+ Reply to Thread
Results 1 to 11 of 11

Entering + and - signs in cells

  1. #1
    Registered User
    Join Date
    12-13-2013
    Location
    Michigan
    MS-Off Ver
    Excel 2010
    Posts
    78

    Entering + and - signs in cells

    Is there a way to be able to enter a plus (+) or minus (-) sign in a cell and not have it think it's part of a formula.

    I see that if I type (+) and hit enter or tab the (+) gets entered without issue.

    If I type (+) and then navigate with an arrow or by clicking in a new cell it thinks I want a reference to that cell and start a formula. I have lots of people using this spreadsheet and I can't control how they will move around the sheet.

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,530

    Re: Entering + and - signs in cells

    Format the cell(s) as Text and you can put what you want in the cell(s).
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Registered User
    Join Date
    12-13-2013
    Location
    Michigan
    MS-Off Ver
    Excel 2010
    Posts
    78

    Re: Entering + and - signs in cells

    TMS,

    I tried that and it does not seem to work. Enter the cell (A2) and type just a plus sign then click the right arrow it enters in A2 (+B2).

    Enter the cell (A2) and type just a plus sign then click in cell J2 it enters (+J2)

  4. #4
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: Entering + and - signs in cells

    If you enter a + then are clicking in another cell, but don't want to make a formula, what are you trying to do? What do you want to be in that cell when you're done?
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  5. #5
    Registered User
    Join Date
    12-13-2013
    Location
    Michigan
    MS-Off Ver
    Excel 2010
    Posts
    78

    Re: Entering + and - signs in cells

    + is what I want in the cell

  6. #6
    Forum Expert leelnich's Avatar
    Join Date
    03-20-2017
    Location
    Delaware, USA
    MS-Off Ver
    Office 2016
    Posts
    2,807

    Re: Entering + and - signs in cells

    Hi all - if formatting as text doesn't work, you're probably down to preceding "-" or "+" with an apostrophe: '- or '+. The apostrophe doesn't show, but it tells Excel to treat the remaining characters as a string.
    Clicking the Add Reputation star below helpful posts is a great way to show your appreciation.
    Please mark your threads as SOLVED upon conclusion (Thread Tools above Post # 1). - Lee

  7. #7
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: Entering + and - signs in cells

    When I press the + sign then hit Enter, I have a + sign in the cell. Same with - sign. The cells have the default format of General. I still don't understand what the problem is here.
    plusminus.JPG

  8. #8
    Forum Expert leelnich's Avatar
    Join Date
    03-20-2017
    Location
    Delaware, USA
    MS-Off Ver
    Office 2016
    Posts
    2,807

    Re: Entering + and - signs in cells

    Quote Originally Posted by 6StringJazzer View Post
    I still don't understand what the problem is here.
    Jeff, if you select a cell without entering the formula bar/Edit mode, you can move to another cell using the arrow keys, or by clicking the new cell. The same behavior while in Edit mode inserts the new cell's address in the formula bar - which the OP is trying to avoid.

  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,945

    Re: Entering + and - signs in cells

    If you are referencing another cell, using +
    Enter the cell (A2) and type just a plus sign then click in cell J2 it enters (+J2)
    Then you are creating a formula, and excel will (normally) evaluate that formula to it's answer - and then show that.

    A possible option may be to use =TEXT()

    =text(if(J2>=0,"+","-")&J2)
    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
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: Entering + and - signs in cells

    I am getting the idea that the + and - are to be entered by users as some type of flag, and that he doesn't want users getting confused, or entering a formula by accident. One solution would be to use Data Validation and let the user select + or - from a dropdown list. See attached.

    This has the benefit of ensuring that the user cannot possibly enter anything other than + or -.
    Attached Files Attached Files

  11. #11
    Registered User
    Join Date
    10-16-2012
    Location
    Woking, England
    MS-Off Ver
    Excel 2003-16
    Posts
    5

    Re: Entering + and - signs in cells

    You can add a plus and minus sign into a cell using symbols.
    If you go to the Insert tab on the ribbon and then select symbols you will be able to find a + and - in there that will not be recognised as being part of a formula.

+ 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. Force input format into cells for radio call signs
    By fabriceboug in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-12-2014, 08:32 PM
  2. Reversing the signs of selected cells - help neededddd
    By er.twi.fb in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 08-12-2013, 11:17 AM
  3. Entering on cells
    By talbotk in forum Excel General
    Replies: 2
    Last Post: 05-17-2011, 06:03 PM
  4. concatenation of cells including citation signs
    By olef4 in forum Excel General
    Replies: 2
    Last Post: 05-02-2011, 09:16 AM
  5. Code which deletes all signs behind a number of signs
    By Mula in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-30-2009, 05:53 AM
  6. Entering in data in specific cells using range protect or locking the cells
    By howard101 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-05-2008, 11:05 AM
  7. How to get rid of $ signs in cells?
    By Andyc7 in forum Excel General
    Replies: 8
    Last Post: 09-02-2007, 12:29 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