Concatanation problem

TheRins3r

New Member
Joined
Dec 12, 2016
Messages
28
Office Version
  1. 365
Platform
  1. Windows
Hi All,

I am looking to take data from column A and paste it into column B.
However, i need to paste it into the middle of a string of text that lies in B.

Help would be much appreciated.
 

Excel Facts

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN
Hi Jeff, Thanks for your help.

Basically i have 30k lines i need to do this for, i need to copy text from column A "TEXT1" and paste it into column B.
I want to keep what is in B and add the data from A into the middle of B.

[TABLE="width: 659"]
<colgroup><col><col></colgroup><tbody>[TR]
[TD]Column A[/TD]
[TD]Column B[/TD]
[/TR]
[TR]
[TD]Text1[/TD]
[TD]This is a string of text TEXT1 this is more string of text[/TD]
[/TR]
</tbody>[/TABLE]
 
Upvote 0
But where in the middle of the column B text. After something, before something? What is the middle? Can I pick a random number for the middle?
 
Last edited:
Upvote 0
It needs to be placed as the 49th character in a string of text that totals 104.
 
Upvote 0
Thanks Jeff,

That almost worked, apolgies.

The data which i need from A, needs to be added into B ( and replace/delete the following "XXXXXXXXXXXXXXXXXXXXXXXXX".
It also added a space before the text that was added.
 
Upvote 0
If I'm understanding this correctly, you have 25 X's in the middle of your text in column B and you want those X's replaced with what's in A?

=SUBSTITUTE(B1,REPT("X",25),A1)

If this is not it, then what exactly is in A1 and what exactly is in B1 and what do you want C1 to show?
 
Last edited:
Upvote 0

Forum statistics

Threads
1,224,827
Messages
6,181,200
Members
453,022
Latest member
RobertV1609

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