Reorganize Existing Datum With Text Formula

jbesr1230

Board Regular
Joined
Oct 16, 2004
Messages
96
I have been given many existing data coded as follows "EXMPL1A 05/25/2018 2,150.00 D" (without quote marks) each datum is this format: a descriptor, space, date in mm/dd/yyyy, space, Amount numeric with 2 places to the right of the decimal, space, alpha-character.

I need to convert the example above to this: EXMPL1A180525D2150. This is: Descriptor, yymmdd, alpha-character, numeric (without the comma and the .00). For clarification (Descriptor) EXMPL1A - (date - yymmdd); 180525 - (alpha-character) D; (amount-if cents is .00 exclude the .00, if cents is ###.#0 exclude the final 0) so 2150.

More examples:

ABCD 06/15/2018 93.50 G - CONVERT TO: ABCD180615G93.5
PVHW3Q 07/12/2018 1450.00 I - CONVERT TO: PVHW3Q180712I1450
THQR 08/17/2019 65.25 K - CONVERT TO: THQR 190817K65.25

Thank you.

JB
 

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number

Forum statistics

Threads
1,223,911
Messages
6,175,325
Members
452,635
Latest member
laura12345

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