Thank you! I replaced the RC[-1] with an actual cell reference and it works.

Thank again!