Returning a text result from 2 lookup columns

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

I'm trying to return a text result based upon a lookup of two columns. For
example, if column A = Medium, Column B = High, I'd like to be able to return
a result in a third column of MH. How can I go about doing this.

Thanks as always,
Sam
 
=IF(AND(A1="Medium",B1="High"),"MH","output undefined") might be one option.
=LEFT(A1)&LEFT(B1) might be an alternative approach.
You'll have to define what output you want for which inputs.
 
This is the data I have in G1:J4 (I did not want to have to scroll all the
way to MN to experiment)
data a b c
x 1 4 7
y 2 5 8
z 3 6 9


In A1 I have the text: y and in B1 the text: b
IN C1 this formula =VLOOKUP(A1,G2:J4,MATCH(B1,G1:J1,0),FALSE)
returns the value 5
best wishes
 

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

Similar Threads

lookup 2 columns, return value from third 2
Lookup 5
Vlookup off multiple columns 14
Lookup help needed -- URGENT! Please! :) 0
Lookups? 3
Sum / Lookup 9
Complex lookup issue 2
lookup and return column number 2

Back
Top