Alternatively, let listbuild() do the work, replacing the if(). For a single string of semicolon/space-separated items:
listbuild(1, ;/ , [Genre], [Genre 2])
or for the items individually listed under an expression column:
listbuild(1, ;, [Genre], [Genre 2])&datatype=[list]