Company IF(AND) Statement in Excel

I have Cells N7, P7, R7 AND T7.  
Either N7, P7 or T7 should contain the letter X.  
Cell M8 should test for the existence of X in N7, P7, or  T7.  
If only N7 is checked M8 should contain the value of O7 which is text with the word Pure and a space in front of the text value of O7.
If only P7 is checked, M8 should contain the value of Q7 which is text with the word Pure and a space in front of the text value of Q7. R7 should not be checked by itself.
If T7 is checked, M8 should contain the value of U7 which is text.
When R7 is checked in conjunction with N7, M8 should contain the value of S7 which is text with the letter d at the end of the text value of S7 a space and the value of O7 which is text.
When R7 is checked in conjunction with P7, M8 should contain the value of S7 which is text with the letter d at the end of the text value of S7 a space and the value of Q7 which is text.
N7 and P7 should never both be checked together.
I have attached a file with a partially working formula in M8.
AREA2Sample.xls
LVL 1
Bill GoldenExecutive Managing MemberAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Bill GoldenExecutive Managing MemberAuthor Commented:
Sorry, that should be Compound, not Comany
0
Rgonzo1971Commented:
Hi,

pls try

=IF(AND(N7="X",P7="",T7=""),IF(R7="X","Normalized ","Pure ")&O7,IF(AND(N7="",P7="X",T7=""),IF(R7="X","Normalized ","Pure ")&Q7,IF(AND(N7="",P7="",R7="",T7="X"),U7,IF(AND(N7="",P7="",R7="",T7=""),"Enter value","Wrong Combination"))))

Regards
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Bill GoldenExecutive Managing MemberAuthor Commented:
Well, the structure has changed slightly but your answer has sent me in the rights direction.  Thanks.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Excel

From novice to tech pro — start learning today.