DCM - Albert
New Member
- Joined
- May 4, 2009
- Messages
- 33
I have a list of numbers, ranging from 0 to 15 for the number of years an employee has worked. The number of years is in column D.
I have a list of numbers, 1, 1.5 and 2 which represent the number of vacation days earned per month. The number of days are listed in column L.
For 0-5 years, 1 day is earned. For 6-14 years, 1.5 days are earned. For 15+ years, 2 days are earned.
___K | L
4| _0 | 1
5| _6 | 1.5
6| 16 | 2
I did a vlookup as follows: =VLOOKUP(D13,K4:L6,2,TRUE)
Now, if the number is between 0 and 15, it only shows 1 for the number of days earned. It SHOULD be finding the 1.5, for anything over 5 but it seems to just overlook that line.
Any ideas as to why?
Thanks in advance.
I have a list of numbers, 1, 1.5 and 2 which represent the number of vacation days earned per month. The number of days are listed in column L.
For 0-5 years, 1 day is earned. For 6-14 years, 1.5 days are earned. For 15+ years, 2 days are earned.
___K | L
4| _0 | 1
5| _6 | 1.5
6| 16 | 2
I did a vlookup as follows: =VLOOKUP(D13,K4:L6,2,TRUE)
Now, if the number is between 0 and 15, it only shows 1 for the number of days earned. It SHOULD be finding the 1.5, for anything over 5 but it seems to just overlook that line.
Any ideas as to why?
Thanks in advance.