how to sort Year and Month in Pivot table?
the formula i applied on the date field on database for consolidating Year & Month is
=YEAR(B2)&(CHOOSE(MONTH(B2)," JAN"," FEB"," MAR"," APR"," MAY"," JUN"," JUL"," AUG"," SEP"," OCT"," NOV"," DEC")
kindly find the result , whcih is not in an order.
Iam expecting an ascending order result, please help.........
[TABLE="width: 92"]
<TBODY>[TR]
[TD]Row Labels
[/TD]
[/TR]
[TR]
[TD]2011 APR</SPAN>
[/TD]
[/TR]
[TR]
[TD]2011 DEC</SPAN>
[/TD]
[/TR]
[TR]
[TD]2011 MAY</SPAN>
[/TD]
[/TR]
[TR]
[TD]2011 NOV</SPAN>
[/TD]
[/TR]
[TR]
[TD]2011 OCT</SPAN>
[/TD]
[/TR]
[TR]
[TD]2011 SEP</SPAN>
[/TD]
[/TR]
[TR]
[TD]2012 APR</SPAN>
[/TD]
[/TR]
[TR]
[TD]2012 DEC</SPAN>
[/TD]
[/TR]
[TR]
[TD]2012 FEB</SPAN>
[/TD]
[/TR]
[TR]
[TD]2012 JAN
[/TD]
[/TR]
[TR]
[TD]</SPAN>
[/TD]
[/TR]
</TBODY>[/TABLE]
the formula i applied on the date field on database for consolidating Year & Month is
=YEAR(B2)&(CHOOSE(MONTH(B2)," JAN"," FEB"," MAR"," APR"," MAY"," JUN"," JUL"," AUG"," SEP"," OCT"," NOV"," DEC")
kindly find the result , whcih is not in an order.
Iam expecting an ascending order result, please help.........
[TABLE="width: 92"]
<TBODY>[TR]
[TD]Row Labels
[/TD]
[/TR]
[TR]
[TD]2011 APR</SPAN>
[/TD]
[/TR]
[TR]
[TD]2011 DEC</SPAN>
[/TD]
[/TR]
[TR]
[TD]2011 MAY</SPAN>
[/TD]
[/TR]
[TR]
[TD]2011 NOV</SPAN>
[/TD]
[/TR]
[TR]
[TD]2011 OCT</SPAN>
[/TD]
[/TR]
[TR]
[TD]2011 SEP</SPAN>
[/TD]
[/TR]
[TR]
[TD]2012 APR</SPAN>
[/TD]
[/TR]
[TR]
[TD]2012 DEC</SPAN>
[/TD]
[/TR]
[TR]
[TD]2012 FEB</SPAN>
[/TD]
[/TR]
[TR]
[TD]2012 JAN
[/TD]
[/TR]
[TR]
[TD]</SPAN>
[/TD]
[/TR]
</TBODY>[/TABLE]