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     Excel 2k formula format; Not displaying decimals in Excel while keeping precision?

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Excel 2k formula format; Not displaying decimals in Excel while keeping precision?
 Login/Join
 
Virtuoso
posted
I'm struggling with an EXL2K FORMULA type report where the numbers displayed in the Excel sheet should be rounded to whole numbers, but their subtotals should be calculated using their original precisions.
Is there some way to set the cell number-format in Excel different to what the numeric precision is that the report puts in the sheet?

As an example, if I have:
1.33
2.33
3.33

I want to see in Excel:
A
---
1
2
3
--- +
7

The total is achieved by the formula =SUM(A1:A3) in the cell, but obviously if the numbers are rounded the total would be 1+2+3 = 6, which is the wrong answer. It should be 1.33+2.33+3.33 = 6.99 which then gets rounded to 7.


I realise I could achieve this by calculating the subtotals using WebFOCUS instead of Excel, but in practice our users sometimes need to add corrections to the Excel sheet. The SUM being calculated from the numbers in the sheet is a rather nice benefit in such cases, so I'd prefer to keep that feature if it can be helped.

Not being able to do this would be a bit sad, as the guys at IBI were nice enough to fix a cell-referencing bug in the EXL2K FORMULA format for us (Thanks guys!).


WebFOCUS 8.1.03, Windows 7-64/2008-64, IBM DB2/400, Oracle 11g & RDB, MS SQL-Server 2005, SAP, PostgreSQL 11, Output: HTML, PDF, Excel 2010
: Member of User Group Benelux :
 
Posts: 1669 | Location: Enschede, Netherlands | Registered: August 12, 2010Report This Post
Expert
posted Hide Post
I don't think you can do anything about this, other that using Excel Templates. I've struggled with this precise problem for quite a while and threw in the towel.

I am very curious about "the guys at IBI were nice enough to fix a cell-referencing bug in the EXL2K FORMULA format" - please elaborate.


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Virtuoso
posted Hide Post
I feared as much, here goes another towel then. If anyone needs a towel, there must be a ring full of them somewhere...
Too bad we're stuck with Excel 2k, we can't use templates.

Regarding the issue with EXL2K FORMULA format and cell references; I've never found out what exactly was causing the issues I was having, but what I was seeing was this:

I have a sheet with border-lines between sections of calculations and a few explicit page-breaks. It has several levels of subtotals and a grand total in the very last row. The sums were incorrect, and plain invalid later on in the sheet. On closer inspection it turned out that the SUM() in the total-cells was off by more and more rows the further down you went in the sheet.
Removing both the borders and the page-breaks fixed the off-by-n problem, but I needed at least the borders.

This works now, I haven't seen this issue reoccur since IBI sent us a Hotfix (106).


WebFOCUS 8.1.03, Windows 7-64/2008-64, IBM DB2/400, Oracle 11g & RDB, MS SQL-Server 2005, SAP, PostgreSQL 11, Output: HTML, PDF, Excel 2010
: Member of User Group Benelux :
 
Posts: 1669 | Location: Enschede, Netherlands | Registered: August 12, 2010Report This Post
Expert
posted Hide Post
quote:
we can't use templates

Is this a company / site based decision or is there another reasoon?

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
 
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004Report This Post
Virtuoso
posted Hide Post
Simple enough reason, we use Excel 2k. It's not compatible with that feature.


WebFOCUS 8.1.03, Windows 7-64/2008-64, IBM DB2/400, Oracle 11g & RDB, MS SQL-Server 2005, SAP, PostgreSQL 11, Output: HTML, PDF, Excel 2010
: Member of User Group Benelux :
 
Posts: 1669 | Location: Enschede, Netherlands | Registered: August 12, 2010Report This Post
Expert
posted Hide Post
I am guessing that when you say Excel 2K you not mean it as in the format EXL2K but Excel 2000 (e.g. Office XP)?

It's surprising how quickly we forget the limitations of earlier releases of software!

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
 
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004Report This Post
Virtuoso
posted Hide Post
That's correct.


WebFOCUS 8.1.03, Windows 7-64/2008-64, IBM DB2/400, Oracle 11g & RDB, MS SQL-Server 2005, SAP, PostgreSQL 11, Output: HTML, PDF, Excel 2010
: Member of User Group Benelux :
 
Posts: 1669 | Location: Enschede, Netherlands | Registered: August 12, 2010Report 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     Excel 2k formula format; Not displaying decimals in Excel while keeping precision?

Copyright © 1996-2020 Information Builders