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


Forse non ho capito il problema (nel caso mi scuso)... ma a me viene così:

nome (chiave2) cognome (chiave 1 cresc) tipo

a1 b1 c1

a1 b1 c2

a4 b1 c4

a3 b3 c3

a5 b5 c5

nome (chiave cresc2) cognome (chiave 1 cresc) tipo

a1 b1 c1

a1 b1 c2

a4 b1 c4

a3 b3 c3

a5 b5 c5

nome (chiave decresc2) cognome (chiave 1 cresc) tipo

a4 b1 c4

a1 b1 c1

a1 b1 c2

a3 b3 c3

a5 b5 c5

Quindi cambia secondo l'ordinamento imposto al nome, mantenendo ovviamente
l'ordinamento primario imposto a cognome.

Alessandro Malfatti
---------
Strada di Compresso, 20/L
Colle Umberto
06133 Perugia Italia


Il giorno sab 1 mar 2025 alle ore 18:35 gianpaolo_marcolongo <
gianpaolo_marcolongo@newwhitebear.net> ha scritto:

Buona sera

ho fatto un test con tre cognomi uguali. Due dei tre cognomi aveva lo
stesso nome.

Tanto per capirci

a1 b1 c1

a1 b1 c2

a3 b3 c3

a4 b1 c4

a5 b5 c5

risultati

1. caso

a3 b3 c3

a1 b1 c1

a1 b1 c2

a4 b1 c4

a5 b5 c5

2. caso

a3 b3 c3

a1 b1 c1

a1 b1 c2

a4 b1 c4

a5 b5 c5

In apparenza uguale al primo caso perché a1 < a4

3. caso

a3 b3 c3

a4 b1 c4

a1 b1 c1

a1 b1 c2

a5 b5 c5

risultato diverso da caso 1 e 2 perché a4 > a1

Come ha scritto Ivo Manavella, qualora tutti i cognomi fossero diversi,
non cambierebbe nulla, perché chi comanda è il cognome che è la chiave
primaria.

Buona serata

Gian Paolo Marcolongo

Il 01/03/25 14:18, Ivo Manavella (CSIB) ha scritto:
Il 01/03/2025 13:00, Aldo Colamartino ha scritto:
Ciao,
ho provato a fare degli ordinamenti di tabelle CALC con varie chiavi
di ordinamento, esempio NOME COGNOME TELEFONO:
- CHIAVE 1 COGNOME (crescente) CHIAVE 2 -
- CHIAVE 1 COGNOME (crescente) CHIAVE 2 NOME (crescente)
- CHIAVE 1 COGNOME (crescente) CHIAVE 2 NOME (decrescente)

Ma non cambia assolutamente nulla: fa solo l'ordinamento in base al
cognome.

Cosa sbaglio?
Mi sfugge poi l'utilitá di eseguire piú ordinamenti contemporanei
(perché sembrerebbe che debbano essere contemporanei) in base a
chiavi diverse, ma questo é un altro discorso.
Grazie.

Mia configurazione:
/
Version: 25.2.0.3 (X86_64) / LibreOffice Community
Build ID: e1cf4a87eb02d755bce1a01209907ea5ddc8f069
CPU threads: 4; OS: Windows 11 X86_64 (10.0 build 26100); UI render:
Skia/Raster; VCL: win
Locale: it-IT (en_GB); UI: it-IT
Calc: CL threaded
/

La cosa potrebbe cambiare se, ad esempio, nella lista ci sono più
campi COGNOME uguali, in quel caso verrebbero ordinati in modo diverso
se il campo NOME ha ordinamento crescente o decrescente.



--
Come cancellarsi: E-mail users+unsubscribe@it.libreoffice.org
Problemi?
https://it.libreoffice.org/supporto/mailing-lists/come-cancellarsi/
Linee guida per postare + altro:
https://wiki.documentfoundation.org/Local_Mailing_Lists/it
Archivio della lista: https://listarchives.libreoffice.org/it/users/
Privacy Policy: https://www.documentfoundation.org/privacy


-- 
Come cancellarsi: E-mail users+unsubscribe@it.libreoffice.org
Problemi? https://it.libreoffice.org/supporto/mailing-lists/come-cancellarsi/
Linee guida per postare + altro: https://wiki.documentfoundation.org/Local_Mailing_Lists/it
Archivio della lista: https://listarchives.libreoffice.org/it/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.