Forum Discussion
kamjam
Mar 28, 2018Copper Contributor
excel help needed
Hi. I don't really use excel at work...until now. I have been given task and I am stuck.it will take me ages to do it manually, I thought you guys could help me to create formula. so the 1st spreads...
- Mar 29, 2018It is obvious that your lookup value is number but stored as text and the data where you are looking for values are numbers stored as number.
so either you need to change the lookup values back to numbers or simply you can revise your formula like this =VLOOKUP(VALUE(B2),................................... rest of reference
simply wrapping B2 with VALUE(B2) will solve it. Also in your formula you are using entire column reference like A:B which slows down your workbook. It is important to use Excel Tables, or only select the ranges with data instead of whole column reference.
Jamil
Mar 28, 2018Bronze Contributor
Hi Kamila,
All you need is VLOOKUP Function.
please see example I have attached.
- kamjamMar 29, 2018Copper Contributor
Hi Jamil
the problem is I don't how to create v lookup formula .
- JamilMar 29, 2018Bronze ContributorYou can lead VLOOKUP from my friend’s youtube channel. The first 8 minutes explains the basic of vlookup.
https://youtu.be/-hJxIMBbmZY - Ian LeeMar 29, 2018Copper Contributor
=vlookup(lookup_value,table_array_,col_index_num,false)
- Lookup_value = The cell containing the data you are looking up i.e. D2
- Table_array = The cells containing the data you are trying to find i.e. A2:B5 (Use $ sign before letters and number if copying the formulae otherwise the table will change). The first column must contain the value you are looking up.
- Col_index_num = The number of columns in the table array where the return data is contained where col 1 = 0, col 2 = 1 etc.
- False = returns exact matches where the data in the table array is not sorted alphanumerically (otherwise it will return the nearest match).
- Make sure all the above are separated by commas as shown.
- kamjamMar 29, 2018Copper Contributor
HI Ian
So, it didn't work . I know i am doing something wrong but not sure what. can you have a look at the attachment and see if you can spot the error ?