question

Upvotes
Accepted
0 0 0 2

What do I have to set in Refinitv-Excel so that Excel gives me a 0 as the value of the formula =RDP.Data("LHAG120cI3.EX",22) instead of the displayed "NULL" ?

unbenannt.png

#productexcel
unbenannt.png (406 B)
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

· Write an Answer
Upvotes
Accepted
14.9k 32 5 10

Hi @marcel.thaele ,

In the formula builder's parameters tab, there's an option "Treat As Zero If Not Available" which after this is applied, the ZAV() will be applied in the Excel formula

1690795391263.png

The formula is

=@RDP.Data("LHAG120cI3.EX","TR.CLOSEPRICE;ZAV(TR.VOLUMEOPENINTERESTRATIO)","CH=Fd RH=IN",B2)

For example, below is the different between ZAV applied and not applied

1690795513158.png


1690795391263.png (110.7 KiB)
1690795513158.png (90.2 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.

I have also found the following solution : =RDP.Data(LHAG120cI3.EX;22;"NULL=0")

Many thanx Marcel

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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