Try:
=VLOOKUP(CEILING(ABS(A2),10)*SIGN(A2),$D$2:$E$10,2,FALSE)
copied down.
If you rearrange table so it is in ascending numerical order from -40 to +40, then you can be more efficient with:
=VLOOKUP(CEILING(ABS(A2),10)*SIGN(A2),$D$2:$E$10,2)
Try:
=VLOOKUP(CEILING(ABS(A2),10)*SIGN(A2),$D$2:$E$10,2,FALSE)
copied down.
If you rearrange table so it is in ascending numerical order from -40 to +40, then you can be more efficient with:
=VLOOKUP(CEILING(ABS(A2),10)*SIGN(A2),$D$2:$E$10,2)
Last edited by NBVC; 06-02-2010 at 11:39 AM.
Where there is a will there are many ways.
If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner
Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks