Hi Forum,
I see that this type of question comes up again and again but I can't find the specific answer to this:
How do I start with a query like this?:
Item Year Cost Revenue Margin
A 2010 10 15 5
A 2009 9 15 6
A 2011 20 30 10
B 2012 15 25 10
B 2009 6 12 6
B 2011 50 200 150
and finish with a query this?:
Item Cos_2009 Rev_2009 Mar_2009 Cos_2010 Rev_2010 Mar_2010 Cos_2011 Rev_2011 Mar_2011 Cos_2012 Rev_2012 Mar_2012
A 9 15 6 10 15 5 20 30 10
B 6 12 6 50 200 150 15 25 10
Please see tables in Example.mdb attached.
Notes:
As data for 2013 is available then 3 columns would be added to the query.
Thanks for you time and consideration.
Nick
