I am new to the latex. I am facing a problem to create a multicolumn table with the following code
Code: Select all
\begin{sidewaystable}
\centering A table
\caption{A caption}
\begin{tabular}{@{}lllllllllllll@{}} \toprule
\multicolumn{1}{c}{\multirow{2}{*}{Commodity Groups}} & \multicolumn{2}{c}{2006-07} & \multicolumn{2}{c}{2007-08} & \multicolumn{2}{c}{2008-09} & \multicolumn{2}{c}{2009-10} \\
\cmidrule(r){2-3} & \cmidrule(r){4-5} & \cmidrule(r){6-7} & \cmidrule(r){8-9} & \cmidrule(r){10-11} & \cmidrule(r){12-13} \\
\multicolumn{1}{c} & Volume & Value & Volume & value & Volume & value & Volume & value & Volume & value & Volume & value \\ \midrule
Bullions and Other Metals & 2.72 & 179671.1 & 58.45 & 779398.35 & 190.88 & 2128985.2 & 451.92 & 2623667 & 440.36 & 3592450.2 & 648.25 & 3388371 \\
Agriculture & 1939.38 & 390188.4 & 5818.8 & 1192226.9 & 5023.92 & 1317125.2 & 3,139.03 & 941283.3 & 2309.35 & 627303.14 & 2910.05 & 902209.3 \\
Energy & 0 & 1900.14 & 908.96 & 181882.64 & 914.34 & 230711.92 & 1976.22 & 500942.1 & 3938.17 & 1026442.05 & 4088.36 & 1232613 \\
Others & 0 & 0 & 2.505 & 1614.16 & 0.15 & 104.36 & 6.25 & 97.22 & 175.62 & 2760.78 & 2.12 & 3103.36 \\
Total & 1942.1 & 571759.6 & 6788.715 & 2155122 & 6129.29 & 3676927 & 5573.42 & 4065989 & 6863.5 & 5248956.2 & 7648.78 & 5526296 \\ \bottomrule
\end{tabular}
\end{sidewaystable}
With Sincere regards,
Upananda