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


I sent this response yesterday, but it doesn't seem to have made it through to the list... apologies if it ends up duplicated.

Thanks for confirming that this is the problem, and that the workaround works. I'll see about checking if this still happens in the latest version and filing an enhancement request some time.

Expected behaviour may need a bit more thinking through though. e.g. whether a search for "9876.50" should find a cell with a value of 9876.499 if it's displayed to 2 decimal places as 9876.50. I'm starting to think perhaps the cell's display precision shouldn't matter, but perhaps the search term precision should, e.g. a search for "9876.5" would find cells with a value between 9876.45 and 9876.55, whereas a search for "9876.50" would find cells with a value between 9876.495 and 9876.505...

Mark.


WEDLOCO wrote:
Ah Mark - you have solved it!

I was looking for an amount of 13.50 and entered 13.50 (which I thought was logical) - search not 
found.
Now I have tried entering 13.5 and it finds it! Must remember not to add the 0.

"If you search for "9876.50", it DOES NOT find anything - which is probably not what you'd expect
(I'd have expected it to find that cell containing 9876.5)”

Absolutely - so I am not a complete Numpty!  (a Scottish word).

Thank you so much, to Tom and all others who have tried to help.

Kind regards,

Evie.



On 20 Dec 2014, at 18:57, Mark Bourne <libreoffice-ml.mbourne@spamgourmet.com> wrote:

I'm not sure I understand what you mean by "the full amount/value"? Are you able to give an example 
of what you're entering in Find, and the values in some cells in your sheet which you'd expect that to find?

A more concrete example showing what I was trying to describe... If you have a sheet displaying the 
following values:
  9876.00
  9876.50
  9876.54
The actual values of the cells are:
  9876
  9876.5
  9876.54
(they're just displayed with two decimal places because of the formatting applied to the cells)

If you search for "9876.54", it finds the cell containing 9876.54; so far so good.

If you search for "9876.5", it finds the cell containing 9876.5, and also the cell containing 
9876.54; also fine, but probably not very helpful in your case.

If you search for "9876.50", it DOES NOT find anything - which is probably not what you'd expect 
(I'd have expected it to find that cell containing 9876.5).

To find cells displaying "9876.50" but not other values (such as 9876.54), it seems you need to use the Find & Replace dialog, 
search for "9876.5", and select the "Entire cells" option. This may present other problems, for example it wouldn't find a 
value 9876.501, even though that would be displayed as "9876.50".

Mark.


WEDLOCO wrote:
Hi Mark

What I’m entering in Find is the full amount/value. The amount of 1234.12 is just to show the 
format I am using

Kind regards,

Evie.
evie@wedloco.co.uk

www.wedloco.co.uk
DIY Invitations & Stationery
0131 478 9175




On 20 Dec 2014, at 18:11, Mark Bourne <libreoffice-ml.mbourne@spamgourmet.com> wrote:

WEDLOCO wrote:
Thanks Tom for your quick response and suggestion - and also all others who have contributed.

Downloaded the Still version 4.2.8 but same thing is happening. Worked 1st time I entered a value 
in find
and then when I changed the amount "Search key not found". I entered different amounts from 
different cells to test and it can find some values but not others???

They are all formatted as numbers e.g.: 1234.12. No formulas in cells.

These are bank statements downloaded as .cvs files then changed to .ods files in Libra to check 
against receipts.

Cheers.

Evie.

Briefly experimenting with this, it seems that if there is a value of 1234.1 in a cell, it is found 
when searching for 1234.1 but not when searching for 1234.10 - even if it is formatted to display 
two decimal places. Could that be what you're seeing?

Additionally, a cell containing 1234.12 is found by a search for either 1234.12 or 1234.1, which makes it more difficult 
to find 1234.10 but not 1234.12. It is possible though, by using Edit > Find and Replace, entering "1234.1" 
as the search term, and selecting the "Entire cells" option; that will then find a cell containing 1234.1 but 
not 1234.12.

This does seem potentially confusing. If this is the problem you're seeing, it may be worth filing an 
enhancement request athttps://www.libreoffice.org/get-help/bug/. After filling in the details but before 
submitting, check the list of "Related bug reports". If any of those describe the same problem, 
it's better to add information there instead of submitting a new report.

Mark.


--
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.