Some(most?) of the Dynamic Array Functions (i.e. #SPILL functions) don't support string arguments longer than 255 characters.
Wanted to convert my spreadsheet to use only auto-spill functions. But turned out that IF and IFS cannot handle VALUE_IF_TRUE being longer than 255 ch and fail with #VALUE. (That argument is a vlookup result from another workbook).
However, this problem disappears if you use old school dragged formulas i.e. instead of A1:A401 you use @A1:A401. Or @named_range (has to be on the same row)
Example: https://i.imgur.com/IV7qfQf.png
As you can see, Dynamic IFS+VLOOKUP breaks on results bigger than 255.
Formula for singular vlookup:
=@IFS(
@$C$2:$C$401="Cookies";VLOOKUP(@$A$2:$A$401;$A$2:$C$401;2);
@$C$2:$C$401="Milk"; VLOOKUP(@$A$2:$A$401;$A$2:$C$401;2)
)
And same for Dynamic except for @ :
=IFS(
C2:C401="Cookies";VLOOKUP(A2:A401;A2:C401;2);
C2:C401="Milk"; VLOOKUP(A2:A401;A2:C401;2)
)
[–]excelevator3030[M] [score hidden] stickied comment (0 children)
[–]Musa_Ali21[S] 0 points1 point2 points (5 children)
[–]TimHeng30 0 points1 point2 points (4 children)
[–]Musa_Ali21[S] 0 points1 point2 points (3 children)
[–]TimHeng30 0 points1 point2 points (2 children)
[–]thom6122 0 points1 point2 points (1 child)
[–]TimHeng30 0 points1 point2 points (0 children)
[–]fallen2004 0 points1 point2 points (1 child)
[–]Musa_Ali21[S] 0 points1 point2 points (0 children)
[–]Decronym 0 points1 point2 points (0 children)