From: Uwe Brauer <oub@mat.ucm.es>
To: emacs-orgmode@gnu.org
Subject: how to compare strings of two columns for huge tables
Date: Wed, 13 Jun 2018 22:34:36 +0200 [thread overview]
Message-ID: <87efhaifxf.fsf@mat.ucm.es> (raw)
Hi
I have tables (several hundred rows) like this
| 03217428 | 3217428 | |
| 71310606 | 71310606 | |
| 05944371 | 5944371 | |
| 70086251 | 70086251 | |
| 50325182 | 50325182 | |
| 04559101 | 4559101 | |
| 51005420 | 51005420 | |
| 51141846 | 51141846 | |
| 05448640 | 5448640 | |
| 06602597 | 6602597 | |
#+TBLFM: $3=if("$1" == "$2", string("OK"))
So I would like to add a new column, which would return OK, if the
strings of each row of the to columns coincide. I tried
#+TBLFM: $3=if("$1" == "$2", string("OK"))
But it did not work. I googled and looked up the manual, no help.
It seems a common problem for spreadsheet so I presume there must be an
solution but I am unable to find it and would appreciate any help.
Thanks
Uwe Brauer
next reply other threads:[~2018-06-13 20:34 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-06-13 20:34 Uwe Brauer [this message]
2018-06-13 20:45 ` [SOLVED?] (was: how to compare strings of two columns for huge tables) Uwe Brauer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87efhaifxf.fsf@mat.ucm.es \
--to=oub@mat.ucm.es \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.