bonjour,
j'ai cette formule matricielle:
{=fusion(Liste_GA10;Liste_GA11;Liste_GA12;Liste_GA13)}
mon problème, c'est que à certains endroits (à la fin, là il n'y a plus de
données), il me met 0, puis il me met #N/A......
le problème, c'est que ça m'empeche des calculs par la suite...
comment y remedier ???
merci.
YANN
Cette action est irreversible, confirmez la suppression du commentaire ?
Signaler le commentaire
Veuillez sélectionner un problème
Nudité
Violence
Harcèlement
Fraude
Vente illégale
Discours haineux
Terrorisme
Autre
Merguez07
je connais pas la fonction fusion. c'est une fonction personnelle ? si oui un petit ci-joint serait le bienvenu
"Sunburn" a écrit dans le message de groupe de discussion :
bonjour, j'ai cette formule matricielle: {=fusion(Liste_GA10;Liste_GA11;Liste_GA12;Liste_GA13)}
mon problème, c'est que à certains endroits (à la fin, là il n'y a plus de données), il me met 0, puis il me met #N/A...... le problème, c'est que ça m'empeche des calculs par la suite... comment y remedier ??? merci. YANN
je connais pas la fonction fusion. c'est une fonction personnelle ? si oui
un petit ci-joint serait le bienvenu
"Sunburn" <Sunburn@discussions.microsoft.com> a écrit dans le message de
groupe de discussion : 9F41E0FE-39E1-4CB9-82FA-30493659DB82@microsoft.com...
bonjour,
j'ai cette formule matricielle:
{=fusion(Liste_GA10;Liste_GA11;Liste_GA12;Liste_GA13)}
mon problème, c'est que à certains endroits (à la fin, là il n'y a plus de
données), il me met 0, puis il me met #N/A......
le problème, c'est que ça m'empeche des calculs par la suite...
comment y remedier ???
merci.
YANN
je connais pas la fonction fusion. c'est une fonction personnelle ? si oui un petit ci-joint serait le bienvenu
"Sunburn" a écrit dans le message de groupe de discussion :
bonjour, j'ai cette formule matricielle: {=fusion(Liste_GA10;Liste_GA11;Liste_GA12;Liste_GA13)}
mon problème, c'est que à certains endroits (à la fin, là il n'y a plus de données), il me met 0, puis il me met #N/A...... le problème, c'est que ça m'empeche des calculs par la suite... comment y remedier ??? merci. YANN
Sunburn
ah oui, dsl http://cjoint.com/?bBpDcaJHH7 ------ Function Fusion(champ1, champ2, champ3, champ4) Dim temp2() Set mondico1 = CreateObject("Scripting.Dictionary") For Each C In champ1 If C <> "" Then If Not mondico1.Exists(C.Value) Then mondico1.Add C.Value, C.Value End If Next C For Each C In champ2 If C <> "" Then If Not mondico1.Exists(C.Value) Then mondico1.Add C.Value, C.Value End If Next C For Each C In champ3 If C <> "" Then If Not mondico1.Exists(C.Value) Then mondico1.Add C.Value, C.Value End If Next C For Each C In champ4 If C <> "" Then If Not mondico1.Exists(C.Value) Then mondico1.Add C.Value, C.Value End If Next C temp = mondico1.items Call tri(temp, LBound(temp), UBound(temp)) ReDim temp2(1 To champ1.Count + champ2.Count + champ3.Count + champ4.Count) I = 1 For Each C In temp temp2(I) = C I = I + 1 Next Fusion = Application.Transpose(temp2) End Function Sub tri(a, gauc, droi) ' Quick sort ref = a((gauc + droi) 2) g = gauc: d = droi Do Do While a(g) < ref: g = g + 1: Loop Do While ref < a(d): d = d - 1: Loop If g <= d Then temp = a(g): a(g) = a(d): a(d) = temp g = g + 1: d = d - 1 End If Loop While g <= d If g < droi Then Call tri(a, g, droi) If gauc < d Then Call tri(a, gauc, d) End Sub ------
ah oui, dsl
http://cjoint.com/?bBpDcaJHH7
------
Function Fusion(champ1, champ2, champ3, champ4)
Dim temp2()
Set mondico1 = CreateObject("Scripting.Dictionary")
For Each C In champ1
If C <> "" Then
If Not mondico1.Exists(C.Value) Then mondico1.Add C.Value, C.Value
End If
Next C
For Each C In champ2
If C <> "" Then
If Not mondico1.Exists(C.Value) Then mondico1.Add C.Value, C.Value
End If
Next C
For Each C In champ3
If C <> "" Then
If Not mondico1.Exists(C.Value) Then mondico1.Add C.Value, C.Value
End If
Next C
For Each C In champ4
If C <> "" Then
If Not mondico1.Exists(C.Value) Then mondico1.Add C.Value, C.Value
End If
Next C
temp = mondico1.items
Call tri(temp, LBound(temp), UBound(temp))
ReDim temp2(1 To champ1.Count + champ2.Count + champ3.Count + champ4.Count)
I = 1
For Each C In temp
temp2(I) = C
I = I + 1
Next
Fusion = Application.Transpose(temp2)
End Function
Sub tri(a, gauc, droi) ' Quick sort
ref = a((gauc + droi) 2)
g = gauc: d = droi
Do
Do While a(g) < ref: g = g + 1: Loop
Do While ref < a(d): d = d - 1: Loop
If g <= d Then
temp = a(g): a(g) = a(d): a(d) = temp
g = g + 1: d = d - 1
End If
Loop While g <= d
If g < droi Then Call tri(a, g, droi)
If gauc < d Then Call tri(a, gauc, d)
End Sub
------
ah oui, dsl http://cjoint.com/?bBpDcaJHH7 ------ Function Fusion(champ1, champ2, champ3, champ4) Dim temp2() Set mondico1 = CreateObject("Scripting.Dictionary") For Each C In champ1 If C <> "" Then If Not mondico1.Exists(C.Value) Then mondico1.Add C.Value, C.Value End If Next C For Each C In champ2 If C <> "" Then If Not mondico1.Exists(C.Value) Then mondico1.Add C.Value, C.Value End If Next C For Each C In champ3 If C <> "" Then If Not mondico1.Exists(C.Value) Then mondico1.Add C.Value, C.Value End If Next C For Each C In champ4 If C <> "" Then If Not mondico1.Exists(C.Value) Then mondico1.Add C.Value, C.Value End If Next C temp = mondico1.items Call tri(temp, LBound(temp), UBound(temp)) ReDim temp2(1 To champ1.Count + champ2.Count + champ3.Count + champ4.Count) I = 1 For Each C In temp temp2(I) = C I = I + 1 Next Fusion = Application.Transpose(temp2) End Function Sub tri(a, gauc, droi) ' Quick sort ref = a((gauc + droi) 2) g = gauc: d = droi Do Do While a(g) < ref: g = g + 1: Loop Do While ref < a(d): d = d - 1: Loop If g <= d Then temp = a(g): a(g) = a(d): a(d) = temp g = g + 1: d = d - 1 End If Loop While g <= d If g < droi Then Call tri(a, g, droi) If gauc < d Then Call tri(a, gauc, d) End Sub ------
JB
http://cjoint.com/?bBtTN3iz3T
JB
On 25 jan, 18:50, Sunburn wrote:
bonjour, j'ai cette formule matricielle: {=fusion(Liste_GA10;Liste_GA11;Liste_GA12;Liste_GA13)}
mon problème, c'est que à certains endroits (à la fin, là il n'y a plus de données), il me met 0, puis il me met #N/A...... le problème, c'est que ça m'empeche des calculs par la suite... comment y remedier ??? merci. YANN
http://cjoint.com/?bBtTN3iz3T
JB
On 25 jan, 18:50, Sunburn <Sunb...@discussions.microsoft.com> wrote:
bonjour,
j'ai cette formule matricielle:
{=fusion(Liste_GA10;Liste_GA11;Liste_GA12;Liste_GA13)}
mon problème, c'est que à certains endroits (à la fin, là il n'y a plus de
données), il me met 0, puis il me met #N/A......
le problème, c'est que ça m'empeche des calculs par la suite...
comment y remedier ???
merci.
YANN
bonjour, j'ai cette formule matricielle: {=fusion(Liste_GA10;Liste_GA11;Liste_GA12;Liste_GA13)}
mon problème, c'est que à certains endroits (à la fin, là il n'y a plus de données), il me met 0, puis il me met #N/A...... le problème, c'est que ça m'empeche des calculs par la suite... comment y remedier ??? merci. YANN
Sunburn
Merci beaucoup JB, c'est nikel. YANN
"JB" a écrit :
http://cjoint.com/?bBtTN3iz3T
JB
On 25 jan, 18:50, Sunburn wrote: > bonjour, > j'ai cette formule matricielle: > {=fusion(Liste_GA10;Liste_GA11;Liste_GA12;Liste_GA13)} > > mon problème, c'est que à certains endroits (à la fin, là il n'y a plus de > données), il me met 0, puis il me met #N/A...... > le problème, c'est que ça m'empeche des calculs par la suite... > comment y remedier ??? > merci. > YANN
Merci beaucoup JB, c'est nikel.
YANN
"JB" a écrit :
http://cjoint.com/?bBtTN3iz3T
JB
On 25 jan, 18:50, Sunburn <Sunb...@discussions.microsoft.com> wrote:
> bonjour,
> j'ai cette formule matricielle:
> {=fusion(Liste_GA10;Liste_GA11;Liste_GA12;Liste_GA13)}
>
> mon problème, c'est que à certains endroits (à la fin, là il n'y a plus de
> données), il me met 0, puis il me met #N/A......
> le problème, c'est que ça m'empeche des calculs par la suite...
> comment y remedier ???
> merci.
> YANN
On 25 jan, 18:50, Sunburn wrote: > bonjour, > j'ai cette formule matricielle: > {=fusion(Liste_GA10;Liste_GA11;Liste_GA12;Liste_GA13)} > > mon problème, c'est que à certains endroits (à la fin, là il n'y a plus de > données), il me met 0, puis il me met #N/A...... > le problème, c'est que ça m'empeche des calculs par la suite... > comment y remedier ??? > merci. > YANN
Philippe.R
Bonsoir, As tu essayé avec ce qui suit ?
{=si(estna(fusion(Liste_GA10;Liste_GA11;Liste_GA12;Liste_GA13));0;fusion(Liste_GA10;Liste_GA11;Liste_GA12;Liste_GA13))} -- Avec plaisir http://dj.joss.free.fr/trombine.htm http://jacxl.free.fr/mpfe/trombino.html Philippe.R Pour se connecter au forum : http://www.excelabo.net/mpfe/connexion.php News://news.microsoft.com/microsoft.public.fr.excel "Sunburn" a écrit dans le message de news:
bonjour, j'ai cette formule matricielle: {=fusion(Liste_GA10;Liste_GA11;Liste_GA12;Liste_GA13)}
mon problème, c'est que à certains endroits (à la fin, là il n'y a plus de données), il me met 0, puis il me met #N/A...... le problème, c'est que ça m'empeche des calculs par la suite... comment y remedier ??? merci. YANN
Bonsoir,
As tu essayé avec ce qui suit ?
{=si(estna(fusion(Liste_GA10;Liste_GA11;Liste_GA12;Liste_GA13));0;fusion(Liste_GA10;Liste_GA11;Liste_GA12;Liste_GA13))}
--
Avec plaisir
http://dj.joss.free.fr/trombine.htm
http://jacxl.free.fr/mpfe/trombino.html
Philippe.R
Pour se connecter au forum :
http://www.excelabo.net/mpfe/connexion.php
News://news.microsoft.com/microsoft.public.fr.excel
"Sunburn" <Sunburn@discussions.microsoft.com> a écrit dans le message de
news:9F41E0FE-39E1-4CB9-82FA-30493659DB82@microsoft.com...
bonjour,
j'ai cette formule matricielle:
{=fusion(Liste_GA10;Liste_GA11;Liste_GA12;Liste_GA13)}
mon problème, c'est que à certains endroits (à la fin, là il n'y a plus de
données), il me met 0, puis il me met #N/A......
le problème, c'est que ça m'empeche des calculs par la suite...
comment y remedier ???
merci.
YANN
{=si(estna(fusion(Liste_GA10;Liste_GA11;Liste_GA12;Liste_GA13));0;fusion(Liste_GA10;Liste_GA11;Liste_GA12;Liste_GA13))} -- Avec plaisir http://dj.joss.free.fr/trombine.htm http://jacxl.free.fr/mpfe/trombino.html Philippe.R Pour se connecter au forum : http://www.excelabo.net/mpfe/connexion.php News://news.microsoft.com/microsoft.public.fr.excel "Sunburn" a écrit dans le message de news:
bonjour, j'ai cette formule matricielle: {=fusion(Liste_GA10;Liste_GA11;Liste_GA12;Liste_GA13)}
mon problème, c'est que à certains endroits (à la fin, là il n'y a plus de données), il me met 0, puis il me met #N/A...... le problème, c'est que ça m'empeche des calculs par la suite... comment y remedier ??? merci. YANN