[Tex/LaTex] How to center section when using \titleformat{\section}

horizontal alignmenttitlesec

I decided to use \usepackage[center]{titlesec} in order to center my sections, but I don't want them displaying the chapter/section numbering in the chapter/section headings so I applied the titleformat. But with this new macro, it erased the [center] command.

\documentclass[14pt]{memoir}

\usepackage[center]{titlesec}
\usepackage{lipsum}

\titleformat{\chapter}
{\Large\bfseries}
{}
{0pt}
{\huge}

\titleformat{\section}
{\Large\bfseries} 
{}
{0pt}
{\large}

\begin{document}

\tableofcontents

\chapter{This shouldn't be centered}
\clearpage
\section{This should be centered}
\lipsum[1]
\subsection{This should be centered}
Nothing to see here.
\end{document}

Result:

enter image description here

Best Answer

like this ? :

\documentclass[14pt]{memoir}

\usepackage[center]{titlesec}
\usepackage{lipsum}

\titleformat{\chapter}
  {\centering\Large\bfseries} % format
  {}% label
  {0pt} % sep
  {\huge}  

\setcounter{secnumdepth}{0}

\begin{document}

\tableofcontents

\chapter{This shouldn't be centered}
\clearpage
\section{This should be centered}
\lipsum[1]
\subsection{This should be centered}
Nothing to see here.
\end{document}

Result: enter image description here