Another standard reference for the Plancherel formula is the book: $SL_2(\mathbb{R})$, Addison-Wesley, 1974; of course $SL$ stands for Serge Lang. The Plancherel formula and the Selberg trace formula have in common that a trace is computed in two ways. But they deal with different representations of $G$. For $G$ a suitable locally compact group (type I, unimodular, separable), and $f\in C_c(G)$, the Plancherel formula is $f(e)=\int_{\hat{G}}Tr\pi(f)\;d\mu(\pi)$, where $\mu$ is the Plancherel measure on the dual $\hat{G}$; and the difficulty is, in concrete examples, to describe $\hat{G}$ and $\mu$ explicitly (or at least to describe explicitly the support of $\mu$, called the tempered dual). For the Selberg trace formula, I found the Wikipedia article fairly readable: http://en.wikipedia.org/wiki/Selberg_trace_formula