Insert 3 Number Zero (000)

muhammad susanto

Well-known Member
Joined
Jan 8, 2013
Messages
2,102
Office Version
  1. 365
  2. 2021
Platform
  1. Windows
hi all..

how to inserted 3 number zero (000) in a data like this :
<style type="text/css">
table.tableizer-table {
font-size: 12px;
border: 1px solid #CCC ;
font-family: Arial, Helvetica, sans-serif;
}
.tableizer-table td {
padding: 4px;
margin: 3px;
border: 1px solid #CCC ;
}
.tableizer-table th {
background-color: #104E8B ;
color: #FFF ;
font-weight: bold;
}
</style>






[TABLE="class: tableizer-table"]
<thead>[TR="class: tableizer-firstrow"]
[TH]data[/TH]
[TH]my expected[/TH]
[/TR]
</thead><tbody> [TR]
[TD]025040900662063KD[/TD]
[TD]025040900662063000KD[/TD]
[/TR]
[TR]
[TD]066640900673830KD[/TD]
[TD]066640900673830000KP[/TD]
[/TR]
[TR]
[TD]015040900674348KD[/TD]
[TD]etc...[/TD]
[/TR]
[TR]
[TD]042540900675027KD[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]


any help, greatly appreciated...

.sst.
 
Last edited:

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.
Hi,

Why is your 2nd row sample switched from KD to KP?

Assuming that's a typo, and you may have different 2 ( TWO ) characters at the End of the Text string, try this:


Book1
AB
1data
2025040900662063KD025040900662063000KD
3066640900673830KD066640900673830000KD
4015040900674348KD015040900674348000KD
5042540900675027KD042540900675027000KD
6123456789012345XY123456789012345000XY
Sheet361
Cell Formulas
RangeFormula
B2=REPLACE(A2,LEN(A2)-1,,"000")


Formula copied down.
 
Last edited:
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,177
Members
453,021
Latest member
Justyna P

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