Thanks for the quick reply.
I guess it didn't work. The values that i get aren't the ones that shoud appear. Maybe i did something wrong.
But i can't use that method anyway because the processing time is too much just for a couple of cells and i need to paste that in hundreads of them.
Any other alternative?
In what way it didn't work?
[TABLE="width: 288"]
<COLGROUP><COL style="WIDTH: 48pt" span=6 width=64><TBODY>[TR]
[TD="class: xl63, width: 64, bgcolor: transparent"]
x[/TD]
[TD="class: xl63, width: 64, bgcolor: transparent"]
y[/TD]
[TD="class: xl63, width: 64, bgcolor: transparent"]
z[/TD]
[TD="class: xl63, width: 64, bgcolor: transparent"]
JAD[/TD]
[TD="class: xl63, width: 64, bgcolor: transparent"] [/TD]
[TD="class: xl63, width: 64, bgcolor: transparent"]
JAD[/TD]
[/TR]
[TR]
[TD="class: xl63, bgcolor: transparent"]
q[/TD]
[TD="class: xl63, bgcolor: transparent"]
y[/TD]
[TD="class: xl63, bgcolor: transparent"]
z[/TD]
[TD="class: xl63, bgcolor: transparent"]
NAD[/TD]
[TD="class: xl63, bgcolor: transparent"] [/TD]
[TD="class: xl63, bgcolor: transparent"]
WAD[/TD]
[/TR]
[TR]
[TD="class: xl63, bgcolor: transparent"]
x[/TD]
[TD="class: xl63, bgcolor: transparent"]
u[/TD]
[TD="class: xl63, bgcolor: transparent"]
z[/TD]
[TD="class: xl63, bgcolor: transparent"]
VAD[/TD]
[TD="class: xl63, bgcolor: transparent"] [/TD]
[TD="class: xl63, bgcolor: transparent"] [/TD]
[/TR]
[TR]
[TD="class: xl63, bgcolor: transparent"]
x[/TD]
[TD="class: xl63, bgcolor: transparent"]
u[/TD]
[TD="class: xl63, bgcolor: transparent"]
z[/TD]
[TD="class: xl63, bgcolor: transparent"]
ZAD[/TD]
[TD="class: xl63, bgcolor: transparent"] [/TD]
[TD="class: xl63, bgcolor: transparent"] [/TD]
[/TR]
[TR]
[TD="class: xl63, bgcolor: transparent"]
q[/TD]
[TD="class: xl63, bgcolor: transparent"]
u[/TD]
[TD="class: xl63, bgcolor: transparent"]
o[/TD]
[TD="class: xl63, bgcolor: transparent"]
OAD[/TD]
[TD="class: xl63, bgcolor: transparent"] [/TD]
[TD="class: xl63, bgcolor: transparent"] [/TD]
[/TR]
[TR]
[TD="class: xl63, bgcolor: transparent"]
p[/TD]
[TD="class: xl63, bgcolor: transparent"]
y[/TD]
[TD="class: xl63, bgcolor: transparent"]
o[/TD]
[TD="class: xl63, bgcolor: transparent"]
XAD[/TD]
[TD="class: xl63, bgcolor: transparent"] [/TD]
[TD="class: xl63, bgcolor: transparent"] [/TD]
[/TR]
[TR]
[TD="class: xl63, bgcolor: transparent"]
p[/TD]
[TD="class: xl63, bgcolor: transparent"]
y[/TD]
[TD="class: xl63, bgcolor: transparent"]
z[/TD]
[TD="class: xl63, bgcolor: transparent"]
QAD[/TD]
[TD="class: xl63, bgcolor: transparent"] [/TD]
[TD="class: xl63, bgcolor: transparent"] [/TD]
[/TR]
[TR]
[TD="class: xl63, bgcolor: transparent"]
p[/TD]
[TD="class: xl63, bgcolor: transparent"]
u[/TD]
[TD="class: xl63, bgcolor: transparent"]
o[/TD]
[TD="class: xl63, bgcolor: transparent"]
LAD[/TD]
[TD="class: xl63, bgcolor: transparent"] [/TD]
[TD="class: xl63, bgcolor: transparent"] [/TD]
[/TR]
[TR]
[TD="class: xl63, bgcolor: transparent"]
q[/TD]
[TD="class: xl63, bgcolor: transparent"]
u[/TD]
[TD="class: xl63, bgcolor: transparent"]
o[/TD]
[TD="class: xl63, bgcolor: transparent"]
KAD[/TD]
[TD="class: xl63, bgcolor: transparent"] [/TD]
[TD="class: xl63, bgcolor: transparent"] [/TD]
[/TR]
[TR]
[TD="class: xl63, bgcolor: transparent"]
x[/TD]
[TD="class: xl63, bgcolor: transparent"]
y[/TD]
[TD="class: xl63, bgcolor: transparent"]
z[/TD]
[TD="class: xl63, bgcolor: transparent"]
WAD[/TD]
[TD="class: xl63, bgcolor: transparent"] [/TD]
[TD="class: xl63, bgcolor: transparent"] [/TD]
[/TR]
</TBODY>[/TABLE]
F1, control+shift+enter and copy down:
Rich (BB code):
=IFERROR(INDEX($D$1:$D$100,SMALL(IF($A$1:$A$100="x",
IF($B$1:$B$100="y",IF($C$1:$C$100="z",ROW($D$1:$D$100)-ROW($D$1)+1))),
ROWS($F$1:F1))),"")