Witam Zauważyłem, że funkcje w CALCu typu: - ZNAJDŹ (FIND) - ZNAJDŹB (FINDB) i podobne operujące na tekście jak nie znajdą wyniku zwracają komunikat błędu #ARG. Wyniki w ciągach tekstowych liczone są od 1 wiec proponuję zamiast #ARG aby te funkcje zwracały 0 (ciąg nie znaleziony) - znacząco by to ułatwiło ich używanie. np zamiast zapisu: JEŻELI(CZY.BŁĄD(ZNAJDŹ(",";F1));"";ZŁĄCZ.TEKSTY(J1;F2)) byłby prostszy (czytelniejszy): JEŻELI(ZNAJDŹ(",";F1)=0;"";ZŁĄCZ.TEKSTY(J1;F2)) Ww. problem jest dość uciążliwy gdy w CALCu przetwarza się tabelki ze sporą ilością tekstu, bo funkcja ZNAJDŹ bez CZY.BŁĄD trochę słabo się sprawdza. Z poważaniem
Sorry Jaroslaw, could you please report again in English (even an automatic translation), as this is the language we try to stick to here. Please see https://wiki.documentfoundation.org/QA/Bugzilla/Policies_and_Procedures#Policies If you need help with it, the Polish-language mailing lists can put you in contact with someone: https://wiki.documentfoundation.org/Language/LocalMailingLists#Polish Thank you!
(Translate by Google) Hello I noticed that CALC functions like: - FIND - FINDB (FINDB) and similar operating on text, if they do not find a result, they return the error message #VALUE (#ARG). The results in text strings are counted from 1 so I suggest instead of #ARG that these functions return 0 (string not found) - it would make their use much easier. e.g. instead of writing: IF(ISERROR(FIND(",",F1)),"",CONCATENATE(J1,F2)) would be simpler (more readable): IF(FIND(",",F1)=0;"";CONCATENATE(J1,F2)) above the problem is quite troublesome when tables with a large amount of text are processed in CALC, because the FIND function without ISERROR is a bit weak. Kind regards
Thank you for the suggestion. I think this will not change as many users check the result of FIND() to be a number with ISNUMBER(), to return TRUE if there is a match. If the behaviour is changed, their code would be invalidated.