VLOOKUP doesn’t handle multiple columns. You can find matches for Movie and Showtime columns individually but to find a match based on both the columns, you would need to modify the VLOOKUP formula.
How do I do a VLOOKUP with two conditions?
VLOOKUP with Multiple Criteria – Using a Helper Column
- Insert a Helper Column between column B and C.
- Use the following formula in the helper column:=A2&”|”&B2.
- Use the following formula in G3 =VLOOKUP($F3&”|”&G$2,$C$2:$D$19,2,0)
- Copy for all the cells.
How do I combine 2 columns in Excel?
Combine text from two or more cells into one cell
- Select the cell where you want to put the combined data.
- Type = and select the first cell you want to combine.
- Type & and use quotation marks with a space enclosed.
- Select the next cell you want to combine and press enter. An example formula might be =A2&” “&B2.
How do I list multiple VLOOKUP results?
To lookup multiple matches with the VLOOKUP Function you need to create a helper column within the table of data. The helper column uses the COUNTIF Function to create a unique ID for each instance. The helper column must be the leftmost column within the data set.
How do I copy a VLOOKUP formula to another column?
Press F4 three times when entering the lookup value. This will change A2 to $A2. The single dollar sign ensures the lookup will always reach back to column A for the lookup value. Press F4 once when entering the lookup table.
How do I match two columns with two different columns in Excel?
Compare Two Columns and Highlight Matches
- Select the entire data set.
- Click the Home tab.
- In the Styles group, click on the ‘Conditional Formatting’ option.
- Hover the cursor on the Highlight Cell Rules option.
- Click on Duplicate Values.
- In the Duplicate Values dialog box, make sure ‘Duplicate’ is selected.