Check out this earlier thread: https://lists.gnu.org/archive/html/emacs-orgmode/2016-05/msg00240.html

You probably just need the org-table-mark-field definition from that. 

On Sat, Dec 31, 2016, 8:28 AM Charles C. Berry <ccberry@ucsd.edu> wrote:
On Fri, 30 Dec 2016, dmg wrote:

> hi everybody,
>
> has anybody written a function to select the text in a cell of a table?

If you mean like what ob-ref.el uses to support babel references, yes.

Also see org-table.el.

If you just want support for working with Babel src blocks, see

        (info "(org) var")

HTH,

Chuck

--

Kaushal Modi