Split Dataset

Occasional Contributor

Hello Tech Community,

I want to be able to split a data set that I have. I want to split it evenly 50/50 but want a particular column to contain equal distributions in the splits. For instance this particular column is a code column that contains numbers from 1 - 4. I want my segmentations from the 50/50 to have similar distributions of that code column.


Thanks for the Help! 

1 Reply

Filter the first column and indclude the values less or equal to median. The second column imclude the values greater than or equal to median. Should split the lits into two simila columns.

Where C4:C7 is your list 1 to 4.

- Geir