+ Reply to Thread
Results 1 to 5 of 5

How to add parentheses...

  1. #1
    Registered User
    Join Date
    02-08-2006
    Posts
    12

    How to add parentheses...

    Hi,

    I work in school and and I have to enter test marks of students in excel 2003.
    Here is my question:
    If student's mark is below 40(e.g. 32), I want to indicate it by (32).
    How can I do it? It seems that condition formatting can't help...

    Thanks!
    Last edited by VBA Noob; 11-10-2008 at 03:50 AM.

  2. #2
    Forum Contributor Kieran's Avatar
    Join Date
    10-02-2003
    Location
    Perth, Western Australia
    MS-Off Ver
    Office 2003
    Posts
    109
    You could enter the raw mark in one column, and have the 'adjusted' text show in a column next to it.

    The formula would be IF(a1<40, "(" & A1 & ")", A1) - assuming that the raw mark is in A1.
    Kieran

  3. #3
    Registered User
    Join Date
    02-08-2006
    Posts
    12
    Thanks! I'll try that.

    Btw, is there any way to do it automatically?(without programming,of course)

  4. #4
    Forum Contributor Kieran's Avatar
    Join Date
    10-02-2003
    Location
    Perth, Western Australia
    MS-Off Ver
    Office 2003
    Posts
    109
    Conditional formatting will allow you to chnge the fond, text colour or background shading dependent on the cell value. It cannot however change the text/number by adding characters itself. The best option is to mark the offending results as a different foreground/background colour.

    Number formatting can optionally change the apperance of a number, however it has hard coded boundaries of less-than-zero; zero; greater than zero. As you problem does not relate to a value <0 or >0, the solution is not applicable.

    So, in short, it is not possible to do without programming.

  5. #5
    Registered User
    Join Date
    02-08-2006
    Posts
    12
    Kieran, Thanks alot !!!!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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