Welcome to NeoOffice developer notes and announcements
NeoOffice
Developer notes and announcements
 
 

This website is an archive and is no longer active
NeoOffice announcements have moved to the NeoOffice News website


Support
· Forums
· NeoOffice Support
· NeoWiki


Announcements
· Twitter @NeoOffice


Downloads
· Download NeoOffice


  
NeoOffice :: View topic - Calc bug: subtotal ignores non-sum function specification?
Calc bug: subtotal ignores non-sum function specification?
 
   NeoOffice Forum Index -> NeoOffice Releases
View previous topic :: View next topic  
Author Message
rikb
Red Pill


Joined: Jun 02, 2010
Posts: 5

PostPosted: Wed Jun 02, 2010 3:07 pm    Post subject: Calc bug: subtotal ignores non-sum function specification?

i am reliablly unable to get any function other than SUM when i use the Data:Subtotal menu. i select another (eg, AVERAGE), but when it is applied i still get "=SUBTOTAL(9, ..." vs. "=SUBTOTAL(1, ..." which is the correct function index (cf. Table 8)

i got this behavior on both 3.0.1 NeoOffice, and the recently downloaded 3.1.1.

is there a way to know whether this is a Neo or OO bug?
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Wed Jun 02, 2010 4:04 pm    Post subject: Re: Calc bug: subtotal ignores non-sum function specificatio

rikb wrote:
i got this behavior on both 3.0.1 NeoOffice, and the recently downloaded 3.1.1.

is there a way to know whether this is a Neo or OO bug?


If you can attach a sample document and tell us what cells to look at and what result we should expect to see in those cells, then we can use your document to try and reproduce this problem in both NeoOffice and OpenOffice.org.

You can attach a sample document using the steps in this post.

Patrick
Back to top
rikb
Red Pill


Joined: Jun 02, 2010
Posts: 5

PostPosted: Thu Jun 03, 2010 7:40 pm    Post subject:

hi Patrick,

attachments attached!
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Thu Jun 03, 2010 9:41 pm    Post subject:

Thank you for the sample document. At first I got the same results as you but then I figured out why it is happening: in the Subtotals dialog you need to explicitly set each checked column's formula to "Average".

Like you, I thought that the selected formula applied to all checked columns but it only gets set for the current selected column name. In other words, you can set different formulas for each check column.

So, to set all checked columns to use the "Average" forumla, open the Subtotals dialog and after you check a column, click on the column name to select it. Then select the "Average" formula. Repeat this for each column that you check and all checked columns will use the "Average" formula.

Do the above steps work for you?

Patrick
Back to top
rikb
Red Pill


Joined: Jun 02, 2010
Posts: 5

PostPosted: Thu Jun 03, 2010 11:48 pm    Post subject:

bravo! setting each column's function explicitly works for me too. thanks again Patrick.
Back to top
Display posts from previous:   
   NeoOffice Forum Index -> NeoOffice Releases All times are GMT - 7 Hours
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Powered by phpBB © 2001, 2005 phpBB Group

All logos and trademarks in this site are property of their respective owner. The comments are property of their posters, all the rest © Planamesa Inc.
NeoOffice is a registered trademark of Planamesa Inc. and may not be used without permission.
PHP-Nuke Copyright © 2005 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.