Den tors 30 sep. 2021 kl 09:33 skrev Jan Öhman <jan_oh...@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+unsubscr...@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+unsubscr...@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

Till