Issue 101466 - ODFF: implement AVERAGEIF and AVERAGEIFS
Summary: ODFF: implement AVERAGEIF and AVERAGEIFS
Status: CLOSED FIXED
Alias: None
Product: Calc
Classification: Application
Component: programming (show other issues)
Version: OOo 3.1 RC2
Hardware: All All
: P3 Trivial with 6 votes (vote)
Target Milestone: ---
Assignee: kla
QA Contact: issues@sc
URL:
Keywords: ms_interoperability
Depends on:
Blocks: 105140 117000 119303
  Show dependency tree
 
Reported: 2009-05-01 05:27 UTC by eberry
Modified: 2017-05-20 11:41 UTC (History)
6 users (show)

See Also:
Issue Type: FEATURE
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
.xlsx file demonstrating the missing functions (8.47 KB, application/vnd.ms-excel)
2009-05-01 05:28 UTC, eberry
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description eberry 2009-05-01 05:27:13 UTC
I'd like to see Calc support the Excel AverageIf and AverageIfs functions, so
.xlsx spreadsheets with these functions can be properly opened.  Trying to do so
now results in: #NAME
See the attached sample .xlsx file.
Comment 1 eberry 2009-05-01 05:28:01 UTC
Created attachment 61940 [details]
.xlsx file demonstrating the missing functions
Comment 2 sigfod 2009-09-03 17:19:18 UTC
*** Issue 101466 has been confirmed by votes. ***
Comment 3 erack 2010-01-26 22:55:56 UTC
See also
COUNTIFS issue 90269
SUMIFS issue 95144
Comment 4 ooo 2010-08-05 15:27:16 UTC
makkica will be working on this.
Comment 5 makkica 2010-08-30 17:35:27 UTC
AVERAGEIF is implemented.
Comment 6 ooo 2010-09-09 19:08:24 UTC
AVERAGEIF() implemented.
Note: import/export from/to Excel is not implemented yet.

In cws calcishmakkica:

changeset 237cb91dd986
http://hg.services.openoffice.org/cws/calcishmakkica/changeset/237cb91dd986
M formula/inc/formula/compiler.hrc
M formula/inc/formula/opcode.hxx
M formula/source/core/resource/core_resource.src
M sc/inc/scfuncs.hrc
M sc/source/core/inc/interpre.hxx
M sc/source/core/tool/interpr1.cxx
M sc/source/core/tool/interpr4.cxx
M sc/source/core/tool/parclass.cxx
M sc/source/core/tool/scmatrix.cxx
M sc/source/ui/src/scfuncs.src
M sc/util/hidother.src

You can observe the progress and possible integration date of CWS calcishmakkica at
http://tools.services.openoffice.org/EIS2/cws.ShowCWS?Path=DEV300%2Fcalcishmakkica
Comment 7 ooo 2010-11-03 23:23:56 UTC
AVERAGEIFS implemented.
Note: import/export from/to Excel is not implemented yet.

In cws calcishmakkica:

changeset 02cf226fcde4
http://hg.services.openoffice.org/cws/calcishmakkica/changeset/02cf226fcde4
M formula/inc/formula/compiler.hrc
M formula/inc/formula/opcode.hxx
M formula/source/core/resource/core_resource.src
M formula/source/ui/dlg/parawin.cxx
M sc/inc/sc.hrc
M sc/inc/scfuncs.hrc
M sc/source/core/data/global.cxx
M sc/source/core/inc/interpre.hxx
M sc/source/core/tool/interpr1.cxx
M sc/source/core/tool/interpr4.cxx
M sc/source/core/tool/parclass.cxx
M sc/source/ui/formdlg/dwfunctr.cxx
M sc/source/ui/src/scfuncs.src
M sc/source/ui/unoobj/appluno.cxx
M sc/util/hidother.src

changeset 79da8a1033b6
http://hg.services.openoffice.org/cws/calcishmakkica/changeset/79da8a1033b6
M sc/source/core/inc/parclass.hxx
M sc/source/core/tool/interpr1.cxx
M sc/source/core/tool/parclass.cxx
M sc/source/ui/src/scfuncs.src

You can observe the progress and possible integration date of CWS calcishmakkica at
http://tools.services.openoffice.org/EIS2/cws.ShowCWS?Path=DEV300%2Fcalcishmakkica
Comment 8 ooo 2011-02-17 13:47:43 UTC
Created issue 117000 as a follow-up to implement Excel import/export.
Comment 9 ooo 2011-02-17 16:13:58 UTC
Reassigning to QA for verification.
The latest ODF 1.2 OpenFormula draft is available at
http://www.oasis-open.org/committees/download.php/40744/OpenDocument-v1.2-csd06-rev02-part2.odt
Comment 10 kla 2011-02-28 15:34:10 UTC
seen ok in cws -> verified
Comment 11 Shenfeng Liu 2012-10-11 05:42:56 UTC
Clean up the Target Milestone from AOO 3.5.0, since it is a feature implemented before.
Comment 12 Ariel Constenla-Haile 2012-10-11 05:48:34 UTC
(In reply to comment #11)
> Clean up the Target Milestone from AOO 3.5.0, since it is a feature
> implemented before.

AFAIK, code was committed recently, with revision 1381446 to revision 1381452 
This means, the target milestone with be 3.5.0
Comment 13 vulcain 2013-01-28 10:18:31 UTC
Resolved in LibreOffice 4.0:
https://bugs.freedesktop.org/show_bug.cgi?id=41214
Comment 14 Ariel Constenla-Haile 2013-01-28 15:07:38 UTC
(In reply to comment #13)

This bug was fixed in OpenOffice with the inclusion off CWS calcishmakkica in

revision 1381445
revision 1381446
revision 1381447
revision 1381448
revision 1381449
revision 1381450
revision 1381452

After that, LO took the code released under the Apache License.

> Resolved in LibreOffice 4.0:
> https://bugs.freedesktop.org/show_bug.cgi?id=41214

I find it inadmissible that you promote a fork using OpenOffice resources, like
this bugzilla