» Rearranging a String in Alphabetic Order
CATEGORY - Excel Text Formulas
VERSION - All Microsoft Excel Versions
Problem:The cells in column A contain 3-letter strings.
We want to rearrange each string so that its characters are sorted in alphabetic order.
Solution:
Use the CHAR, SMALL, CODE, and MID functions as shown in the following formula:
=CHAR(SMALL(CODE(MID(A2,{1,2,3},1)),1))&CHAR(SMALL(CODE(MID(A2,{1,2,3},2)),2))&CHAR(SMALL(CODE(MID(A2,{1,2,3},3)),3))
Book Store:
Recommended Books:
- Financial Shenanigans : How to Detect Accounting Gimmicks & Fraud in Financial Reports
- Special Edition Using Microsoft Word 2002
- Microsoft Excel Version 2002 Step by Step
- Keys to Reading an Annual Report (Barron's Business Keys)
- Word 2002: The Complete Reference
- Marketing Plan: A Handbook with Marketing Plan
No comments have been submitted.

