You may already be familiar with the VLOOKUP function, what you may not know is that you can get a single VLOOKUP formula to return multiple values by using an array.
- Select each cell that you want to contain a result from the VLOOKUP. In the screenshot below, the cells I4:K4 were selected
- Switch to the Formulas tab, select Lookup&Reference, VLOOKUP
- Specify the Lookup_value and Table_array as normal
- Enter a column number for each column that you want data returned from. Separate the column numbers by commas and enclose it all in braces / curly brackets { }. The column numbers can be specified in any order. In the example below, data will be returned from columns {5,6,3}
- Specify your Range_lookup requirements
- Press CTRL, SHIFT, ENTER
Hope this is a time saver for you! Please share if you think anyone might find this useful too.
No comments:
Post a Comment