Excel Magic Trick 155 Vlookup Trim Function

Download Excel Start File: people.highline.edu/mgirvin/YouTubeExcelIsFun/EMT155-167.xls
Download Excel Finished File: people.highline.edu/mgirvin/YouTubeExcelIsFun/EMT155-167Finished.xls
Full Page With All File Links: people.highline.edu/mgirvin/excelisfun.htm

Download Excel Start File: people.highline.edu/mgirvin/YouTubeExcelIsFun/EMT146-154.xls
Download Excel Finished File: people.highline.edu/mgirvin/YouTubeExcelIsFun/EMT146-154Finished.xls
Full Page With All File Links: people.highline.edu/mgirvin/excelisfun.htm

When the VLOOKUP function should work and it does not, try the TRIM function to get rid of extra spaces. Use VLOOKUP & TRIM together in one formula when the values look the same but there are hidden spaces in the cell.
This trick is good for when you get data dumped into Excel from a database that may have some extra spaces, or when employees add too many spaces during data entry.
VLOOKUP retrieves the value and TRIM gets rid of extra spaces.
Also see: YTLE#70 PivotTable & TRIM function & AVERAGES