I recently posted this issue in a different forum. However, nobody seems to be able to help me over there.

I would like to have some help with the following. I have a large file with different customers. I.e.:
name, email, phonenumber, branch, country

Now I would like to save name, adress and zipcode in one CSV file for each branch in each country.
For example:

Google, something@something.com, 012354563, internet, US
UPS, something@something.com, 012345631, delivery, NL

would result in 2 files:
somename_us_internet.csv
somename_nl_delivery.csv

Can somebody please help me with this?

the link with the other forum is http://www.ozgrid.com/forum/showthread.php?t=154859 ; I'm just telling you this so you don't waste your time if the problem is already fixed. Of course, I will tell the solution here too when I have it.