Custom Number Format With Multiple Type

muhammad susanto

Well-known Member
Joined
Jan 8, 2013
Messages
2,077
Office Version
  1. 365
  2. 2021
Platform
  1. Windows
hi all.
how to make formula to custom number format like this below:
Book1
GH
2datatarget/after formula
37.500.000Rp7,50
4500.000Rp0,50
512.730.000Rp12,73
6250.456.000Rp250,45
71.450.630.000Rp1.450,63
812.879.700.000Rp12.879,70
9155.755.000.000Rp155.755,00
Sheet1

my number in Indonesian format.
any helps, thank in advance..
.sst
 

Excel Facts

Fastest way to copy a worksheet?
Hold down the Ctrl key while dragging tab for Sheet1 to the right. Excel will make a copy of the worksheet.
i would have expected excel to just convert that in the format currency option. but if it does not, i suspect the issue may be the extra "." in the numbers, whch would make excel think they are strings, not numbers.

just see what happens if you convert them using something like this
Excel Formula:
=SUBSTITUTE(G3,".","")/10000
 
Upvote 0
hi thanks but not my expected..
i mean use Custom Format Cell like 0,00##,## etc....
 
Upvote 0
just use normal currency format now. no need for custom
 
Upvote 0
I am not sure which would be appropriate for your locale, so if the first Custom Format does not work correctly, then try the second one...

"Rp"#,##0.00,,

"Rp"#.##0,00,,
 
Upvote 0
Solution
Maybe change the trailing commas to dots??? In my US system, each of those trailing commas have the effect of dividing by 1000... I don't know if using commas for that purpose is universal or not.
 
Upvote 0
The problem is I cannot test my solutions because my Excel and locale settings are different from you, so I tried guessing. The first pattern I posted in Message #5 worked for me using my US settings (dot for decimal, comma for thousands separator and commas at the end for each "division" by 1000), that is all I can tell you. I would think a variation of it should have worked for you, but your tests seem to indicate that is not the case. I'm really not sure what else I can try. Hopefully someone with an Excel version and locale setting comes along to help you.
 
Upvote 0

Forum statistics

Threads
1,215,089
Messages
6,123,058
Members
449,091
Latest member
ikke

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