=IF(AND(A1&AP1P2&"=0", A2&AP1P2&"=0",A3&AP3P4&"=0"), 1, 0)

I am trying to get it to build the statement and evaluate it. Say I enter a > in the cell named AP1P2 it would perform the folowing:

=IF(AND(1>=0, 2>=0, 3>=0), 1, 0)

=IF(AND(True, True, True), 1, 0) So it returns a 1.

When I step through the formula it tells me the following:

=IF(AND("1>=0", "2>=0", "3>=0"), 1, 0) then it says

=IF(AND(#value!), 1, 0) and will not evaluate the expression.

Can anyone help a novice out? Thanks, Brian