Can Excel do this? and if so which formula should I use

C

Claire

Hi, I need to enter a formula that will look up information in a table and
give me a text answer, e.g. here is the table

low likelihood Medium Likelihood high likelyhood
low inpact Low Risk Low Risk Medium Risk
medium impact Low Risk Medium Risk High Risk
high impact Medium Risk High Risk High Risk

so if a had 2 cells that listed the impact and likelyhood, e.g. low impact
and high likelyhood, the answer would be Medium risk

Any idea of which formula could help me do this?

Thanks for your help
 
G

Gary''s Student

With your little table in A1 thru D4 (A1 is actually blank)

In E1 put the desired col value (like Medium Likelihood)
In F1 put the desired row value (like high impact)

then in another cell:

=OFFSET(A1,MATCH(F1,A2:A4),MATCH(E1,B1:D1))
 
M

Mike H

Try this

=INDEX(A1:D4,MATCH(E1,A1:A4),MATCH(E2,A1:D1,0))

Where your risk matrix is in A1 - D4
E1= Impact
E2= Liklehood

Mike
 
C

Claire

Mike, I tried your formula below, thank you for your help and my version
looks like this:
=INDEX(Help!$A$18:$D$21,MATCH(D4,Help!$A$18:$A$21),MATCH(E4,Help!$A$18:$D$18,0))

Where the small table is held on a sheet called Help in cells A18:D21. This
forumal works beautifully for the cell I entered it in, but as soon as I copy
the forumal down the worksheet (I have about 100 rows to copy it down) The
formula stops working and give an error saying: Value not available. I
have obviously made the cell references of th table absolute so as they
remain constant, but have left the D4 (impact) and E4 (liklihood) references
as they are, becasue I need them to copy down the worksheet. Can you think
of why this formula can not copy down?
 
C

Claire

Ahh Mike, I have tracked down what is happening with the copying.. The
formula does copy down, but this forumal will not work for any option that
starts with a High liklyhood, e.g. High, mediums, High, Lows or High highs.
All other combinations work
 

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

Top