Dear Sir/Madam,

I'm a new users of Emacs. I encountered a problem while I tried to create a table in the org-mode. What I want to do is conditional formula for a column. The condition is based on the @#. The problem is that @# was not recognized probably. Here is a copy of my table and the error message. Merry Christmas and Thanks for help.

| num1 | num2 | num3 |
|------+------+------|
|  #ERROR    |      |      |
|  #ERROR    |      |      |
  #+TBLFM: $1=if(@# % 2, $#, string(""))

---- debug message----

Substitution history of formula
Orig:   if(@# % 2, $#, string(""))
$xyz->  if(@# % 2, $#, string(""))
@r$c->  if(@# % 2, $#, string(""))
$1->    if(@# % 2, $#, string(""))
       ---^
Error:  Expected a number

--
Longzhu Q. Shen
Carnegie Mellon University
4400 5th Ave
Pittsburgh PA 15213
Phone: (412)-268-6177
Email: ls...@andrew.cmu.edu


_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to