I'm trying to create a function so that =processCells(A1:A10) will take the range of cells and allow me to add 10 to each item and display the new numbers in cells A11:A20. I want to use the function in the worksheet so the user can select the cells A1:A10 manually so therefore they could select B1:B10 etc... instead of A1:A10
My problem is passing the range of cells for a worksheet to a function and then processing them.
Here's a sample UDF to get you started
To use it as you describe, enter it as an Array Formula
=processCells(A1:A10)
in cells cellsA11:A20