Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] Exl2k Formula in Footing

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Exl2k Formula in Footing
 Login/Join
 
Member
posted
Hi Experts,
Is there a way to integrate the following formula inside the EXL2K FORMULA for FLD6...
-*=IF(ROUND(J29-J30,2)=0,"In Balance", "Not in Balance")
I have tried in different way, But getting the cell error...

  
DEFINE FILE CAR
THIRDVAL/P10.2=500.00;
FLD1/A200='<tr><TD>Needs:</TD><TD></TD><TD></TD><TD>0</TD><td>0</td></tr>';
FLD2/A200='<TR><TD>Availability</TD>';
FLD3/A200='<TD></TD><TD></TD>';
FLD4/A250='<TD x:fmla="=OFFSET(INDIRECT(ADDRESS(0,0,4,FALSE),FALSE),-3,0)-OFFSET(INDIRECT(ADDRESS(0,0,4,FALSE),FALSE),-3,1)+OFFSET(INDIRECT(ADDRESS(0,0,4,FALSE),FALSE),-1,0)">0</TD>';
FLD5/A250='<TD x:fmla="=OFFSET(INDIRECT(ADDRESS(0,0,4,FALSE),FALSE),0,-1)-OFFSET(INDIRECT(ADDRESS(0,0,4,FALSE),FALSE),-3,1)+OFFSET(INDIRECT(ADDRESS(0,0,4,FALSE),FALSE),-1,0)">0</TD>';
FLD6/A250='<TD x:fmla="=IF(ROUND(OFFSET(INDIRECT(ADDRESS(0,0,4,FALSE),FALSE),0,-1)-OFFSET(INDIRECT(ADDRESS(0,0,4,FALSE),FALSE),0,-2),2)=0,True,False)">0</TD></tr>';

-*=IF(ROUND(J29-J30,2)=0,"In Balance", "Not in Balance")

END

TABLE FILE CAR
PRINT RETAIL_COST DEALER_COST THIRDVAL
BY COUNTRY
BY CAR RECOMPUTE MULTILINES
BY MODEL
WHERE COUNTRY EQ 'ITALY'
ON TABLE PCHOLD FORMAT EXL2K FORMULA
FOOTING
"<FLD1<FLD2<FLD3<FLD4<FLD5<FLD6"
END

This message has been edited. Last edited by: Kerry,


webfocus 7x
windows
 
Posts: 8 | Registered: January 09, 2009Report This Post
Virtuoso
posted Hide Post
Don't know much about this stuff, but I do know that IF statements in excel should be separated by ';' and not by ','. Maybe that's your problem?


GamP

- Using AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988
 
Posts: 1961 | Location: Netherlands | Registered: September 25, 2007Report This Post
Member
posted Hide Post
I have confused the question Gamp, Let me rephase it, If i replace the True and False as "In balance" and "Not In balance " i am getting an error...
  

DEFINE FILE CAR
THIRDVAL/P10.2=500.00;
FLD1/A200='<tr><TD>Needs:</TD><TD></TD><TD></TD><TD>0</TD><td>0</td></tr>';
FLD2/A200='<TR><TD>Availability</TD>';
FLD3/A200='<TD></TD><TD></TD>';
FLD4/A250='<TD x:fmla="=OFFSET(INDIRECT(ADDRESS(0,0,4,FALSE),FALSE),-3,0)-OFFSET(INDIRECT(ADDRESS(0,0,4,FALSE),FALSE),-3,1)+OFFSET(INDIRECT(ADDRESS(0,0,4,FALSE),FALSE),-1,0)">0</TD>';
FLD5/A250='<TD x:fmla="=OFFSET(INDIRECT(ADDRESS(0,0,4,FALSE),FALSE),0,-1)-OFFSET(INDIRECT(ADDRESS(0,0,4,FALSE),FALSE),-3,1)+OFFSET(INDIRECT(ADDRESS(0,0,4,FALSE),FALSE),-1,0)">0</TD>';
FLD6/A250='<TD x:fmla="=IF(ROUND(OFFSET(INDIRECT(ADDRESS(0,0,4,FALSE),FALSE),0,-1)-OFFSET(INDIRECT(ADDRESS(0,0,4,FALSE),FALSE),0,-2),2)=0,"In Balance","Not in Balance")">0</TD></tr>';

-*=IF(ROUND(J29-J30,2)=0,"In Balance", "Not in Balance")

END

TABLE FILE CAR
PRINT RETAIL_COST DEALER_COST THIRDVAL
BY COUNTRY
BY CAR RECOMPUTE MULTILINES
BY MODEL
WHERE COUNTRY EQ 'ITALY'
ON TABLE PCHOLD FORMAT EXL2K FORMULA
FOOTING
"<FLD1<FLD2<FLD3<FLD4<FLD5<FLD6"
END



I dont know how to escape the character '"'.

Thanks


webfocus 7x
windows
 
Posts: 8 | Registered: January 09, 2009Report This Post
Virtuoso
posted Hide Post
quote:
I dont know how to escape the character '"'.

I think that is THE problem. And that's an Excel thing. I'd try searching the internet for this to see if there is some kind of escape sequence for the fmla strings.


GamP

- Using AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988
 
Posts: 1961 | Location: Netherlands | Registered: September 25, 2007Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] Exl2k Formula in Footing

Copyright © 1996-2020 Information Builders