I need to concatenate Descriptions in Column G, but only those description where Column D(SearchType) = 7.
The Concatenated Description must also just reflect on the last line before the DocumentNumber (Column B) resets and only include those Searchtype 7 descriptions of the same DocumentNumber.
I've tried multiple AND
, OR
. IF
, IFS
and CONCATENATE
variations, but don't seem to get it right. Such as
=+IF(AND(F4=0,F3<>0,F2<>0,F1<>0),CONCATENATE(G4,G3),FALSE)
but I cannot figure out how to "Reset" the formula