What is the proper syntax for an RTD formula?

Use the OAS Excel Wizard found under the program group Open Automation Software.

The following article describes RTD formulas in general:

https://support.microsoft.com/en-us/kb/289150