ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Help with formula (https://www.excelbanter.com/excel-worksheet-functions/181955-help-formula.html)

Tmaxx02

Help with formula
 
I have a 2 digit number in a cell, say 52 for instance, in A2 that I
want to display in E2 as 25, in numberical order, in other words. I
have this formula that I copied to my spreadsheet:


=IF(ISBLANK(A2),"",--MCONCAT(VSORT(MID(A2,INTVECTOR(LEN(A2),1),
1)+0,,1))).

This works great, does exactly what I want it to. Except when I
restart Excel. Then I get a Name? error. I have the Analisys Toolpak
loaded and I enter the formula as an array, But everytime I restart
Excel it does the same thing.

Can anyone help? Is there a better way to make it work?

Thanks in advance, T.

Gord Dibben

Help with formula
 
Those three Functions are not from the ATP.

They are part of Laurent Longre's MoreFunc Add-in.

Check it in ToolsAdd-ins.


Gord Dibben MS Excel MVP

On Mon, 31 Mar 2008 15:45:14 -0700 (PDT), Tmaxx02 wrote:

I have a 2 digit number in a cell, say 52 for instance, in A2 that I
want to display in E2 as 25, in numberical order, in other words. I
have this formula that I copied to my spreadsheet:


=IF(ISBLANK(A2),"",--MCONCAT(VSORT(MID(A2,INTVECTOR(LEN(A2),1),
1)+0,,1))).

This works great, does exactly what I want it to. Except when I
restart Excel. Then I get a Name? error. I have the Analisys Toolpak
loaded and I enter the formula as an array, But everytime I restart
Excel it does the same thing.

Can anyone help? Is there a better way to make it work?

Thanks in advance, T.



Tmaxx02

Help with formula
 
Thanks very much. I tried to install the MoreFunc Add in, but it cause
the worksheet to crash. But I did find another way:

IF(LEFT(H3,1)<RIGHT(H3,1),H3, RIGHT(H3,1)&LEFT(H3,1))

This did the trick. Again thanks for the help.

Terry.


On Mar 31, 6:22*pm, Gord Dibben <gorddibbATshawDOTca wrote:
Those three Functions are not from the ATP.

They are part of Laurent Longre's MoreFunc Add-in.

Check it in ToolsAdd-ins.

Gord Dibben *MS Excel MVP



On Mon, 31 Mar 2008 15:45:14 -0700 (PDT), Tmaxx02 wrote:
I have a 2 digit number in a cell, say 52 for instance, in A2 that I
want to display in E2 as 25, in numberical order, in other words. I
have this formula that I copied to my spreadsheet:


=IF(ISBLANK(A2),"",--MCONCAT(VSORT(MID(A2,INTVECTOR(LEN(A2),1),
1)+0,,1))).


This works great, does exactly what I want it to. Except when I
restart Excel. Then I get a Name? error. I have the Analisys Toolpak
loaded and I enter the formula as an array, But everytime I restart
Excel it does the same thing.


Can anyone help? Is there a better way to make it work?


Thanks in advance, *T.- Hide quoted text -


- Show quoted text -




All times are GMT +1. The time now is 05:59 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com