Lookup array

  • Thread starter Thread starter bessa_m5
  • Start date Start date
B

bessa_m5

I am trying to lookup 'cell' C12 and dependant on what is in C12 give me a
grading of 1 - 6 from another table and place the answer in 'cell' P12.
Lookup data is in 3 equal columns and return value data is in 1 column of the
same length on the same worksheet.
 
I guess that you want

= VLOOKUP(C12, lookup_columns,2,False)

in P12

--
---
HTH

Bob


(there's no email, no snail mail, but somewhere should be gmail in my addy)
 
Thanks but I don't know that I worded the question correctly as this hasn't
worked. If c12 = AAA I want a return value of 1 in P12, if C+ is in c12, I
need 6 in P12. P12 can only be 1 - 6 but c12 can be from AAA... Aaa, right
thru to Caa3 (it is selected from a drop down box). I think maybe I am not
listing the look up data correctly in the table to begin with or I just can't
do what i want. Sorry i am not that familiar with excel other than simple
spreadsheets. Appreciate your thoughts. Thanks, Bess
 
List all the rules of assignment separately, then use it as a lookup
range.

AAA
AA
A
BBB
BB
B
C+
C
C-

And in the cell in adjacent column have the 1 through 6 values in
cells X1:Y9. Then use this formula in P12:

=VLOOKUP(C12, $X$1:$Y$9, 2, False)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top