ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Can Excel do this? and if so which formula should I use (https://www.excelbanter.com/excel-discussion-misc-queries/201440-can-excel-do-if-so-formula-should-i-use.html)

Claire

Can Excel do this? and if so which formula should I use
 
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



Gary''s Student

Can Excel do this? and if so which formula should I use
 
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))


--
Gary''s Student - gsnu200802


"Claire" wrote:

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



Mike H

Can Excel do this? and if so which formula should I use
 
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

"Claire" wrote:

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



Claire

Can Excel do this? and if so which formula should I use
 
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?

"Mike H" wrote:

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

"Claire" wrote:

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



Claire

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

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


"Mike H" wrote:

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

"Claire" wrote:

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




All times are GMT +1. The time now is 04:35 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com