Rows which doesnot contain commas

i have to split all those rows which contain commas and for rows which doesnt contain comma should remain as it is

but im facing issue ie the rows get splitted which have commas but rows which doesnot contain commas are deleted

how have you designed your workflow.

i have used for each in dtinput(for all rows in excel) then switch to check row contain commas or not
if they contain commas then again for each row in dtinput and then again s witch to check row contain commas or not if yes,array is used to split comma values,then for each items in array, i have passed values and add data row is used and then write range (output of adddatarow)

@Ananya1 Could you please share a screenshot or XAML file?