Sorry....Excel help...
 

  You don't need to be an 'investor' to invest in Singletrack: 6 days left: 95% of target - Find out more

[Closed] Sorry....Excel help please.... 🙂

9 Posts
5 Users
0 Reactions
44 Views
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 4:02 pm
Posts: 36
Free Member
 

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


 
Posted : 28/05/2014 4:03 pm
Posts: 798
Free Member
 

What are you, some kind of American Idiot?


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

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


 
Posted : 28/05/2014 4: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 4:07 pm
Posts: 1369
Free Member
Topic starter
 

And thanks for the funnies guys 🙂


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

@cody I love the fact you told us the cells where side by side 🙂


 
Posted : 28/05/2014 4: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 7: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 7:20 pm
Posts: 1369
Free Member
Topic starter
 

Cheers Stoner,

Its a secondary test. I shall have a play!


 
Posted : 28/05/2014 8:40 pm

6 DAYS LEFT
We are currently at 95% of our target!