Re : RechercheV d'une cellule nommée
re:
si tu n'es pas limité en nombre de ligne total, il faut alors une fonction perso
à mettre dans un module
function recup(target as range) as double
application.volatile
recup = target.offset(0,11)
end function
ou encore (pas besoin de nommer tes cellules total):
Function recup (valeur as string, nombre as integer) as double
dim i as long, j as integer
application.volatile
j = 0
for i = 1 to range("A65536").end(xlup).row
if range("A" & i) = valeur then j = j + 1
if j = nombre then recup = range("L" & i)
next i
end function
utilsation : =recup ("Total",2) ---> recup le montant du 2eme Total