Formulas should be typed by hand adjacent to Cognos list. When data in Cognos list is refreshed, formulas will recalculate themselves.
Alternative is to refresh Cognos list with button and VBA. Then you can use the VBA behind the button to replace "#" with "=".
------------------------------
Milan Milovanovic
------------------------------
Original Message:
Sent: Mon December 11, 2023 02:33 AM
From: Samuel SUM
Subject: Report on EXCEL with Formula
Thanks for your clues.
I have tried to use Cognos for office but it seems to be a text cell. Is there any special treatment for the formula field in Cognos Analytics Report Studio?
I try to create a formula as a text for a calculated field / data field as shown below. For rich text item, it doesn't appear in Excel.
=B3+C3
It will give me a single quote ' additionally before =B3+C3.
------------------------------
Samuel SUM
------------------------------
Original Message:
Sent: Fri December 08, 2023 02:53 AM
From: N D
Subject: Report on EXCEL with Formula
You could perhaps use "Cognos for Office" as an alternative. Using the Excel Add-in, you can create complex Excel workbooks and just update special ranges with data from Cognos at runtime
------------------------------
N D