Hello, I would appreciate some help to finish a formula, I am a bit stuck at the moment.
I attached an XSL with similar table for more clarity.
What I am trying to achieve is to return a "DANGER" text in the last column of my table when two conditions are met simultaneously, not just one or the other.
Currently, the "DANGER" is returned when:
A) the 4th column ("Duplicados") contains a text value "Duplicado" (I realise this one is a wrong approach, but can't think of a good way to do it)
B) the 3rd column "Quantity"'s value is greater than 99. (This condition should be fine)
However, what I would actually need is a slight change of the first condition, so the "DANGER" text value is only returned when Quantity is greater than 100 in duplicated products.
If Two (or more) clients order +100 oranges, then I need the DANGER value to be returned for those oranges whose quantity value is +100, not the -100 oranges.
So, for example, in this mock document, Orange should have the "Danger" Value because at least two clients asked for more than 100 oranges, but not the apples because only one client asked for more than 100 apples.
Thanks a lot in advance (and sorry if I didn't explain myself well)
Bookmarks