How Do I Cut & Paste Data from One Column to the Next?

sayme

New Member
Joined
Apr 21, 2018
Messages
17
1.png


Hi guys.. Wanted to know how to cut and paste only the prices at the end of the cells in column B into cells in column C. I tried using 'Text to Columns.' But it only works when cutting and pasting data to the left of cells not to the right when data is aligned to the left. Please let me know. Thanks.
 

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.
In column C2 paste this and drag down as required
Rich (BB code):
=TRIM(RIGHT(SUBSTITUTE(B2," ",REPT(" ",255)),255))
 
Upvote 0
If you want those prices to be numerical so that other calculations might be done with them, then I would use this amendment

=RIGHT(SUBSTITUTE(B14," ",REPT(" ",20)),20)+0
 
Upvote 0
If you want those prices to be numerical so that other calculations might be done with them, then I would use this amendment

=RIGHT(SUBSTITUTE(B14," ",REPT(" ",20)),20)+0


Hi Peter. Would you mind breaking down and explaining each part of the formula please?
....
 
Upvote 0
Peter, apart from asking you to break down the formula, can you amend the formula to remove 'VALUE!' that appears in empty cells? Looking forward.
 
Upvote 0
Use
Rich (BB code):
=IFERROR(RIGHT(SUBSTITUTE(B2," ",REPT(" ",20)),20)+0,"")
The formula substitutes a space for 20 spaces, then extracts the last set of characters to the right.
By adding zero on the end, it makes the result an actual number rather than text.
The IFERROR should be self explanatory
 
Upvote 0

Forum statistics

Threads
1,215,063
Messages
6,122,930
Members
449,094
Latest member
teemeren

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