Excel/vlookup using a range
Im sorry I wasn't very clear. I would like to use a vlookup function to be able to return a letter representing each range that the value in table 1 represents. So for table 1 the first value is 0.34018 I would like to write a vlookup function that returns the letter representing that range which is B. for the second value in table 1 I would like the vlookup function to return the letter A because the number falls in the range A represents (0, 0.2]
name bottom top
A 0 0.2
B 0.2 0.4
C 0.4 0.6
D 0.6 0.8
E 0.8 1
Assume Table 1 starts in A2 with the value 0.340180122
assume table 2 starts in M2
In B2 I put this formula
entered with Ctrl+shift+Enter rather than just enter since it is an array formula.
I then drag filled it down column B.
It returned the following result which appears to be correct:
This topic answers questions related to Microsoft Excel spreadsheet (or workbook) stand-alone or Mircrosoft Office Excel including Excel 2003, Excel 2007, Office 2000, and Office XP. You can get Excel help on Excel formulas(or functions), Excell macros, charting in Excel, advanced features, and the general use of Excel. This does not provide a general Excel tutorial nor the basics of using a spreadsheet. It provides specific answers to using Microsoft Excel only. If you do not see your Excel question answered in this area then please ask an Excel question here