Number format query

Jakeyw

New Member
Joined
May 14, 2021
Messages
4
Office Version
  1. 365
Platform
  1. Windows
Hi,

This is driving me up the wall and it's not doubt a really easy question so thanks in advance.

I'm using the text formula and want to display the number as follows for example:

0.6 would be $0.6m and if it were -0.6 it would be displayed as ($0.6m)

So far I have this: =TEXT(cell reference,"#,#$0.0;(#,##$0.0)")

Previously I managed to get the m to show, but it would feature outside the brackets when a negative which wasn't what I was after. Please could someone help me with the correct formula.

Many thanks,

Jake
 

Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.
=TEXT(cell reference,"$#,##0.0;($#,##0.0)")
 
Upvote 0
=TEXT(cell reference,"$#,##0.0""m"";($#,##0.0)""m""")

Edit : No, that doesn't do it. I'll try again. Here :

=TEXT(cell reference,"$#,##0.0""m"";($#,##0.0""m"")")
 
Upvote 0
Solution
=TEXT(cell reference,"$#,##0.0""m"";($#,##0.0)""m""")

Edit : No, that doesn't do it. I'll try again
That made the -0.6 ($0.6)m so I just adapted it slight and it worked: =TEXT(cell reference,"$#,##0.0""m"";($#,##0.0""m"")")

Thanks very much you've saved me a lot of time faffing around appreciate it.
 
Upvote 0

Forum statistics

Threads
1,215,059
Messages
6,122,917
Members
449,093
Latest member
dbomb1414

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
Back
Top