Oops forgot to remove the perence belonging to you original IIF(), just remove the last perence.
=FormatNumber(ExchangeRate([Start Date],Nz([CurrencyID],0),10)
Public Function ExchangeRate(DateValue As Date, CurrencyID As Long) As Double
'Returns Exchange Rate for values supplied
'-1 returned...