View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
Dave F Dave F is offline
external usenet poster
 
Posts: 2,574
Default Help with a nested IF statement.

IF is limited to 7 repetitions. Looks like you have 8 in the formula below.

"BM" wrote:

If I remove: IF(MONTH($C$29)=8,$C$28/12*8) The formula works fine. I
am having trouble finding the problem with this part of the formula.

=IF(MONTH($C$29)=1,$C$28/12*3,IF(MONTH($C$29)=2,$C$28/12*2,IF(MONTH($C$29)=3,$C$28/12*1,IF(MONTH($C$29)=4,$C$28/12*12,IF(MONTH($C$29)=5,$C$28/12*11,IF(MONTH($C$29)=6,$C$28/12*10,IF(MONTH($C$29)=7,$C$28/12*9,IF(MONTH($C$29)=8,$C$28/12*8,))))))))

Any suggestion is appreciated.

Thanks,

Bill