Hello, I am trying to write up some of my excel formulas and codes, but whenever I type them in word breaks up the syntax. For example I will type in this:
=IF(COUNTIF(C:C,"<0")<$E$1,"Too few values",AVERAGEIF(INDEX(C:C,LARGE(IF(C:C<0,ROW(C:C),""),$E$1)):INDEX(C:C,MATCH(2,1/(C:C<0))),"<0"))
but what I get is this:
=IF(COUNTIF(C:C,"<0")<$E$1,"Too
few values",AVERAGEIF(INDEX(C:C,LARGE(IF(C:C<0,ROW(C:C),""),$E$1)):INDEX(C:C,MATCH(2,1/(C:C<0))),"<0"))
So it looks wonky on the page. I can't figure out why Word keeps kicking that sentence down to the next line - anyone have any ideas? Thanks,
=IF(COUNTIF(C:C,"<0")<$E$1,"Too few values",AVERAGEIF(INDEX(C:C,LARGE(IF(C:C<0,ROW(C:C),""),$E$1)):INDEX(C:C,MATCH(2,1/(C:C<0))),"<0"))
but what I get is this:
=IF(COUNTIF(C:C,"<0")<$E$1,"Too
few values",AVERAGEIF(INDEX(C:C,LARGE(IF(C:C<0,ROW(C:C),""),$E$1)):INDEX(C:C,MATCH(2,1/(C:C<0))),"<0"))
So it looks wonky on the page. I can't figure out why Word keeps kicking that sentence down to the next line - anyone have any ideas? Thanks,