Formula Fails to Post

Learning To Excel

Board Regular
Joined
Jul 22, 2015
Messages
199
This long formula is more for fun than because it's necessary. The error is that when posting or previewing on the excel forum website all or most of it is removed. The same thing happens when the formula is placed without code tags. The error doesn't seem to occur on this forum.

This is the formula
Formula_zpshrmvb4vd.png


This is the resulting preview, and what actually posts:

Preview_zpsdct8f15e.png



Here is the formula for copying

Code:
=MAX(IF(SUMIFS($D$2:$D$16,$C$2:$C$16,G$1,$B$2:$B$16,"Sup1")<G2,SUMIFS($D$2:$D$16,$C$2:$C$16,G$1,$B$2:$B$16,"Sup1"),0),
IF(SUMIFS($D$2:$D$16,$C$2:$C$16,G$1,$B$2:$B$16,"Sup2")<G2,SUMIFS($D$2:$D$16,$C$2:$C$16,G$1,$B$2:$B$16,"Sup2"),0),
IF(SUMIFS($D$2:$D$16,$C$2:$C$16,G$1,$B$2:$B$16,"Sup3")<G2,SUMIFS($D$2:$D$16,$C$2:$C$16,G$1,$B$2:$B$16,"Sup3"),0),
IF(SUMIFS($D$2:$D$16,$C$2:$C$16,G$1,$B$2:$B$16,"Sup4")<G2,SUMIFS($D$2:$D$16,$C$2:$C$16,G$1,$B$2:$B$16,"Sup4"),0),
IF(SUMIFS($D$2:$D$16,$C$2:$C$16,G$1,$B$2:$B$16,"Sup5")<G2,SUMIFS($D$2:$D$16,$C$2:$C$16,G$1,$B$2:$B$16,"Sup5"),0),
IF(SUMIFS($D$2:$D$16,$C$2:$C$16,G$1,$B$2:$B$16,"Sup6")<G2,SUMIFS($D$2:$D$16,$C$2:$C$16,G$1,$B$2:$B$16,"Sup6"),0),
IF(SUMIFS($D$2:$D$16,$C$2:$C$16,G$1,$B$2:$B$16,"Sup7")<G2,SUMIFS($D$2:$D$16,$C$2:$C$16,G$1,$B$2:$B$16,"Sup7"),0))


I just saw the other post about truncating formulas with <>. I'm going to assume that's the issue here as well.
 
Last edited:
the issue is with < and >, you need to put spaces around them or not post in HTML mode as its treated as instruction for the software
 
Its actually normally only the < sign that is a problem and it is only when that symbol is followed immediately by a letter, not a number.
So =IF(C8<8,1,2) will post fine
but =IF(C8<F8,1,2) will get the red part cut off & that when you need a space but only a space after the < sign is needed.
Another option is while replying, click Go Advanced then look down below the reply window for an option to turn off HTML in your post.

The problem doesn't occur in this forum because if you look down to the bottom right of the page you will see that HTML is turned off in this forum.

So your problem is the "<G2"
 
Last edited:

Forum statistics

Threads
1,223,911
Messages
6,175,329
Members
452,635
Latest member
laura12345

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top