I want to use Excel to lookup Column 2 and display the percentage in Column 1, based on the letters shown.
=LOOKUP(A2,{"VL","L","M","H","VH"},{"90%","75%","50%","25%","10%"})
This seems to work for VL & M correctly; however, L & H do not display anything and VH displays 10%.
You probably face problems that are caused by lookup finding "L" also in "VL".
Use VLOOKUP with exact matching instead.
http://www.excelfunctions.net/Vlookup-Example-Exact-Match.html
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.