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
This is the resulting preview, and what actually posts:
Here is the formula for copying
I just saw the other post about truncating formulas with <>. I'm going to assume that's the issue here as well.
This is the formula
This is the resulting preview, and what actually posts:
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: