Thanks for the quick reply. Sorry for not being clear, I'm not great at this. I'll try and clarify:

1. Yes, I'd like the number 1 in Cell P2 and the number 0 in Cell Q2, if possible.

2. If this happened, I'd like the formula to be reversed, so P2 = 0, Q2 = 1, then P2 replaced with Cell J9 and Q2 replaced with Cell J8, like in the original formula.

3. I'll try and explain the formula a bit better. Cell J8 and Cell J9 are the result of another, very complicated formula, that can give 0,0 results. I've added Cell J8 to Cell J9 because if both numbers are zero, it would equal zero. I need Excel to work out if Cell J8 added Cell J9 is zero, and, if so, then work out which number is highest between Cell L2 and Cell M2. If Cell L2 is higher than Cell M2, I would like a 1 in Cell P2 and a 0 in Cell Q2, or if Cell M2 is higher than Cell L2, a 0 in Cell P2 and a 1 in Cell Q2. If both numbers aren't 0,0 I need the formula to recognize that and leave them alone. The formula I gave was my best attempt to do all this, but I admit, it's not right.

I hope all that made sense.