Date: prev next · Thread: first prev next last
2025 Archives by date, by thread · List index


 If I enter =A1:C1 in any cell in columns A-C it shows TRUE, but by clearing the cell formatting I 
can see that the actual return value is the column index (A=1).

This helps me see what is happening. The range is actually being resolved to the value of the cell 
in the same column as the formula (which just happens to match the index in the case). Change the 
first cells to 4, 5, and 6 instead of 1, 2, and 3 to test.

Because the formula doesn't error and does return a value, it took a while to find the bug in my 
original sheet. I assumed like many formulas, it would also accept a range (e.g. SUM). Perhaps it 
should just error when a range is given? It seems like almost all other formulas that are meant for 
a single value do the same.

 Did find this option that might work.
=IF(COUNT(A1:C1) = COUNTA(A1:C1), 1, 0)

Something similar to this seems to be working for my use case. Definitely more succinct than using 
AND and many ISNUMBER as I was.

Appreciate the help.

-A

-- 
To unsubscribe e-mail to: users+unsubscribe@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.