Bug 164377 - Match() returns Err:504 for discrete Ranges (a3, a6, a10)
Summary: Match() returns Err:504 for discrete Ranges (a3, a6, a10)
Status: RESOLVED INSUFFICIENTDATA
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
24.8.3.2 release
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Calc-Function
  Show dependency treegraph
 
Reported: 2024-12-19 11:40 UTC by Jim Figlik
Modified: 2025-12-26 03:19 UTC (History)
3 users (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 Jim Figlik 2024-12-19 11:40:17 UTC
Description:
while specifying contiguous ranges works, documentation suggests that I should be able to use a discrete range, (e.g.  MATCH((E4~J4~N4~R4~V4~Z4), MAX(E4~J4~N4~R4~V4~Z4),1) should work; in real life it is returning an Err:504

Steps to Reproduce:
1.create a discrete (e.g. non-contiguous) range, horizontal or vertical.
2. use a constant or a function with a non-sorted array specified


Actual Results:
Match fails with an Err:504 error

Expected Results:
expecting a numerical value (position of the matching constant)

Match() performs as expected with the discrete cells copied to a contiguous range
(both horizontal & vertical) but fails (h & V) if the range is not contiguous.


Reproducible: Always


User Profile Reset: No

Additional Info:
Version: 24.8.3.2 (X86_64) / LibreOffice Community
Build ID: 48a6bac9e7e268aeb4c3483fcf825c94556d9f92
CPU threads: 22; OS: Windows 10 X86_64 (10.0 build 19045); UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded
Comment 1 m_a_riosv 2024-12-20 01:29:17 UTC
Please where it is suggested in documentation.

I don't think MATCH's help will do it.
https://help.libreoffice.org/latest/en-US/text/scalc/01/04060109.html?DbPAR=CALC#bm_id3158407
Comment 2 Jim Figlik 2024-12-20 12:38:30 UTC
I stand corrected. LibraOffice Calc does not specify that non-contiguous ranges are supported.

This is my first use and it is supported in MS-Office / Excel
https://support.microsoft.com/en-us/office/select-specific-cells-or-ranges-3a0c91c5-8a64-4cd2-8625-7f5b7f1eed87

It never occurred to me that non-contiguous ranges would NOT be supported.
Comment 3 m_a_riosv 2024-12-21 02:31:49 UTC
Please attach an Excel file that works for you in Excel.
Comment 4 QA Administrators 2025-11-25 15:22:34 UTC Comment hidden (obsolete)
Comment 5 QA Administrators 2025-12-26 03:19:09 UTC
Dear Jim Figlik,

Please read this message in its entirety before proceeding.

Your bug report is being closed as INSUFFICIENTDATA due to inactivity and
a lack of information which is needed in order to accurately
reproduce and confirm the problem. We encourage you to retest
your bug against the latest release. If the issue is still
present in the latest stable release, we need the following
information (please ignore any that you've already provided):

a) Provide details of your system including your operating
   system and the latest version of LibreOffice that you have
   confirmed the bug to be present

b) Provide easy to reproduce steps – the simpler the better

c) Provide any test case(s) which will help us confirm the problem

d) Provide screenshots of the problem if you think it might help

e) Read all comments and provide any requested information

Once all of this is done, please set the bug back to UNCONFIRMED
and we will attempt to reproduce the issue. Please do not:

a) respond via email 

b) update the version field in the bug or any of the other details
   on the top section of our bug tracker

Warm Regards,
QA Team

MassPing-NeedInfo-FollowUp