I have found this but it works for value in A1:A7
=INDEX($A$1:$B$7,SMALL(IF($A$1:$A$7=$A$10,ROW($A$1:$A$7)),ROW(1:1)),2)
I need to be able to search from A1 to A300 but I have errors if i try to change the formula
I have found this but it works for value in A1:A7
=INDEX($A$1:$B$7,SMALL(IF($A$1:$A$7=$A$10,ROW($A$1:$A$7)),ROW(1:1)),2)
I need to be able to search from A1 to A300 but I have errors if i try to change the formula
The formula is an Array formula and as such when you modify the formula you must reset the Array - this is done by confirming the formula using SHIFT + CTRL + ENTER and not just ENTER as you would most formulae.
If the Array is set correctly the formula will appear encased within { } ... these brackets can not be entered manually.
My Recommended Reading:
Volatility
Sumproduct & Arrays
Pivot Intro
Email from XL - VBA & Outlook VBA
Function Dictionary & Function Translations
Dynamic Named Ranges
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks