I am using Excel 2007. I have monthly sales data for various countries displayed in Rows as follows. Sales are in column C. Country is in Column A
USA January 10
Canada January 20
UK January 30
Italy January 40
USA February 100
Canada February 200
UK February 300
Italy February 400
USA March 1000
Canada March 2000
UK March 3000
The monthly sales data that used to be displayed in rows should now be displayed in columns as shown below. Also, some of the country sales occured in one month may or may not occur in the next month. Eg:- Italy is missing March data
January February March
USA 10 100 1000
Canada 20 200 2000
UK 30 300 3000
Italy 40 400 0
I need data like this to be displayed in another Excel sheet in the same work book. I need an Excel VBA code for this. Kindly suggest.
USA January 10
Canada January 20
UK January 30
Italy January 40
USA February 100
Canada February 200
UK February 300
Italy February 400
USA March 1000
Canada March 2000
UK March 3000
The monthly sales data that used to be displayed in rows should now be displayed in columns as shown below. Also, some of the country sales occured in one month may or may not occur in the next month. Eg:- Italy is missing March data
January February March
USA 10 100 1000
Canada 20 200 2000
UK 30 300 3000
Italy 40 400 0
I need data like this to be displayed in another Excel sheet in the same work book. I need an Excel VBA code for this. Kindly suggest.