Hi
How can I process it so that user entered values can be referred to just like in an array?
A solution is to use a UDF, like
With you example, with A1 with red, blue, green, in B1
=CSV_Item(A1,2)
gives blue.
Another solution would be a formula. It could get the element index from a cell.
Remark: I did not include error processing
Is it possible to have a function return values to another cell reference than from the cell where it is called?
Used as a UDF, no. Like a worksheet formula a UDF is passive, it simply calculates the value of the cell. A UDF cannot take any active action like inserting a row, deleting a cell, writing another cell, etc.
Bookmarks