Very simple question in SPSS

#1
Ok, I don't know why I can't figure this out. It seemed so easy, but it's just not working!

So I have imported my data from an excel sheet into SPSS. The data is by country, by gender, by year. I need to produce Totals for Gender. Unfortunately, there are 3 lines of data for each country. How do I kind of "flatten-out" the file by country in SPSS?

Sorry for being an idiot. I'm hoping somebody could help me out. Thanks in advance!