How to insert some value at a perticular postion

thenvk

New Member
Joined
Mar 24, 2009
Messages
22
I have cells in the following way. in each row.


abcd
efgh
a
dfg
erft
vkldfsdas

Now I want to insert some value say XXXXX at the first and last postion(More specifically at a perticular position) in the text). How can I do it?

The end result should be

XXXXX abcdXXXXX
XXXXX efghXXXXX
XXXXX aXXXXX
XXXXX dfgXXXXX
XXXXX erftXXXXX
XXXXX vkldfsdasXXXXX
 

Excel Facts

Will the fill handle fill 1, 2, 3?
Yes! Type 1 in a cell. Hold down Ctrl while you drag the fill handle.

thenvk

New Member
Joined
Mar 24, 2009
Messages
22
I want in a find and replace kind of thing. Actually I am a test engineer and will use it in replacing test cases.
If I use the above formula, it would not work for me.
 
Upvote 0

thenvk

New Member
Joined
Mar 24, 2009
Messages
22
Yes, its same....

Thanks a lot for such a quick response
 
Upvote 0

Stormseed

Banned
Joined
Sep 18, 2006
Messages
3,274
Yes, its same....

Thanks a lot for such a quick response
<!-- / message -->

Then the formula which is posted above woould work fine enough. Did you try the formula on your worksheet / file ?
 
Upvote 0

thenvk

New Member
Joined
Mar 24, 2009
Messages
22
Is there any other alternate option like.. insert a perticular text(Say "The") at the starting position of every cell and put a '.' (Full stop) at the end of text?
 
Upvote 0

thenvk

New Member
Joined
Mar 24, 2009
Messages
22
I think you did not get my point.I understood what you have mentioned in the above post.
I want the replacements in the same cell. Not in the next cell,by referring it.
 
Upvote 0

Stormseed

Banned
Joined
Sep 18, 2006
Messages
3,274
Yeah, but that replacements in the adjacent cells are not permanent. You can make them permanent by copying the cells in column B to column A permanently.

Is that what you look forward to accomplish ? I cannot tell you anything about the "Replace" option because I am not sure of that and I am not in a mood to test that right now ;)
 
Upvote 0

Forum statistics

Threads
1,190,794
Messages
5,982,956
Members
439,808
Latest member
agutosay

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
Top