Date: prev next · Thread: first prev next last


Den tors 30 sep. 2021 kl 09:33 skrev Jan Öhman <jan_ohman@yahoo.com>:

Hej!

Min önskan är att jämföra två celler (med lika eller olika innehåll)

ex.
Cell A1 innehåller 123-456
Cell B1 innehåller 123-456
Cell C1 innehåller formeln =OM(A1=B1;"lika";"olika")
Så långt inga problem


--------------------------------------------------------------------------------------------

Men i vissa fall innehåller B1 två andra tecken.
ex.
Cell A1 innehåller 123-456
Cell B1 innehåller AB123-456

I dessa fall önskar jag filtrera bort de två tecknen i cell B1
Men hittar inte vilka instruktioner som skulle kunna nyttjas.

Har testat
- EXTEXT(B1;2;LÄNGD(B1))
- MID(B1;2;LÄNGD(B1))


I den sista har du blandat svenska med engelska och dessutom vill du ha med
texten från tredje bokstaven, inte andra:
=MID(B1;3;LEN(B1))

Detta blir, när man använder svenska formelnamn:
=EXTEXT(B1;3;LÄNGD(B1))

Så i ditt fall borde ditt första exempel fungera, men visa ett tecken för
mycket.
Har just testat och det fungerar.

Se mitt andra svar på din andra, nästan exakt samma, fråga för mer detaljer.


Vänliga hälsningar

Johnny Rosenberg



Men får bara felmmeddelanden....

//mvh Jan



--
For unsubscribe instructions e-mail to:
users+unsubscribe@sv.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/sv/users/
Privacy Policy: https://www.documentfoundation.org/privacy



-- 
For unsubscribe instructions e-mail to: users+unsubscribe@sv.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/sv/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.