View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Shane Devenshire[_2_] Shane Devenshire[_2_] is offline
external usenet poster
 
Posts: 3,346
Default Display multiple results based on one cell

Hi,

Create a table like this

475 Level 1
491 Level 2
501 Level 3
511 Level 4

say in A1:B4

In D1 enter the number you want to look up and in F1 the following formula

=VLOOKUP(D1,$A$1:$B$4,2,TRUE)

--
If this helps, please click the Yes button.

Cheers,
Shane Devenshire


"Cul" wrote:

I need help coming up with a formula that will display Level 1, Level 2,
Level 3, and Level 4 based on what the cell is. If the number is 475 - 490
display Level 1. If the number is 491-500 display level 2. if the number is
501-510 - Level 3. and 511-infinity display Level 4.

The result would look like this
489 Level 1
502 Level 3
477 Level 1