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




-----Original Message-----
From: "Hylton Conacher (ZR1HPC)" <hylton@conacher.co.za>
To: LibreOffice Users <users@global.libreoffice.org>
Sent: Sat, 19 Dec 2015 9:44
Subject: [libreoffice-users] Calc formula syntax assistance

Hi,

Running :O 5.0.3.2 on IMac and have seen there is a 5.0.4 update, 
however, perhaps my issue does not require an update.

Anyway, the formula involves COUNTIF with the search range on another 
sheet and the search criteria in a cell adjacent to the countif formula.

=COUNTIF(Data.$C$4:C$492,$B17)

[Did you try this?
=COUNTIF(Data.$C$4:$C$492,<sheet name>.$b17)
Note, I made two adjustments to your formula
• Absolute column reference for the end of the range (your probable intent)
• Sheet reference in the search criteria
The second change is likely to resolve your problem. If not, then you may have one or more cells 
with extraneous space(s). If the extraneous space(s) are in the search criteria you can add the 
TRIM function call there. -- jl]

Each search criteria (B17), is text consisting of spaces, numbers and 
special characters i.e. BLUE GUM LANE (NO'S 1 – 17)

On my version of LO this formula displays a zero as the count of the 
search criteria however on reviewing the Data sheet, I can identify at 
least one exact replica within range, yet it is not counted?

Any ideas to get the correct answer of the number of times a field appears?

Regards
Hylton

-- 
Jim
-- 
To unsubscribe e-mail to: users+unsubscribe@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted

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.