Home |
Search |
Today's Posts |
#8
![]() |
|||
|
|||
![]()
Just to clarify, as RagDyer has already shown, this part...
ROW($A$1:$A$5)/10^10 ....isn't necessary, unless you also want to return a corresponding value. So, for example, if A1:B5 contains... green.....75 black.....25 grass.....80 blue.....55 green.....60 D1, copied down and over to the next column... =INDEX(A$1:A$5,MATCH(SMALL((COUNTIF($A$1:$A$5,"<"& $A$1:$A$5)+1)+ROW($A$1: $A$5)/10^10,ROWS(D$1:D1)),(COUNTIF($A$1:$A$5,"<"&$A$1:$A $5)+1)+ROW($A$1:$ A$5)/10^10,0)) ....confirmed with CONTROL+SHIFT+ENTER, would return the following... black.....25 blue.....55 grass.....80 green.....75 green.....60 Notice that in this case I used +ROW(...)/10^10 instead of -ROW(...)/10^10 so that the first occurrence is returned first and the second occurrence second. Now I'll have to put this one in my 'stash' too. :) In article , "Biff" wrote: I wan't too far off. Instead of subtracting: ROW($A$1:$A$5)/10^10 I was trying to add: ROW()/10^5 I'll put this one in my "stash". Thanks Biff |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Match / Vlookup within an Array formula | Excel Discussion (Misc queries) | |||
Where is the bug in my array? | Excel Discussion (Misc queries) | |||
Help with array formula | Excel Worksheet Functions | |||
Formula to list unique values | Excel Worksheet Functions | |||
VBA Import of text file & Array parsing of that data | Excel Discussion (Misc queries) |