Change order of Text

fgmoon353

New Member
Joined
Jun 23, 2012
Messages
9
Office Version
  1. 365
Platform
  1. Windows
I the first one is an example of how I need it too look. Can someone help me with a formula?

Beebops Tumbler 12oz 360pc PalletBeebops Tumbler 12oz Pallet 360pc
Insect handled Jar 10oz 1320pc Pallet
Water Bottle 14oz 756pc Pallet
CHEM Pro Bottle 14oz 648pc Pallet
Laundry Pro 14oz Bottle 1050pc Pallet
 

Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.
What eversion of Excel are you using?

I suggest that you update your Account details (or click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)
 
Upvote 0
What eversion of Excel are you using?

I suggest that you update your Account details (or click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)
Done, 365
 
Upvote 0
Thanks for that.
How about
Fluff.xlsm
AB
1
2Beebops Tumbler 12oz 360pc PalletBeebops Tumbler 12oz Pallet 360pc
3Insect handled Jar 10oz 1320pc PalletInsect handled Jar 10oz Pallet 1320pc
4Water Bottle 14oz 756pc PalletWater Bottle 14oz Pallet 756pc
5CHEM Pro Bottle 14oz 648pc PalletCHEM Pro Bottle 14oz Pallet 648pc
6Laundry Pro 14oz Bottle 1050pc PalletLaundry Pro 14oz Bottle Pallet 1050pc
Sheet7
Cell Formulas
RangeFormula
B2:B6B2=TEXTJOIN(" ",,TEXTBEFORE(A2," ",-2),CHOOSECOLS(TEXTSPLIT(A2," "),-1,-2))
 
Upvote 0
Thanks for that.
How about
Fluff.xlsm
AB
1
2Beebops Tumbler 12oz 360pc PalletBeebops Tumbler 12oz Pallet 360pc
3Insect handled Jar 10oz 1320pc PalletInsect handled Jar 10oz Pallet 1320pc
4Water Bottle 14oz 756pc PalletWater Bottle 14oz Pallet 756pc
5CHEM Pro Bottle 14oz 648pc PalletCHEM Pro Bottle 14oz Pallet 648pc
6Laundry Pro 14oz Bottle 1050pc PalletLaundry Pro 14oz Bottle Pallet 1050pc
Sheet7
Cell Formulas
RangeFormula
B2:B6B2=TEXTJOIN(" ",,TEXTBEFORE(A2," ",-2),CHOOSECOLS(TEXTSPLIT(A2," "),-1,-2))


Thank you so much!

FOLLOW UP QUESTION: Sometimes I get a field like below, how would i modify that formula to give "Pallet Pro 1050pc"

Laundry Pro 14oz Bottle 1050pc Pallet Pro
 
Upvote 0
Do you have any more variations?
 
Upvote 0
Ok, how about
Excel Formula:
=LET(a,TEXTSPLIT(A2," "),TEXTJOIN(" ",,FILTER(a,ISERR(FIND("pc",a))),FILTER(a,ISNUMBER(FIND("pc",a)))))
 
Upvote 0

Forum statistics

Threads
1,224,594
Messages
6,179,795
Members
452,943
Latest member
Newbie4296

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