For a deeper look into our Eikon Data API, look into:

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
3 1 1 2

Call SDC Deal Number in TR: from cell

Hello everyone,

I tried the following formula in Excel Eikon. But it does not work. The problem comes from calling the cell because when I'm typing manually the SDC number it works. How could I make it works ?

=@TR("SCREEN(U(IN(DEALS)/*UNV:DEALSMNA*/), Contains(TR.MNASDCDealNumber,""$A$2""))";"TR.MnAConsiderationOffered")


Thanks for your help

deals
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

Upvotes
Accepted
6.8k 14 5 8

hello @barbara.guinot

  • To refer to the cell in Excel, the cell number referred must be outside the double quote (else, it'll be considered as a string instead of cell reference), you may use Excel's CONCAT function to do so, please refer to an example below
  • Fix syntax by changing the ';' before the field name to be ','
  • add the command ,"CH=Fd RH=IN",B2 to place the output on cell B2 (as by default, the output will be placed on cell A2, which is the same cell of the input condition deal number for the command reference.
=@TR(CONCAT("SCREEN(U(IN(DEALS)/*UNV:DEALSMNA*/), Contains(TR.MNASDCDealNumber,",$A$2,"))"),"TR.MnAConsiderationOffered","CH=Fd RH=IN",B2)

here's the screenshot of the output of the command above excel-deal.png


excel-deal.png (13.0 KiB)
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.