I have a large dataset (13292 rows, 96 columns) which contains data for ~100 different groups (group1, group2, etc.).
group1
group2
How can I iterate through the dataset and export each group into their own CSV (including headers)?
For example, every record which has group1 listed against it would be exported to group1.csv and so on.
group1.csv
Is there a quick way to do it? VBA-based suggestions are also welcome.
2.1m questions
2.1m answers
60 comments
57.0k users