Mangesharalkar
New Member
- Joined
- Apr 27, 2016
- Messages
- 10
Hi All,
Below is the data:
I am trying formula, but giving error:
=IF(AND(O5="I",P5="P-W",20%,IF(AND(O5="I",P5="P-H"),20%,IF(AND(O5="I",P5="I"),0%,IF(AND(O5="P-W",P5="I"),-20%,IF(AND(O5="P-W",P5="P-H",20%,IF(AND(O5=P-W,P5="K",20%,IF(AND(O5="P-W",P5="P-W",0%,IF(AND(O5="K",P5="CC",20%,IF(AND(O5="K",P5="K-R",-20%,IF(AND(O5="K-C",P5="K-C",0%,IF(AND(O5="P-H",P5="P-H",0%,IF(AND(O5="K",P5="C-C",20%,IF(AND(O5="P-H",P5="K",0%,IF(AND(O5="K",P5="K",0%,IF(AND(O5="CC",P5="CC",0%)
Error is - Formula Opening and closing is missing Parenthesizing
[TABLE="width: 189"]
<colgroup><col width="63" span="3" style="width:47pt"> </colgroup><tbody>[TR]
[TD="class: xl67, width: 63"]Week1[/TD]
[TD="class: xl67, width: 63"]Week2[/TD]
[TD="class: xl67, width: 63"]%[/TD]
[/TR]
[TR]
[TD="class: xl69"]I[/TD]
[TD="class: xl69"]P-W[/TD]
[TD="class: xl68, align: right"]20%[/TD]
[/TR]
[TR]
[TD="class: xl69"]I[/TD]
[TD="class: xl69"]P-H[/TD]
[TD="class: xl68, align: right"]20%[/TD]
[/TR]
[TR]
[TD="class: xl69"]P-W[/TD]
[TD="class: xl69"]I[/TD]
[TD="class: xl68, align: right"]-20%[/TD]
[/TR]
[TR]
[TD="class: xl69"]P-W[/TD]
[TD="class: xl69"]P-H[/TD]
[TD="class: xl68, align: right"]20%[/TD]
[/TR]
[TR]
[TD="class: xl69"]P-W[/TD]
[TD="class: xl69"]K[/TD]
[TD="class: xl68, align: right"]20%[/TD]
[/TR]
[TR]
[TD="class: xl69"]P-H[/TD]
[TD="class: xl69"]K[/TD]
[TD="class: xl68, align: right"]0%[/TD]
[/TR]
[TR]
[TD="class: xl69"]K[/TD]
[TD="class: xl69"]K-C[/TD]
[TD="class: xl68, align: right"]10%[/TD]
[/TR]
[TR]
[TD="class: xl69"]K[/TD]
[TD="class: xl69"]CC[/TD]
[TD="class: xl68, align: right"]20%[/TD]
[/TR]
[TR]
[TD="class: xl69"]K[/TD]
[TD="class: xl69"]K-R[/TD]
[TD="class: xl68, align: right"]-20%[/TD]
[/TR]
[TR]
[TD="class: xl69"]I[/TD]
[TD="class: xl69"]I[/TD]
[TD="class: xl68, align: right"]0%[/TD]
[/TR]
[TR]
[TD="class: xl69"]P-W[/TD]
[TD="class: xl69"]P-W[/TD]
[TD="class: xl68, align: right"]0%[/TD]
[/TR]
[TR]
[TD="class: xl69"]P-H[/TD]
[TD="class: xl69"]P-H[/TD]
[TD="class: xl68, align: right"]0%[/TD]
[/TR]
[TR]
[TD="class: xl70"]K[/TD]
[TD="class: xl70"]K[/TD]
[TD="class: xl68, align: right"]0%[/TD]
[/TR]
[TR]
[TD="class: xl69"]K-C[/TD]
[TD="class: xl69"]K-C[/TD]
[TD="class: xl68, align: right"]0%[/TD]
[/TR]
[TR]
[TD="class: xl71"]CC[/TD]
[TD="class: xl71"]CC[/TD]
[TD="class: xl68, align: right"]0%
[/TD]
[/TR]
</tbody>[/TABLE]
Below is the data:
I am trying formula, but giving error:
=IF(AND(O5="I",P5="P-W",20%,IF(AND(O5="I",P5="P-H"),20%,IF(AND(O5="I",P5="I"),0%,IF(AND(O5="P-W",P5="I"),-20%,IF(AND(O5="P-W",P5="P-H",20%,IF(AND(O5=P-W,P5="K",20%,IF(AND(O5="P-W",P5="P-W",0%,IF(AND(O5="K",P5="CC",20%,IF(AND(O5="K",P5="K-R",-20%,IF(AND(O5="K-C",P5="K-C",0%,IF(AND(O5="P-H",P5="P-H",0%,IF(AND(O5="K",P5="C-C",20%,IF(AND(O5="P-H",P5="K",0%,IF(AND(O5="K",P5="K",0%,IF(AND(O5="CC",P5="CC",0%)
Error is - Formula Opening and closing is missing Parenthesizing
[TABLE="width: 189"]
<colgroup><col width="63" span="3" style="width:47pt"> </colgroup><tbody>[TR]
[TD="class: xl67, width: 63"]Week1[/TD]
[TD="class: xl67, width: 63"]Week2[/TD]
[TD="class: xl67, width: 63"]%[/TD]
[/TR]
[TR]
[TD="class: xl69"]I[/TD]
[TD="class: xl69"]P-W[/TD]
[TD="class: xl68, align: right"]20%[/TD]
[/TR]
[TR]
[TD="class: xl69"]I[/TD]
[TD="class: xl69"]P-H[/TD]
[TD="class: xl68, align: right"]20%[/TD]
[/TR]
[TR]
[TD="class: xl69"]P-W[/TD]
[TD="class: xl69"]I[/TD]
[TD="class: xl68, align: right"]-20%[/TD]
[/TR]
[TR]
[TD="class: xl69"]P-W[/TD]
[TD="class: xl69"]P-H[/TD]
[TD="class: xl68, align: right"]20%[/TD]
[/TR]
[TR]
[TD="class: xl69"]P-W[/TD]
[TD="class: xl69"]K[/TD]
[TD="class: xl68, align: right"]20%[/TD]
[/TR]
[TR]
[TD="class: xl69"]P-H[/TD]
[TD="class: xl69"]K[/TD]
[TD="class: xl68, align: right"]0%[/TD]
[/TR]
[TR]
[TD="class: xl69"]K[/TD]
[TD="class: xl69"]K-C[/TD]
[TD="class: xl68, align: right"]10%[/TD]
[/TR]
[TR]
[TD="class: xl69"]K[/TD]
[TD="class: xl69"]CC[/TD]
[TD="class: xl68, align: right"]20%[/TD]
[/TR]
[TR]
[TD="class: xl69"]K[/TD]
[TD="class: xl69"]K-R[/TD]
[TD="class: xl68, align: right"]-20%[/TD]
[/TR]
[TR]
[TD="class: xl69"]I[/TD]
[TD="class: xl69"]I[/TD]
[TD="class: xl68, align: right"]0%[/TD]
[/TR]
[TR]
[TD="class: xl69"]P-W[/TD]
[TD="class: xl69"]P-W[/TD]
[TD="class: xl68, align: right"]0%[/TD]
[/TR]
[TR]
[TD="class: xl69"]P-H[/TD]
[TD="class: xl69"]P-H[/TD]
[TD="class: xl68, align: right"]0%[/TD]
[/TR]
[TR]
[TD="class: xl70"]K[/TD]
[TD="class: xl70"]K[/TD]
[TD="class: xl68, align: right"]0%[/TD]
[/TR]
[TR]
[TD="class: xl69"]K-C[/TD]
[TD="class: xl69"]K-C[/TD]
[TD="class: xl68, align: right"]0%[/TD]
[/TR]
[TR]
[TD="class: xl71"]CC[/TD]
[TD="class: xl71"]CC[/TD]
[TD="class: xl68, align: right"]0%
[/TD]
[/TR]
</tbody>[/TABLE]