Forum menu
Sorry....Excel help...
 

[Closed] Sorry....Excel help please.... ๐Ÿ™‚

Posts: 1369
Free Member
Topic starter
 

I'm really crap at Excel ๐Ÿ™‚

I have 2 cells, side by side, each of which has a text result from another formula. Lets say that result #1 is in cell A10, result #2 is in cell A11. I'd like to stick my formula into cell A12:

What I want to do (in pseudo code) is:

If cell A10 has the value "dookie", and cell A11 does NOT have the value "nimrod", write the text "insomniac" into cell A12, else write the value "warning".

Its the NOT bit thats getting me confused. Can anyone help?


 
Posted : 28/05/2014 5:02 pm
Posts: 36
Free Member
 

=if(and(A10="dookie", A11<>"nimrod"), "insomniac", "warning")


 
Posted : 28/05/2014 5:03 pm
Posts: 803
Free Member
 

What are you, some kind of American Idiot?


 
Posted : 28/05/2014 5:04 pm
Posts: 0
Free Member
 

I would give up on Excel and instead try Lotus Uno, Dos, Tres?


 
Posted : 28/05/2014 5:05 pm
Posts: 1369
Free Member
Topic starter
 

Thanks Stoner ๐Ÿ™‚

I had missed the 3rd brace and had one too many at the end.


 
Posted : 28/05/2014 5:07 pm
Posts: 1369
Free Member
Topic starter
 

And thanks for the funnies guys ๐Ÿ™‚


 
Posted : 28/05/2014 5:08 pm
Posts: 0
Free Member
 

@cody I love the fact you told us the cells where side by side ๐Ÿ™‚


 
Posted : 28/05/2014 5:51 pm
Posts: 1369
Free Member
Topic starter
 

I know jambalaya, like it mattered ๐Ÿ™‚

So, an extension of this. What I'd now like to do is:

If the value of A8 ="Yes", and the value of A9 is NOT equal to "No", write "Yes" in A12, else write "No"
(and now this is the tricky bit)
CONTINUE the formula into- if A10="Yes", AND A11="Yes", write "Yes" in A12, else write "No".

I don't know if you can nest IFs in this way?


 
Posted : 28/05/2014 8:05 pm
Posts: 36
Free Member
 

=IF(OR(AND(A8="Yes", A9<>"No"), (AND(A10="Yes", A11="Yes")), "Yes", "No"))

Im assuming here you mean OR, rather than AND as you havent said whether the A10/A11 IF statement is a secondary test or a parallell one.


 
Posted : 28/05/2014 8:20 pm
Posts: 1369
Free Member
Topic starter
 

Cheers Stoner,

Its a secondary test. I shall have a play!


 
Posted : 28/05/2014 9:40 pm