Hi All,
I've been messing around with a formula in Excel 2003, and am now getting to a point where I'm thinking about jumping out of the window. I hope you can help me out.
My problem is as follows:
I have a working formula: =INDEX($A$2:$B$1000,MATCH(D2,$A$2:$A$1000,FALSE),2)
My Sheet looks like this:
Result = EggsPlease Login or Register to view this content.
However, I want to be a bit more flexible as the content in Col D can vary slightly.
For example:
Result: N/APlease Login or Register to view this content.
Therefore, I want to use the LEFT function.
When I use the following code: =LEFT(D2,5)
Result: 11011
So far so good. So I thought I could inject it into my existing formula... the result however doesn't work out.
Formula:
=INDEX($A$2:$B$1000,MATCH(LEFT(D2,5),$A$2:$A$1000,FALSE),2)
Result: N/A
When I check the calculation steps, it gives me the following feedback:
INDEX($A$2:$B$1000,MATCH("11011",$A$2:$A$1000, FALSE),2),
To me it looks like all the ingredients are in place. I've tried playing around with wildacrads and brackets, but can;t seem to make it work.
Do you have any suggestions?
Bookmarks