Hi There,
Need help in finding a formula to arrange text ascending and descending from each cell.
Eg: Cell A1 has "EDDIE" , results in cell B1 (ascending) should be"DDEEI" and results in cell C1 (descending ) should be "IEEDD"
Thanks
Hi There,
Need help in finding a formula to arrange text ascending and descending from each cell.
Eg: Cell A1 has "EDDIE" , results in cell B1 (ascending) should be"DDEEI" and results in cell C1 (descending ) should be "IEEDD"
Thanks
Hi eddiedhs. Welcome to the forum.
I would be surprised if this can be done without VBA.
Try this user defined function by tigeravatar. If you are not familiar with how to install VBA code see the instructions following this code.
How to install your new codePlease Login or Register to view this content.
- Copy the Excel VBA code
- Select the workbook in which you want to store the Excel VBA code
- Press Alt+F11 to open the Visual Basic Editor
- Choose Insert > Module
- Edit > Paste the macro into the module that appeared
- Close the VBEditor
- Save your workbook (Excel 2007+ select a macro-enabled file format, like *.xlsm)
Then try array entering this formula in B1. If you aren’t familiar with array-entered formulas array enter means the formula must be committed from edit mode by simultaneously pressing and holding down Ctrl and Shift while hitting Enter.
Change SMALL to LARGE to reverse the order.Formula:Please Login or Register to view this content.
Dave
.
Pure VBA method :
Website Resource:Please Login or Register to view this content.
https://windowssecrets.com/forums/sh...ell-(excel-xp)
Hi FlameRetired ,
Thanks for this, but i cannot get it work
Edd.xlsm
Hi Logit,
Thanks, but i feel the string is broken??
.
No problems here. Works as it should :
Please Login or Register to view this content.
Your attached has the strings in proper case. The original example was in upper case. Try array entering this.Formula:Please Login or Register to view this content.
thanks a ton, it works now
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks