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

Gregory Smith - Oracle Sparc Verification wrote:
AllI have created a one dimensional array called CATEGORY.When I do this function: 
=Index(Category,25,0)I get the contents
       of that index - lets say it is the word "cats"When I do this function 
       get FALSE?!!Anyone have any ideas what I am doing wrong?gs

With that formula, you should get 0 if the strings don't match (or 1 if they do); do you really get FALSE displayed in the cell?

Assuming you actually get 0 (because the condition (index(category,25,0)="cats") is evaluating to FALSE), make sure there are no spaces in the values. "cats " is not equal to "cats", even though they look the same. If spurious spaces are likely to be a problem, you may want to use:
to remove spaces either side of the value (and collapse multiple spaces within the value into single spaces) before comparison.


To unsubscribe e-mail to:
Posting guidelines + more:
List archive:
All messages sent to this list will be publicly archived and cannot be deleted


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.