• Why not add an extra column as specified earlier and then apply your logic to a case statement to populate the column.

    You can then split the data out as required.

    Or use SSIS and a conditional Split or milti-cast.