We might be able to offer better assistance if we could see a sample of the file containing the table and the file containing the formula.
Let us know if you have any questions.