For the second method I mentioned earlier.. please check
static ParameterConversionConfiguration GetPostAsyncReturnConversionConfig()
{
// This conversion replaces the default #N/A return value of async functions with the #GETTING_DATA value.
var rval = ExcelError.ExcelErrorGettingData;
return new ParameterConversionConfiguration()
.AddReturnConversion((type, customAttributes) => type != typeof(object) ? null : ((Expression<Func<object, object>>)
((object returnValue) => returnValue.Equals(ExcelError.ExcelErrorNA) ? rval : returnValue)));
}