Formating numbers so they show as rand values eg 123 456 789.00

tonywatsonhelp

Well-known Member
Joined
Feb 24, 2014
Messages
3,194
Office Version
  1. 365
  2. 2019
  3. 2016
Platform
  1. Windows
Hi Everyone,
now this sounds simple,
all i want is to format a value to show as the money value Rand, now rand shows as "R" then the money value but has a spance after every 3rd number for example
R1 000 000.00
R11 000 000.00
R111 000 000.00
R1 111 000 000.00
R11 111 000 000.00
R111 111 000 000.00
R2 111 111 000 000.00
R22 111 111 000 000.00
R222 111 111 000 000.00
R3 222 111 111 000 000.00
The problem i'm having is either the number of times it does a space runs out, for example
="The clients need the amount of "& TEXT('Data Inputs'!X8,"R### ###.00")) gives me just one space (eg R2211111000 000.000)
or i add more and to many spaces like this ="The clients need the amount of "& TEXT('Data Inputs'!X8,"R### ### ### ### ###.00") (eg R 111 111 000 000.00) the gap between R and first number is not acceptable

how can i do it so i get the exact look above?
Data Inputs'!X8 is the number and is just input as a number like 100000

please help if you can its driving me crazy

thanks

Tony
 

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.
Try
="R"&TRIM(TEXT( 'Data Inputs'!X8 ,"### ### ### ### ###.00"))
 
Upvote 0

Forum statistics

Threads
1,215,026
Messages
6,122,743
Members
449,094
Latest member
dsharae57

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