Using Excel 2001 on Windows XP Pro, I have three IF formulas that I want to combine into one.
<TABLE style="WIDTH: 48pt; BORDER-COLLAPSE: collapse" border=0 cellSpacing=0 cellPadding=0 width=64><COLGROUP><COL style="WIDTH: 48pt" width=64><TBODY><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-BOTTOM: #d4d0c8; BORDER-LEFT: #d4d0c8; BACKGROUND-COLOR: transparent; WIDTH: 48pt; HEIGHT: 15pt; BORDER-TOP: #d4d0c8; BORDER-RIGHT: #d4d0c8" height=20 width=64>IF(AND(H24>0,H23>0,A28=TRUE),MAX(500,50*H23),0)</TD></TR><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-BOTTOM: #d4d0c8; BORDER-LEFT: #d4d0c8; BACKGROUND-COLOR: transparent; HEIGHT: 15pt; BORDER-TOP: #d4d0c8; BORDER-RIGHT: #d4d0c8" height=20>IF(AND(H24>0,H23=0,A28=TRUE),0,0)</TD></TR><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-BOTTOM: #d4d0c8; BORDER-LEFT: #d4d0c8; BACKGROUND-COLOR: transparent; HEIGHT: 15pt; BORDER-TOP: #d4d0c8; BORDER-RIGHT: #d4d0c8" height=20>IF(AND(H24=0,A28=TRUE),MAX(500,50*H23),0)</TD></TR></TBODY></TABLE>
Independantly each works fine. When I add them together, I get an error. I'm guessing this must be in my parentheses? Here's my string:
IF(AND(H24>0,H23>0,A28=TRUE),MAX(500,50*H23),0,IF(AND(H24>0,H23=0,A28=TRUE),0,0,IF(AND(H24=0,A28=TRUE),MAX(500,50*H23),0)))
What's wrong with it?????
<TABLE style="WIDTH: 48pt; BORDER-COLLAPSE: collapse" border=0 cellSpacing=0 cellPadding=0 width=64><COLGROUP><COL style="WIDTH: 48pt" width=64><TBODY><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-BOTTOM: #d4d0c8; BORDER-LEFT: #d4d0c8; BACKGROUND-COLOR: transparent; WIDTH: 48pt; HEIGHT: 15pt; BORDER-TOP: #d4d0c8; BORDER-RIGHT: #d4d0c8" height=20 width=64>IF(AND(H24>0,H23>0,A28=TRUE),MAX(500,50*H23),0)</TD></TR><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-BOTTOM: #d4d0c8; BORDER-LEFT: #d4d0c8; BACKGROUND-COLOR: transparent; HEIGHT: 15pt; BORDER-TOP: #d4d0c8; BORDER-RIGHT: #d4d0c8" height=20>IF(AND(H24>0,H23=0,A28=TRUE),0,0)</TD></TR><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-BOTTOM: #d4d0c8; BORDER-LEFT: #d4d0c8; BACKGROUND-COLOR: transparent; HEIGHT: 15pt; BORDER-TOP: #d4d0c8; BORDER-RIGHT: #d4d0c8" height=20>IF(AND(H24=0,A28=TRUE),MAX(500,50*H23),0)</TD></TR></TBODY></TABLE>
Independantly each works fine. When I add them together, I get an error. I'm guessing this must be in my parentheses? Here's my string:
IF(AND(H24>0,H23>0,A28=TRUE),MAX(500,50*H23),0,IF(AND(H24>0,H23=0,A28=TRUE),0,0,IF(AND(H24=0,A28=TRUE),MAX(500,50*H23),0)))
What's wrong with it?????