extract text from string

LFKim2018

Active Member
Joined
Mar 24, 2018
Messages
267
how could I extract to 3 columns the following string format?
DATE SAMPLE OF STRING AMOUNT

first text is before the first occurrence of the space
2nd text is between the 1st space and the last space
3rd text is after the last space

say string is at A2
B2 = DATE
C2 = SAMPLE OF STRING (can contain more than 3 words)
D2 = AMOUNT

many many thanks
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.
could it be because the formula is referencing to D2 - can we reference it back to A2?
the column D is formatted to show numbers and comma.... could this be the problem?
many thanks
 
Upvote 0
Mr. Rothstein
sorry to be this pesky.
I removed the formats and it worked well.
many many thanks
 
Upvote 0

Forum statistics

Threads
1,215,459
Messages
6,124,947
Members
449,198
Latest member
MhammadishaqKhan

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