1

This question already has an answer here:

I want to create this table format in LaTeX.

enter image description here

Can anybody help me to create this table?

marked as duplicate by Werner tables Dec 10 '17 at 7:53

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

1

You can apply this code

\documentclass{article}
\usepackage{multirow}
\usepackage{array}

\begin{document}
\begin{table}[!htbp]
\centering
\begin{tabular}{|c|c|c|c|c|c|c|}
\hline
\multirow{2}{*}{} & \multirow{2}{*}{} & \multirow{2}{*}{} & \multicolumn{3}{l|}{} & \multirow{2}{*}{} \\ \cline{4-6}
                  &                   &                   &       &       &       &                   \\ \hline
                  &                   &                   &       &       &       &                   \\ \hline
                  &                   &                   &       &       &       &                   \\ \hline
\end{tabular}
\end{table}
\end{document}

Here is the table with some entries

enter image description here

\begin{table}[!htbp]
\centering
\begin{tabular}{|c|c|c|c|c|c|c|}
\hline
\multirow{2}{*}{\bf Z} & \multirow{2}{*}{\bf X} & \multirow{2}{*}{\bf V} & 
\multicolumn{3}{c|}{\bf A} & \multirow{2}{*}{\bf Y} \\ \cline{4-6}
                   &                        &                        &    B     &    C   &    D   &                        \\ \hline
                   &                        &                        &          &        &        &                        \\ \hline
                   &                        &                        &          &        &        &                        \\ \hline
\end{tabular}
\end{table}
  • Thank you so much @Cragfelt, How can I write field names in this table.. – Saqib Qamar Dec 10 '17 at 5:22
  • @SaqibQamar Do you mean the entries in the cells of the table? – Cragfelt Dec 10 '17 at 5:27
  • I have edited attached image with fields name, how can I write it.. – Saqib Qamar Dec 10 '17 at 5:39
  • 1
    @SaqibQamar Glad to help, if this answer solved your problem please mark it as accepted by clicking the check mark next to the answer. see: How does accepting an answer work? for more information. – Cragfelt Dec 10 '17 at 5:57

Not the answer you're looking for? Browse other questions tagged or ask your own question.