how i can make it?

SBAY3I

Board Regular
Joined
Jul 21, 2018
Messages
53
hello all members
i got some problems in excel. one of them is i want to make

72653/m/17 like that ***53/m/17
101371/f/17 like that ****71/f/17
72673/m/17 like that ***73/m/17
 

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
You only uploaded a picture...

Looks like you have trailing spaces in Column H, how did these values get into Column H, enter manually, by formula, or imported?

You may also upload a sample file.

Also, do you want to replace the formula in E8? or have a formula for another Column?
 
Last edited:
Upvote 0
i got these value into column H, by importation.
yeah i want to replace the formula in E8.
if the formula doesnt work with column E8 its ok to replaced for another column
 
Upvote 0
Assuming those are Real trailing spaces in Column H, Not some "hidden" characters and/or "unbreakable space"

Put this in E8 copied down:


Book1
EFGHI
1***53/M/171772653M
Sheet137
Cell Formulas
RangeFormula
E1=REPT("*",LEN(TRIM(H1))-2)&RIGHT(TRIM(H1),2)&"/"&I1&"/"&G1
 
Upvote 0
Assuming those are Real trailing spaces in Column H, Not some "hidden" characters and/or "unbreakable space"

Put this in E8 copied down:


Book1
EFGHI
1***53/M/171772653M
Sheet137
Cell Formulas
RangeFormula
E1=REPT("*",LEN(TRIM(H1))-2)&RIGHT(TRIM(H1),2)&"/"&I1&"/"&G1

Cell references changed for row 8:

Formula in E8 copied down.


Book1
EFGHI
8***53/M/171772653M
Sheet137
Cell Formulas
RangeFormula
E8=REPT("*",LEN(TRIM(H8))-2)&RIGHT(TRIM(H8),2)&"/"&I8&"/"&G8
 
Upvote 0
First, I have No Idea what that says, I don't read that language.

Second, you need to change the Cell References in the formula to suit your data set.
I've done that in Post #16 , use formula in Post #16 .
 
Upvote 0
NOTE: you'll probably need to change the Functions in the correct Language for your Excel.
 
Last edited:
Upvote 0

Forum statistics

Threads
1,215,005
Messages
6,122,661
Members
449,091
Latest member
peppernaut

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