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
Who is Participating?

x
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.

Executive Managing MemberAuthor Commented:
Sorry, that should be Compound, not Comany
Commented:
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

Experts Exchange Solution brought to you by