# How to place arrows horizontally above/below a table?

I am trying to draw arrows next to a table like this:

I was able to draw vertical arrows using the technique shown here:

$\left. \begin{tabular}{|c|c|c|} \hline medium & high & high \\ \hline low & medium & high \\ \hline low & low & medium \\ \hline \end{tabular} \right\uparrow \rotatebox[origin=c]{90}{Impact}$


However I have no idea how to draw the horizontal arrow on top of the table. This answer seems to use the same technique to draw horizontal arrows but I was unable to adapt it. It should also be possible to use TikZ but I would like to keep it simple.

With xrightarrow:

\documentclass{article}
\usepackage{amsmath, amssymb}
\usepackage{bigstrut}
\usepackage{array, rotating, cellspace}
\setlength{\cellspacetoplimit}{6pt}
\setlength{\cellspacebottomlimit}{6pt}

\begin{document}

$\xrightarrow[% \left.\begin{tabular}{|*{3}{>{\sffamily}Sc|}} \hline medium & high & high \\ \hline low & medium & high \\ \hline low & low & medium \\ \hline \end{tabular}% \enspace \right\uparrow\hskip-1em\rlap{\hskip 1.25em\rotatebox[origin=c]{90}{\sffamily Impact}}] {\textsf{\normalsize Likelihood}\bigstrut}$

\end{document}