Move part of a sentence into a new column

esb128

New Member
Joined
Feb 21, 2014
Messages
19
Office Version
  1. 365
Platform
  1. Windows
Hello,

I need some help, i have a large database of product data, im looking to move all the data after the last " . " into a new column, an example is below. After the last period is specifications which is what i need to move over (note there could be more sentences then this, i need the formula to look at the last period in the paragraph and move that data.

Problem

Bearing plates give greater bearing surface than standard cut washers and help distribute the load at these critical connections. 3" x 3" bearing plates offer increased flexibility while meeting the latest code requirements. The slotted hole allows for adjustability to account for bolts that are not in the middle of the sill plate. No: BPS 1/2-3HDG: Size: 3 In x 3 In, Material: Steel, Finish: Hot Dipped Galvanized, Install with: 1/2 In diameter bolt, Pkg Qty: 1 No: BPS 5/8-3HDG: Size: 3 In x 3 In, Material: Steel, Finish: Hot Dipped Galvanized, Install with: 5/8 In diameter bolt, Pkg Qty: 1

Outcome

Column A

Bearing plates give greater bearing surface than standard cut washers and help distribute the load at these critical connections. 3" x 3" bearing plates offer increased flexibility while meeting the latest code requirements. The slotted hole allows for adjustability to account for bolts that are not in the middle of the sill plate.

Column B

No: BPS 1/2-3HDG: Size: 3 In x 3 In, Material: Steel, Finish: Hot Dipped Galvanized, Install with: 1/2 In diameter bolt, Pkg Qty: 1 No: BPS 5/8-3HDG: Size: 3 In x 3 In, Material: Steel, Finish: Hot Dipped Galvanized, Install with: 5/8 In diameter bolt, Pkg Qty: 1

thank you very much in advance.

Evan
 

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"
For the formula in C1, you might want to "TRIM" it to remove the leading space if that's a problem. I have it looking for period-space. That will fix any decimal places in the text.

MrExcelPlayground19.xlsx
ABC
1Bearing plates give greater bearing surface than standard cut washers and help distribute the load at these critical connections. 3" x 3" bearing plates offer increased flexibility while meeting the latest code requirements. The slotted hole allows for adjustability to account for bolts that are not in the middle of the sill plate. No: BPS 1/2-3HDG: Size: 3 In x 3 In, Material: Steel, Finish: Hot Dipped Galvanized, Install with: 1/2 In diameter bolt, Pkg Qty: 1 No: BPS 5/8-3HDG: Size: 3 In x 3 In, Material: Steel, Finish: Hot Dipped Galvanized, Install with: 5/8 In diameter bolt, Pkg Qty: 1Bearing plates give greater bearing surface than standard cut washers and help distribute the load at these critical connections. 3" x 3" bearing plates offer increased flexibility while meeting the latest code requirements. The slotted hole allows for adjustability to account for bolts that are not in the middle of the sill plate. No: BPS 1/2-3HDG: Size: 3 In x 3 In, Material: Steel, Finish: Hot Dipped Galvanized, Install with: 1/2 In diameter bolt, Pkg Qty: 1 No: BPS 5/8-3HDG: Size: 3 In x 3 In, Material: Steel, Finish: Hot Dipped Galvanized, Install with: 5/8 In diameter bolt, Pkg Qty: 1
Sheet20
Cell Formulas
RangeFormula
B1B1=LEFT(A1,MAX(IFERROR(SEARCH(". ",A1,SEQUENCE(LEN(A1))),0)))
C1C1=RIGHT(A1,LEN(A1)-MAX(IFERROR(SEARCH(". ",A1,SEQUENCE(LEN(A1))),0)))
 
Upvote 0
Another option
Fluff.xlsm
ABC
1
2Bearing plates give greater bearing surface than standard cut washers and help distribute the load at these critical connections. 3" x 3" bearing plates offer increased flexibility while meeting the latest code requirements. The slotted hole allows for adjustability to account for bolts that are not in the middle of the sill plate. No: BPS 1/2-3HDG: Size: 3 In x 3 In, Material: Steel, Finish: Hot Dipped Galvanized, Install with: 1/2 In diameter bolt, Pkg Qty: 1 No: BPS 5/8-3HDG: Size: 3 In x 3 In, Material: Steel, Finish: Hot Dipped Galvanized, Install with: 5/8 In diameter bolt, Pkg Qty: 1Bearing plates give greater bearing surface than standard cut washers and help distribute the load at these critical connections. 3" x 3" bearing plates offer increased flexibility while meeting the latest code requirements. The slotted hole allows for adjustability to account for bolts that are not in the middle of the sill plate.No: BPS 1/2-3HDG: Size: 3 In x 3 In, Material: Steel, Finish: Hot Dipped Galvanized, Install with: 1/2 In diameter bolt, Pkg Qty: 1 No: BPS 5/8-3HDG: Size: 3 In x 3 In, Material: Steel, Finish: Hot Dipped Galvanized, Install with: 5/8 In diameter bolt, Pkg Qty: 1
Data
Cell Formulas
RangeFormula
B2B2=TEXTBEFORE(A2,".",-1)&"."
C2C2=TRIM(TEXTAFTER(A2,".",-1))
 
Upvote 0
You can say "A better option". I'm old and keep forgetting the new formulas that make everything easier.
 
Upvote 0
I don't really believe in "better", just different ways.
 
Upvote 0
Nice, Fluff. I've just been using TEXTBEFORE for simple stuff and totally overlooked the 'Instance' argument.

Another tool on the belt!
 
Upvote 0
For the formula in C1, you might want to "TRIM" it to remove the leading space if that's a problem. I have it looking for period-space. That will fix any decimal places in the text.

MrExcelPlayground19.xlsx
ABC
1Bearing plates give greater bearing surface than standard cut washers and help distribute the load at these critical connections. 3" x 3" bearing plates offer increased flexibility while meeting the latest code requirements. The slotted hole allows for adjustability to account for bolts that are not in the middle of the sill plate. No: BPS 1/2-3HDG: Size: 3 In x 3 In, Material: Steel, Finish: Hot Dipped Galvanized, Install with: 1/2 In diameter bolt, Pkg Qty: 1 No: BPS 5/8-3HDG: Size: 3 In x 3 In, Material: Steel, Finish: Hot Dipped Galvanized, Install with: 5/8 In diameter bolt, Pkg Qty: 1Bearing plates give greater bearing surface than standard cut washers and help distribute the load at these critical connections. 3" x 3" bearing plates offer increased flexibility while meeting the latest code requirements. The slotted hole allows for adjustability to account for bolts that are not in the middle of the sill plate. No: BPS 1/2-3HDG: Size: 3 In x 3 In, Material: Steel, Finish: Hot Dipped Galvanized, Install with: 1/2 In diameter bolt, Pkg Qty: 1 No: BPS 5/8-3HDG: Size: 3 In x 3 In, Material: Steel, Finish: Hot Dipped Galvanized, Install with: 5/8 In diameter bolt, Pkg Qty: 1
Sheet20
Cell Formulas
RangeFormula
B1B1=LEFT(A1,MAX(IFERROR(SEARCH(". ",A1,SEQUENCE(LEN(A1))),0)))
C1C1=RIGHT(A1,LEN(A1)-MAX(IFERROR(SEARCH(". ",A1,SEQUENCE(LEN(A1))),0)))
amazing thank you very much!
 
Upvote 0
Another option
Fluff.xlsm
ABC
1
2Bearing plates give greater bearing surface than standard cut washers and help distribute the load at these critical connections. 3" x 3" bearing plates offer increased flexibility while meeting the latest code requirements. The slotted hole allows for adjustability to account for bolts that are not in the middle of the sill plate. No: BPS 1/2-3HDG: Size: 3 In x 3 In, Material: Steel, Finish: Hot Dipped Galvanized, Install with: 1/2 In diameter bolt, Pkg Qty: 1 No: BPS 5/8-3HDG: Size: 3 In x 3 In, Material: Steel, Finish: Hot Dipped Galvanized, Install with: 5/8 In diameter bolt, Pkg Qty: 1Bearing plates give greater bearing surface than standard cut washers and help distribute the load at these critical connections. 3" x 3" bearing plates offer increased flexibility while meeting the latest code requirements. The slotted hole allows for adjustability to account for bolts that are not in the middle of the sill plate.No: BPS 1/2-3HDG: Size: 3 In x 3 In, Material: Steel, Finish: Hot Dipped Galvanized, Install with: 1/2 In diameter bolt, Pkg Qty: 1 No: BPS 5/8-3HDG: Size: 3 In x 3 In, Material: Steel, Finish: Hot Dipped Galvanized, Install with: 5/8 In diameter bolt, Pkg Qty: 1
Data
Cell Formulas
RangeFormula
B2B2=TEXTBEFORE(A2,".",-1)&"."
C2C2=TRIM(TEXTAFTER(A2,".",-1))
",A1,SEQUENCE(LEN(A1))),0)))[/XD][/XR][/RANGE]
amazing thank you very much! for both formulas they work perfectly.
 
Upvote 0
Glad we could help & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,223,249
Messages
6,171,031
Members
452,374
Latest member
keccles

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