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
 
The link requests permission to download.
Or share the file in dropbox.
Hello Dante
Sorry i can not share ot as i have certain restrictions in my laptop
I sent it to your email
Hope we can reach to a solution
Many thanks
 
Upvote 0

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.
It can't be by mail, you have to put the link here.
Or copy the excel data and paste it here.

Check if you can use this tool to copy cells and paste here.

Upload an excel range:
XL2BB - Excel Range to BBCode
 
Upvote 0
@Bahaa

Again, try reading and responding to post 25, if you read and followed all of the advice and suggestions provided instead of becoming fixated on attaching the file then the problem could have been solved by now.

In addition to the points already raised, are you entering the formula into the cell with the X in your screen capture, then copying / dragging it to the other red, yellow and green cells?
If you are doing that then the formula will not work! You will need a different formula for that, but you have not provided enough information for us to know what that formula would be.
 
Upvote 0
@Bahaa

Again, try reading and responding to post 25, if you read and followed all of the advice and suggestions provided instead of becoming fixated on attaching the file then the problem could have been solved by now.

In addition to the points already raised, are you entering the formula into the cell with the X in your screen capture, then copying / dragging it to the other red, yellow and green cells?
If you are doing that then the formula will not work! You will need a different formula for that, but you have not provided enough information for us to know what that formula would be.
Hello Jason
No i am not entering the X in every screenshot, this is the formula
I ma trying to use the XL2BB and please do forgive me for any frustrations i have made, since i am new to this
BR
 
Upvote 0
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.
 
Upvote 0
It can't be by mail, you have to put the link here.
Or copy the excel data and paste it here.

Check if you can use this tool to copy cells and paste here.

Upload an excel range:
XL2BB - Excel Range to BBCode
Hello Dante
Many thanks
Hope i got you with this

Book1
GHIJKLMNOP
4Likelihood Rating LikelihoodImpact Rating Impact Risk Category Risk Matrix
5ALikely1Insignificant MediumLikelihoodH  
6LX 
7LH
8Impact
9BPossible3Major HighLikelihoodH  
10L X
11LH
12Impact
13ALikely2Minor HighLikelihoodHX 
14L  
15LH
16Impact
Risk Register
Cell Formulas
RangeFormula
J5, J9, J13J5=IFERROR(IF(ISNUMBER(FIND($I5,"1 2 3 ",1)),VLOOKUP(I5,'Risk Codes'!$A$11:$B$13,2,FALSE),""),"")
K5, K9, K13K5=IF(ISNUMBER(FIND($G5&$I5,"A2 A3 B3",1)),"High",IF(ISNUMBER(FIND($G5&$I5,"A1 B1 B2 C2 C3",1)),"Medium",IF(ISNUMBER(FIND($G5&$I5,"C1",1)),"Low","")))
N5, N13, N9N5=IF(AND(OR(H5="Likely",H5="Possible"),AND(J5="Minor ")),"X","")
O5, O13, O9O5=IF(AND(OR(H5="Likely"),AND(J5="Major ")),"X","")
N6, N14, N10N6=IF(AND(OR(H5="Likely",H5="Possible"),AND(J5="Insignificant ")),"X","")
O6, O14, O10O6=IF(AND(OR(H5="Possible"),AND(J5="Major ")),"X","")
H5, H9, H13H5=IFERROR(IF(ISNUMBER(FIND($G5,"A B C ",1)),VLOOKUP(TRIM($G5),'Risk Codes'!$A$4:$B$6,2,FALSE),""),"")
 
Upvote 0
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.
Hello Dnate
Many thanks really
Can you share it on google drive as in my laptop there certain restrictions and i cant open the dropbox
Really appreciate all the help
BR
 
Upvote 0
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.
I tried your formulas and unfortunately still nothing is being shown
Anyway i am really thankful for all the help and if you were able to adjust ot on my excel sheet file , just send the file via google drive link

Capture.PNG
 
Upvote 0
I tried your formulas and unfortunately still nothing is being shown
Anyway i am really thankful for all the help and if you were able to adjust ot on my excel sheet file , just send the file via google drive link

I'm sorry, I forgot to translate the formulas

User this:

To red:
=IF(OR(AND(H5="Likely",J5="Minor"),AND(H5="Likely",J5="Major"),AND(H5="Possible",J5="Major")),"X","")

To yellow box cell N5
=IF(OR(AND(H5="Likely",J5="Minor"),AND(H5="Posible",J5="Insignificant")),"X","")

To yellow box cell O6
=IF(AND(H5="Possible",J5="Major"),"X","")

To green box
=IF(OR(AND(H5="UnLikely",J5="Insignificant"),AND(H5="Possible",J5="Insignificant"),AND(H5="UnLikely",J5="Minor")),"X","")
 
Upvote 0

Forum statistics

Threads
1,214,833
Messages
6,121,868
Members
449,053
Latest member
Mesh

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