Announcements
This site is in read only until July 22 as we migrate to a new platform; refer to this community post for more details.

Line break to remove if column is blank

My current expression is
CONCATENATE(
if(isnotblank([WASHING]),Concatenate(Washing," - ",[WASHING]),"")&"
"&
if(isnotblank([DAMAGE]),Concatenate(Damage," - ",[DAMAGE]),"")&"
"&
if(isnotblank([Road Fare]),Concatenate(Road," - ",[Road Fare]),"")&"
"&
if(isnotblank([Others]),Concatenate(Others," - ",[Others]),"")
)

For Mr.Steve.jpg

Solved Solved
0 5 142
1 ACCEPTED SOLUTION

Steve
Platinum 5
Platinum 5

Or this:

SUBSTITUTE(
  CONCATENATE(
    LIST(
      IFS((0 <> [WASHING]), ("Washing - " & [WASHING])),
      IFS((0 <> [DAMAGE]), ("Damage - " & [DAMAGE])),
      IFS((0 <> [Road Fare]), ("Road - " & [Road Fare])),
      IFS((0 <> [Others]), ("Others - " & [Others]))
    )
    - LIST("")
  ),
  " , ",
  "
"
)

View solution in original post

5 REPLIES 5
Top Labels in this Space