Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I regularly write long nested Excel functions, is there an easy way to
convert a function that I have made work in Excel into a custom function without having to rewrite the whole thing into VBA? Here is an example function: =IF(LEFT($A6)=TEXT(O$3,0),REPLACE(REPLACE(IF(LEFT( $A6)=TEXT(O$3,0),REPLACE($A6,1,1,""),""),1,FIND(" - ",IF(LEFT($A6)=TEXT(O$3,0),REPLACE($A6,1,1,""),"") )+2,""),FIND(" - ",REPLACE(IF(LEFT($A6)=TEXT(O$3,0),REPLACE($A6,1,1 ,""),""),1,FIND(" - ",IF(LEFT($A6)=TEXT(O$3,0),REPLACE($A6,1,1,""),"") )+2,"")),1000,""),"") Any help would be greatly appreciated. Simon Corner |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How to convert cell formula functions to code functions | Excel Discussion (Misc queries) | |||
can the "convert" function in excel convert to UK gallons? | Excel Discussion (Misc queries) | |||
Is there any function or macro to get all the available functions? | Excel Discussion (Misc queries) | |||
Is there a macro or function to convert values to it written text | Excel Worksheet Functions | |||
is there a instrRev function in excel functions? | Excel Worksheet Functions |