If you already have the formula setup in A2 to return a result based on A1, why not just fix the references to all cells except A1 and drag it over as far as you need? Then B1 on could be the numbers you want to return the values of.
I'm not aware of a way to get your own custom function in without code. You can have formulas that are shortened to look like custom formulas by using the name manager tool, but you can't create one with an input.
For your last question, there's no way we can really answer that without knowing what you're trying to accomplish. Can you please provide an example workbook of what you're trying to do (including an explanation of how the other variables would affect the formula) along with expected results?
Bookmarks