
Please, Help me inserting a table like this. I could not prepare this table even after using the \multicolumn package. I am facing difficulties with merging the rows and columns. I am in an urgent need. Please Help !

Please, Help me inserting a table like this. I could not prepare this table even after using the \multicolumn package. I am facing difficulties with merging the rows and columns. I am in an urgent need. Please Help !
Here's an implementation of what I understand your requirements are. It uses the multirow package and tries to maximize the width of column "D". If more material than currently included shows up in the other columns, the width of column "D" will shrink accordingly. If, in the end, you do not need the table to be as wide as the text block, use some multiple of \textwidth less than 1.0 in the first argument of the tabularx column definitions.

\documentclass{article}
\usepackage{tabularx,multirow}
\newcolumntype{Y}{>{\centering\arraybackslash}X}
\begin{document}
\begin{table}
\begin{tabularx}{1.0\textwidth}{|c| Y| *{6}{c|} }
\cline{3-8}
\multicolumn{1}{c}{} & &
\multicolumn{3}{c|}{A} & \multicolumn{3}{c|}{B}\\
\hline
C & D & E & F & G & H & I & J\\
\hline
\multirow{4}{*}{l} &
\multirow{4}{*}{aaaaaa} &
\multirow{2}{*}{bbbb} &
\multirow{2}{*}{cccc} &
\multirow{4}{*}{eeee} &
ffff & hhhh &
\multirow{4}{*}{iiii}\\
& & & & & ffff & hhhh & \\
& &
\multirow{2}{*}{bbbb} &
\multirow{2}{*}{cccc} & & ffff & hhhh & \\
& & & & & ffff & hhhh & \\
\hline
\end{tabularx}
\caption{Enter the table's caption here}
\end{table}
\end{document}
Your tabular might not be easy for beginner, so for a good start at TeX.SE:
\documentclass{article}
\begin{document}
\begin{tabular}{|*8{l|}}
\cline{3-8}
\multicolumn{2}{c|}{}&\multicolumn{3}{c|}{A}&\multicolumn{3}{c|}{B}\\
\hline
C&D&E&F&\multicolumn{1}{c|}{G}&H&I&\multicolumn{1}{c|}{J}\\ % for example G and J centered
\hline
\begin{tabular}{l}
1
\end{tabular}&
\begin{tabular}{l}
aaaa
\end{tabular}&
\begin{tabular}{l}
bbbb\\
{}\\
bbbb
\end{tabular}&
\begin{tabular}{l}
cccc\\
{}\\
cccc
\end{tabular}&
\begin{tabular}{l}
eeee
\end{tabular}&
\begin{tabular}{l}
ffff\\
ffff\\
ffff\\
ffff
\end{tabular}&
\begin{tabular}{l}
hhhh\\
hhhh\\
hhhh\\
hhhh
\end{tabular}&
\begin{tabular}{l}
iiii
\end{tabular}\\
\hline
\end{tabular}
\end{document}

\begin{tabular}{@{}l@{}} rather than simply \begin{tabular}{l} for the eight "inner" tabular environments. That, or issue the command \setlength\tabcolsep{3pt} to reduce the value of that parameter by 50%.
– Mico
Dec 13 '13 at 21:14
multirowpackage, not themulticolpackage. – Mico Dec 13 '13 at 18:42aaaaaa? It that's not the case (and I sincerely hope it's not...), should the text in a cell be allowed to "wrap" to the next line? – Mico Dec 13 '13 at 19:27All should be centred. In Column D, I will put some mathematical function in place of "aaaaaa". In a line it is impossible to put the whole function. So wrap to the next line can be allowed for the column D. Otherwise, it does not matter how wide columns are.
– Suvra Kanti Dec 13 '13 at 19:34tags– texenthusiast Dec 13 '13 at 19:47