Bug 168276 - FILTER function in Calc returns duplicate values if it only finds a single item in an array
Summary: FILTER function in Calc returns duplicate values if it only finds a single it...
Status: RESOLVED DUPLICATE of bug 127808
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
25.8.1.1 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-09-04 10:19 UTC by Neil Whyte
Modified: 2025-09-04 14:31 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Neil Whyte 2025-09-04 10:19:57 UTC
Description:
I have a list of people's names and sections in a scout group they belong to. I have a matrix/array FILTER function that is intended to return only those people within a selected section (e.g. 'Beavers' or 'Scouts').

If the filter finds only one (and only one) person in a section, the result returned will repeat that person down the entire array (397 rows, in my example). If the filter finds any other non-zero value, it only displays that many results - for example, 3 people found will return 3 rows.

Steps to Reproduce:
1. Create some dummy data - firstname,lastname,group
2. Ensure each group is used at least twice, except on one person
3. Create a matrix/array filter to return all those in a particular group
4. Change the search term to be the group that only has one person in it

Actual Results:
The single person is correctly identified, but their details are repeated multiple times (depending on how large the array is)

Expected Results:
Provided only one result - not one result repeated multiple times


Reproducible: Always


User Profile Reset: Yes

Additional Info:
Version: 25.8.1.1 (X86_64)
Build ID: 54047653041915e595ad4e45cccea684809c77b5
CPU threads: 18; OS: Windows 11 X86_64 (build 26100); UI render: Skia/Raster; VCL: win
Locale: en-GB (en_GB); UI: en-GB
Calc: CL threaded
Comment 1 nobu 2025-09-04 14:31:12 UTC

*** This bug has been marked as a duplicate of bug 127808 ***