Moderatori: Anthony47, Flash30005
=SE(I2<>"";I2;SE(J2<>"";J2;SE(K2<>"";K2;SE(L2<>"";L2;A2))))
Sub sconfondi()
Dim Contr As String, I As Long, rContr As Range, myC As Range
Contr = "I:L" '<<< Le colonne in cui guardare
'
Set rContr = Application.Intersect(Range(Contr), Range("1:1"))
For I = 2 To Cells(Rows.Count, 1).End(xlUp).Row
' If Application.WorksheetFunction.CountA(rContr.Offset(I - 1, 0)) > 0 Then
For Each myC In rContr.Offset(I - 1, 0)
If myC.Value <> "" Then
Cells(I, 1) = myC.Value
Exit For
End If
Next myC
' End If
Next I
End Sub
Torna a Applicazioni Office Windows
Mettere tutto MAIUSCOLO un range di celle Autore: raimea |
Forum: Applicazioni Office Windows Risposte: 7 |
Trasformare celle con formattazioni in html Autore: servicedynergy |
Forum: Applicazioni Office Windows Risposte: 5 |
Immagine visibile e in posizione definita Autore: BG66 |
Forum: Applicazioni Office Windows Risposte: 21 |
Visitano il forum: Nessuno e 28 ospiti