Good Afternoon,
I am using a nested IF AND statement to look at a salary, look at a range and then use the percentage associated with that range (hope that makes sense)
If I type the formula like this
=IF(AND($C17>=$n$2,$C17<=$o$2),$C17*$m$2,IF(AND($C17>=$n$3,$C17<=$o$3),$C17*$m$3,IF(AND($C17>=$n$4,$C17<=$o$4),$C17*$m$4,if(AND($c17>=$N$5,$c17<=$O$5,$c17*$M$5,if($c17>=$N$6,$c17*$M$6,"")))))
Excel tells me that there is an error
If I type it like this
=IF(AND($C17>=$n$2,$C17<=$o$2),$C17*$m$2,IF(AND($C17>=$n$3,$C17<=$o$3),$C17*$m$3,IF(AND($C17>=$n$4,$C17<=$o$4),$C17*$m$4,if(AND($c17>=$N$5,$c17<=$O$5,$c17*$M$5,if($c17>=$N$6,$c17*$M$6,""
Excel tells me my formula is missing a parenthesis. I have been staring at this for an hour - any help would be greatly appreciated
I have used the above formula in an earlier part of my sheet and it has 1 less AND statement and worked perfectly. Am I used too many AND Statements?
I am using a nested IF AND statement to look at a salary, look at a range and then use the percentage associated with that range (hope that makes sense)
If I type the formula like this
=IF(AND($C17>=$n$2,$C17<=$o$2),$C17*$m$2,IF(AND($C17>=$n$3,$C17<=$o$3),$C17*$m$3,IF(AND($C17>=$n$4,$C17<=$o$4),$C17*$m$4,if(AND($c17>=$N$5,$c17<=$O$5,$c17*$M$5,if($c17>=$N$6,$c17*$M$6,"")))))
Excel tells me that there is an error
If I type it like this
=IF(AND($C17>=$n$2,$C17<=$o$2),$C17*$m$2,IF(AND($C17>=$n$3,$C17<=$o$3),$C17*$m$3,IF(AND($C17>=$n$4,$C17<=$o$4),$C17*$m$4,if(AND($c17>=$N$5,$c17<=$O$5,$c17*$M$5,if($c17>=$N$6,$c17*$M$6,""
Excel tells me my formula is missing a parenthesis. I have been staring at this for an hour - any help would be greatly appreciated
I have used the above formula in an earlier part of my sheet and it has 1 less AND statement and worked perfectly. Am I used too many AND Statements?