In the attached file I am having a problem picking up the proper values. It seems to work for the first value but does not copy down correctly.
Jim O
In the attached file I am having a problem picking up the proper values. It seems to work for the first value but does not copy down correctly.
Jim O
Last edited by JO505; 10-10-2014 at 05:07 PM.
Hi.
Your reference to ROW($C3) in the formulas in row 3 needs to be ROW($C$3).
Regards
.....also, it won't affect the result but if you are using IFERROR, you don't need the first IF, so this will work
=IFERROR(INDEX($D$3:$D$102,SMALL(IF($C$3:$C$102=$H3,ROW($C$3:$C$102)-ROW(C$3)+1),COLUMNS($J3:J3))),"")
Audere est facere
To be fair though, DLL, given a choice it's much more efficient to choose the set-up with the IF clause over the IFERROR one.
Perhaps there's not much difference given a dataset of just a hundred rows, but nevertheless in general...
Regards
Seeing as you already have that helper column, you could modify the formula a bit and then use that to pull teh data and eliminate the ARRAY formulas. I used F to make sure we were getting the same results.
F3=C3&COUNTIF(C$3:C3,C3)
Then J3:O3...
=IFERROR(INDEX($D$3:$D$102,MATCH($H3&COLUMN(A$1),$F$3:$F$102,0)),"")
All copied down
1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
2. If your question is resolved, mark it SOLVED using the thread tools
3. Click on the star if you think someone helped you
Regards
Ford
FDibbins,
I like that formula.
Thanks for that and thanks to all for the input and time.
Jim O
You are welcomeDepending on the amount of data being used, ARRAY formulas can tend to start slowing things down if used excessively
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks