|
Topic Topic Hot Topic New Topic Locked Topic Sticky Topic Hidden |
Macro o formula per rimuovere valori |
Post Reply
|
| Author | |
pisistrato
Nuovo Utente
Joined: 20/Gen/2010 Location: Italy Status: Offline Points: 48 |
Post Options
Thanks(0)
Quote Reply
Topic: Macro o formula per rimuovere valoriPosted: 04/Feb/2012 at 12:18 |
|
Salve ragazzi,
Vi vorrei chiedere un aiuto per creare una macro o una formula che faccia al seguente operazione. Ho una colonna contenente per goni coordinata una percentuale (le coordinate sono Y, S o T) e possono essere presenti tutte e 3 contemporanemante, a coppia o solo una delle 3. S(1): 0.0; Y(4): 100.0; S(5): 0.0; Y(8): 0.0 T(2): 0.0; Y(4): 100.0; S(6): 52.0; T(8): 100.0; Y(12): 33.0; Y(2): 95.5; T(8): 10.0; S(9): 66.0 Dovrei fare in modo che la macro/formula eliminasse tutto quello che è inferiore a 75%, ottenendo così Y(4): 100.0 Y(4): 100.0; T(8): 100.0 Y(2): 95.5 Qualcuno è in grado di aiutarmi?
|
|
|
4 8 15 16 23 42
|
|
![]() |
|
jorel
Veterano
Joined: 13/Mar/2009 Status: Offline Points: 1531 |
Post Options
Thanks(0)
Quote Reply
Posted: 04/Feb/2012 at 15:46 |
|
Allora.
Se sai quale è il numero massimo di valori presenti nella stringa potresti fare così. Nell'ipotesi di 6 valori, in A1 la stringa di dati. tolfo gli spazi (che sono di troppo) B1 = SOSTITUISCI( A1 ; " " ; "" ) resto della stringa (vedere H1) C1 = STRINGA.ESTRAI( B1 ; LUNGHEZZA( H1 ) + 2 ; LUNGHEZZA( B1 ) ), copiare fino a G1 parte iniziale di stringa contenente un solo dato H1 = SINISTRA( B1 ; RICERCA( ";" ; B1 & ";" ) - 1 ), copiare fino a M1 criterio di selezione del dato N1 = SE( H1 <> "" ; SE( VALORE( SOSTITUISCI( STRINGA.ESTRAI( H1 ; RICERCA( ":" ; H1 ) + 1 ; LUNGHEZZA( H1 ) ) ; "." ; "," ) ) > 75 ; H1 & ";" ; "" ) ; "" ), copiare fino a S1 stringa risultante con i soli dati che superano il criterio T1 = N1 & O1 & P1 & Q1 & R1 & S1 |
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |