Okay, I have a problem with an IF VLOOKUP statement, one that I thought would be handled by setting the range lookup to true (or leaving it blank). It does not. I want to have the formula check in a cell to see if it contains the contents of another cell. The cell it is checking may have other values in it in addition to the contents being looked up. The IF part comes in where IF the formula finds the contents within that cell, it replicates that value. If not, then it says "no". Here's a version of the formula:
=IF(VLOOKUP(A15,blist,2)=A20,A20,"no")
- A15 contains a person's name (Meg, in this case)
- blist is the table array
- 2 is the column index number I want to check
- The contents of B8 (the col_index_number cell): blee blow blah
- Leaving the range lookup blank (or set to TRUE) should find an inexact match
A20 contains a term ("Blah", in this case)
IF true, then it displays the contents of A20: "Blah"
IF false, then it displays "no"
Well, it only displays "no", unless I *only* have the value "Blah" in the cell. Any other value dumps the formula. I want the formula to look for "Blah" even if "Blee" and "Blow" are in there with it. What am I doing wrong?
Bookmarks