[Tex/LaTex] How to merge rows in table

tables

I want to make a table in multiple rows like the following one. Where in my script has problem?

enter image description here

\documentclass[10pt]{article}
\usepackage{textcomp}
\usepackage[utf8]{inputenc}
\usepackage{fontspec}
\usepackage[british]{babel}
\usepackage{float}
\usepackage{gensymb}
\usepackage{tabularx,ragged2e,booktabs,caption}
\usepackage{subfigure}
\usepackage{multicol,tabularx,capt-of}
\usepackage{multirow}

     \begin{document}

       \begin{center}
  \begin{tabular}{|c|c|c|c|c|}
    \hline
    \multirow{2}{5cm}{} & \multirow{2}{5cm}{\textbf{Conditions}} \\ 
     \cline{2-3} & \textbf{Frequency} & \multirow{2}{5cm}\textbf{Total}\\ 
    \cline{1-3} 
    & \textbf{VDDA + VDD} & \multirow{2}{3cm}{}\\
    \hline
    \textbf{Mode} & \textbf{CLK} & \textbf{Type} & \textbf{Max} & \textbf{Unit} \\
    \hline
Power Down (TBC) & 0 Hz & 0.6 & 2.00 & $\mu$A \\ \hline
       \end{tabular}
        \captionof{table}{Current Consumption}
      \end{center}

\end{document}

Best Answer

This should now work (still using tabularx):

\documentclass[10pt]{article}
\usepackage{textcomp}
%\usepackage[utf8]{inputenc}
\usepackage{fontspec}
\usepackage[british]{babel}
\usepackage{float}
\usepackage{gensymb}
\usepackage{tabularx,ragged2e,booktabs,caption}
\usepackage{subfigure}
\usepackage{multicol,tabularx,capt-of}
\usepackage{multirow}

\begin{document}

\begin{center}
\renewcommand{\arraystretch}{1.2}
\begin{tabularx}{1\textwidth}{|p{5cm}|X|X|X|X|}
\hline
\multirow{2}{*}{} & \textbf{Conditions} & \multicolumn{2}{c|}{\textbf{Total}} & \multirow{2}{*}{} \\ \cline{2-4}
{} & \textbf{Frequency} & \multicolumn{2}{c|}{\textbf{VDDA+VDD}} & {} \\ \cline{1-5}
\textbf{Mode} & \textbf{CLK} & \textbf{Type} & \textbf{Max} & \textbf{Unit} \\ \hline
Power Down (TBC) & 0 Hz & 0.6 & 2.00 & $\mu$A \\ \hline
\end{tabularx}
\captionof{table}{Current Consumption}
\end{center}

\end{document}
Related Question