negative numbers and brackets

uk747

Well-known Member
Joined
Jul 20, 2011
Messages
741
Office Version
  1. 365
Platform
  1. Windows
When i enter something like (6789) it always appears as -6789 is there somewhere in options to turn it off

PS sometimes letters will be involved in the brackets i.e. (A456D)

Im using Excel 2002
 

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.

FormR

MrExcel MVP
Joined
Aug 18, 2011
Messages
6,689
Office Version
  1. 365
Platform
  1. Windows
Try to enter as
Rich (BB code):
'(1234)

Or format the cells as text before data entry.
 

uk747

Well-known Member
Joined
Jul 20, 2011
Messages
741
Office Version
  1. 365
Platform
  1. Windows
Try to enter as
Rich (BB code):
'(1234)



Or format the cells as text before data entry.

Try to enter as
Rich (BB code):
'(1234)

Thats what I'm having to do but when there are lots of occurences it takes along time

Or format the cells as text before data entry.
Just tried that. formatted the column as text then repaste the data and still shows with negative and when i paste it in the fromat reverts back to general
 

uk747

Well-known Member
Joined
Jul 20, 2011
Messages
741
Office Version
  1. 365
Platform
  1. Windows

ADVERTISEMENT

right click
paste special /text
over a text formatted cell

Thanks Martin and as said only works when already formatted as text otherwise reverts back to General
 

uk747

Well-known Member
Joined
Jul 20, 2011
Messages
741
Office Version
  1. 365
Platform
  1. Windows

ADVERTISEMENT

Have you tried custom number formatting such as #,##0_);(#,##0)

thanks that also works
 

Rick Rothstein

MrExcel MVP
Joined
Apr 18, 2011
Messages
37,866
Office Version
  1. 2019
  2. 2010
Platform
  1. Windows
thanks that also works
Just keep in mind, formatting a cell only affects the displayed text in the cell, the underlying value in the cell will remain unchanged... for your case, that means the cells will still contain negative numbers. I am not sure if that will matter to you or not in you ultimate usage of that data, so I figured I would mention it to you "just in case".
 

uk747

Well-known Member
Joined
Jul 20, 2011
Messages
741
Office Version
  1. 365
Platform
  1. Windows
Just keep in mind, formatting a cell only affects the displayed text in the cell, the underlying value in the cell will remain unchanged... for your case, that means the cells will still contain negative numbers. I am not sure if that will matter to you or not in you ultimate usage of that data, so I figured I would mention it to you "just in case".

Thanks Rick

I did notice but only because in a different part of the sheet I used a lookup table to collate some of the information and as you mentioned it pulled through the negative values. So i just fromatted that data as well with the custom format.
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,163,711
Messages
5,833,251
Members
430,200
Latest member
ADLHMA2022

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top