"=MID(J2;FIND("@";J2)+1;LEN(J2)-FIND("@";J2)-(LEN(J2)-FIND(".";J2;FIND("@";J2)))-1)"
I have made this formula to extract the domain from an email, i mean it takes anything after the "@" and before the final dot.
What i want to do is to add this to an Add-in like a custom function i.e. "=DOMAIN()"
I can make basic and easy functions like this, but i don't know how to do it
:
can someone please give me ideas, or tell me how to do it
Thanks in advance.![Smile :) :)](https://cdn.jsdelivr.net/joypixels/assets/8.0/png/unicode/64/1f642.png)
I have made this formula to extract the domain from an email, i mean it takes anything after the "@" and before the final dot.
What i want to do is to add this to an Add-in like a custom function i.e. "=DOMAIN()"
I can make basic and easy functions like this, but i don't know how to do it
![Confused :confused: :confused:](https://cdn.jsdelivr.net/joypixels/assets/8.0/png/unicode/64/1f615.png)
Code:
Function CubeRoot(number)
CubeRoot = number ^ (1 / 3)
End Function
can someone please give me ideas, or tell me how to do it
Thanks in advance.
![Smile :) :)](https://cdn.jsdelivr.net/joypixels/assets/8.0/png/unicode/64/1f642.png)