Text Function help

yessir

Board Regular
Joined
Jun 7, 2019
Messages
81
I need to use the Text functions to put the product IDs and prices in separate columns. And by using the text function to display product ID code in Column D and price in column E


B C D E

Product ID and PriceProduct IDPrice
xa1 304
za23 23
xa13 4123
zzx 12
a12q 374
 

Some videos you may like

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.

LindenWolf

New Member
Joined
Feb 28, 2012
Messages
30
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
1 way in D put =MID(B2,1,FIND(" ",B2,1)-1) assuming your row 2 is the start of the data line
Price would be =MID(B2,FIND(" ",B2,1)+1,99)*1


Hope that helps.
 

Fluff

MrExcel MVP, Moderator
Joined
Jun 12, 2014
Messages
52,898
Office Version
  1. 365
Platform
  1. Windows
How about
+Fluff New.xlsm
ABCDE
1Product ID and PriceProduct IDPrice
2xa1 304xa1304
3za23 23za2323
4xa13 4123xa134123
5zzx 12zzx12
6a12q 374a12q374
Roster
Cell Formulas
RangeFormula
D2:D6D2=LEFT(B2,FIND(" ",B2)-1)
E2:E6E2=RIGHT(B2,LEN(B2)-FIND(" ",B2))+0
 

Fluff

MrExcel MVP, Moderator
Joined
Jun 12, 2014
Messages
52,898
Office Version
  1. 365
Platform
  1. Windows
Glad we could help & thanks for the feedback.
 

Watch MrExcel Video

Forum statistics

Threads
1,122,469
Messages
5,596,321
Members
414,053
Latest member
Dual Showman

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