Returns True if report is running in AnaplanXLWeb and False if the report is running in Excel.

XL3IsWeb( )

=IF(XL3IsWeb(),"On the web","In Excel")