Quick Sanity check for me please, these 2 statements are functionally the same right? I mean I drew myself a truth table for each which I haven’t drawn since like 4 yrs ago in sophomore yr of college and they are the same. Yet the first didn’t give the same results as the second in my valid if.
They were each inside of the same select statement*
So we always want to check if [department]=[Thisrow].[Department]
and if the USEREMAIL contains “store” we want to exclude [L1]=“it sup…”
The second formula I posted works just fine, I just couldn’t for the life of me figure out why the first one doesn’t. My expectation now is maybe something to do with blank being true in Appsheet is messing with my thinking of how the logic is working and affected the methods I used to test it.
This is the whole formula for the valid if with my second formula:
As for your entire valid_if expression. I think you could actually take advantage of how the equality works if the first term is blank (as Steve just said), to shorten your expression:
Yah I got that. If you look at Austin’s full valid_if expression, he has a preceding IF( ISBLANK( [Department] ),... ). One corresponding expression possibility, to incorporate that into an expression like mine, without the subjectively unnecessary IF(), would have to include:
Guys, the second formula I had in the original post works just fine, I was only asking why the first formula wasn’t working since they looked logically the same to me .