emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* how to compare strings of two columns for huge tables
@ 2018-06-13 20:34 Uwe Brauer
  2018-06-13 20:45 ` [SOLVED?] (was: how to compare strings of two columns for huge tables) Uwe Brauer
  0 siblings, 1 reply; 2+ messages in thread
From: Uwe Brauer @ 2018-06-13 20:34 UTC (permalink / raw)
  To: emacs-orgmode



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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-06-13 20:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-13 20:34 how to compare strings of two columns for huge tables Uwe Brauer
2018-06-13 20:45 ` [SOLVED?] (was: how to compare strings of two columns for huge tables) Uwe Brauer

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).