IF conditional Help

Bahaa

New Member
Joined
Oct 3, 2013
Messages
46
I have rows and columns and need to insert the below in concept in formula

Columns are Major Minor and Insignificant
Rows are LIkely possible and Unlikely

=IF(AND(OR(H5="Likely",H5="Possible", H5="Unlikely"),AND(J5="Insignificant","Minor","Major ")),"X","")

If columns with a certain selection were equal to likely or possible or unlikely and at the same time rows were equal to insignificant or minor or major then insert x

Thanks in advance for all replies
 
Hi @Bahaa,

The problem is that the "Risk Matrix" sheet has a space to the right of the words:
"Insignificant "
"Minor "
"Major "
Eliminate that space in words.
It also removes the space of those words in all formulas:

I attach the correct formulas:

To red:
=SI(O(Y(H5="Likely",J5="Minor"),Y(H5="Likely",J5="Major"),Y(H5="Possible",J5="Major")),"X","")

To yellow box cell N5
=SI(O(Y(H5="Likely",J5="Minor"),Y(H5="Posible",J5="Insignificant")),"X","")

To yellow box cell O6
=SI(Y(H5="Possible",J5="Major"),"X","")

To green box
=SI(O(Y(H5="UnLikely",J5="Insignificant"),Y(H5="Possible",J5="Insignificant"),Y(H5="UnLikely",J5="Minor")),"X","")

________________________________

I understand perfectly that it is forbidden to share files by mail, in fact I mentioned it in post #32, here I put the file so that everyone can see it.
The file:

________________________________

@Bahaa, Please, don't send files to my email in the future, I don't know how you got my email. You must put images here or copy ranges of cells and paste here.
Dante
It worked out
Buenos Dias and Muchas Gracias :)
 
Upvote 0

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).
With xl2bb:

Book1
NO
5  
6X 
سجل المخاطر
Cell Formulas
RangeFormula
N5N5=IF(OR(AND(H5="Likely",J5="Minor"),AND(H5="Posible",J5="Insignificant")),"X","")
O5O5=IF(OR(AND(H5="Likely",J5="Minor"),AND(H5="Likely",J5="Major"),AND(H5="Possible",J5="Major")),"X","")
N6N6=IF(OR(AND(H5="UnLikely",J5="Insignificant"),AND(H5="Possible",J5="Insignificant"),AND(H5="UnLikely",J5="Minor")),"X","")
O6O6=IF(AND(H5="Possible",J5="Major"),"X","")
 
Upvote 0
The problem is that the "Risk Matrix" sheet has a space to the right of the words:
"Insignificant "
"Minor "
"Major "
@Bahaa
I would just like to take this opportunity to point out that I rasied the issue of possible stray spaces way back in post #15, perhaps next time you will take the time to investigate such points when raised instead of repeatedly saying that perfectly good formulas are not working.

As is quite often the case, the fault lies with the source data, not with the formula.
 
Upvote 0

Forum statistics

Threads
1,214,958
Messages
6,122,475
Members
449,087
Latest member
RExcelSearch

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top