reddit / emacs

Which spreadsheet program do you guys use? (even if it's not emacs related)

LowCom · 2022-05-26 10:19
## Options I tried ### Emacs based options I do use org-mode as spreadsheet a lot for smaller tasks. With it, I am able to quickly make tables, enter data, make small calculations and can export them to other programs using csv. But org mode can not fully replace a spreadsheet program. I tried other emacs modes like ses modebut did not find it satisfactory, for start the cell alignment seemed very off. ### Vim based options I tried few unixy, vimmy spreadsheets like sc-im, sc etc but entering dates, autofilliing and created named cells and ranges was not supported. Also can't use these in windows while at work. Vim table mode provided some table editing supported but lacked a lot. ### Free unix spreadsheets Gnumeric hanged a lot in my manjaro setup. Libre office was good but it had bad shortcut keys and didn't have those that I already used in excel. So I have kinda accepted defeat to use a proprietary program without vim or emacs like keybindings for spreadsheets i.e excel. There doesn't seem to be alternative now.
ftrx · 2022-05-26 11:08
I do not use them. Not feel the need of them. I have tables, I have programming languages. I do not need anything else...
lispstudent · 2022-05-26 11:42
A possibility on the terminal (via dos emulation): [Lotus 1-2-3 For Linux](https://lock.cmpxchg8b.com/linux123.html)
chandaliergalaxy · 2022-05-26 11:51
I do use org-mode for small tables and [orgutils](https://cran.r-project.org/web/packages/orgutils/) in R. Otherwise, it's Excel if having reactive updating or multiline cells are necessary.
stuudente · 2022-05-26 12:02
I use gnumeric.
FrozenOnPluto · 2022-05-26 12:08
LibreOffice .. has the features you want but not the right keybinds? Sounds like thats the way to go .. maybe you can fix the keybinds or live with them. How bad can they be? Or vm/remote+ excel if you must.
atxgossiphound · 2022-05-26 12:19
Google Sheets. Most spreadsheets I do are shared with families or clients. I’m lucky when they know how to click on a link. :) Anything numbers related beyond simple spreadsheets is done with a Jupyter notebook and python - is there a good emacs mode for notebooks?
fatfingerdeathcrunch · 2022-05-26 13:10
org-mode + org-babel
lisp · 2022-05-26 13:44
I use visidata. Highly recommended.
thevoidzero · 2022-05-26 14:09
If you want to use Jupiter and share notebooks then ein, if you only want it for yourself then definitely org mode. It's like Jupiter in steroids and lot better.
XCapitan_1 · 2022-05-26 14:11
I use pandas & org-jupyter if it's something beyond a basic task. LibreOffice Calc if it's not or if I have to open someone else's spreadsheet.
ubermonkey · 2022-05-26 14:20
Excel. All day. It pains me to say it, but it's actually really good.
ourobo-ros · 2022-05-26 14:34
Excel. I need onenote so have that installed via crossover / wine, which gives me excel for free should I need it. Saves me from downloading libre-office every time I update.
LowCom · 2022-05-26 14:38
How does onenote give excel for free? Do you pay for onenote?
achildsencyclopedia · 2022-05-26 14:39
Onlyoffice
ourobo-ros · 2022-05-26 14:40
Sorry poor choice of words. I meant free as in it's already installed (with an office license).
tapesales · 2022-05-26 15:12
I find spreadsheets to be a truly terrible way of interacting with data. Too much clicking, too much good information obscured (formulas) and too much garbage on the screen. I don’t need to see hundreds of rows of stuff. Usually it’s only necessary to know what’s contained in the columns. As a result I just do stuff in org-babel plus whatever suits my problem (normally Julia these days). Julia has an XLSX package for… XLSX interaction.
planet_oregon · 2022-05-26 15:26
For any type of work this is becoming standard
grumpy_ta · 2022-05-26 15:27
If the spreadsheet is not solely for my own consumption then I use either Google Sheets or Excel365 depending on who I'm collaborating with. LibreOffice is my fallback if the data in the spreadsheet can't be stored in the cloud for regulatory reasons. If it's just for me, then it's done in either Sheets or org-mode. The more complicated the data manipulation I need is, the more likely I am to use org-mode so that I can process the data with python (via org-babel). As someone already mentioned here, this works kind of like a Jupyter Notebook. You're not limited to using python, though. Org-babel supports a number of other languages.
sadbasilisk · 2022-05-26 15:37
csv-mode does the job for me
pathemata · 2022-05-26 15:55
Nice, did not know about it. Works fine inside vterm. I'm going to experiment with it.
nnreddit-user · 2022-05-26 16:36
There it is. In every discussion about clog remover recommendations, someone eventually disdains quick-and-dirty solvents.
ave_63 · 2022-05-26 17:35
Last time I tried visidata, it didn't do well at one important spreadsheet task: Making a column defined by a formula, and storing the formula for that column, so that I could later edit the formula. Has that changed?
dpoggio · 2022-05-26 17:39
For my stuff, just org-mode. At work, MS Excel when forced to leave Emacs.
Naga · 2022-05-26 18:10
I'm a CPA so I use Excel. It's not that I need to for work, but that Excel is actually much better than any other spreadsheet I've used, unfortunately enough. I use Windows in a VM on my Linux host mostly just for Excel!
scruffie · 2022-05-26 19:00
visidata is less a spreadsheet and more of a highly concentrated ball of spreadsheet fury :)
Icy_Thought · 2022-05-26 19:18
Microsoft Excel (web version). Have been reconsider using excel for privacy reasons and replace it with [fortune-sheet](https://github.com/ruilisi/fortune-sheet) (a project I recently came across).
aard_fi · 2022-05-26 19:32
I nowadays pretty much only use org-mode tables. The main issue there is that you need to have all your formulas in one line, which makes it pretty much unreadable and unmaintainable for very complex tables. With the ability to have multiple lines of formulas, and maybe even have inline comments plus making references to tables in separate files a bit easier it'd be able to handle pretty much any complexity.
lisp · 2022-05-26 19:58
Agreed. It's truly a most underrated gem. I am using a variety of tools for tabular data analysis. Excel, Org table, panda... but I use visidata whenever I can. It is an absolutely joy to use.
lisp · 2022-05-26 20:00
I must say I don't create a lot of formulas in vd, but I do remember reading from the documentation you can use any Python expression.
[deleted] · 2022-05-26 21:21
[removed]
Hi_ItsPaul · 2022-05-26 21:29
Low-key, Manjaro can be a bit finnicky, especially given their history. I would recommend looking at EndeavorOS if you end up running into other issues.
Hi_ItsPaul · 2022-05-26 21:31
Org-mode is great if you're not looking at the data directly. Jupiter on steroids is a good description.
tapesales · 2022-05-27 00:04
I’m pretty much telling him to move house if the drain is clogged
Agreeable-Solid7212 · 2022-05-27 01:38
Nice username
rileyphone · 2022-05-27 03:28
Obviously spreadsheets aren't well served by the free software movement, which is odd given that they're probably the most popular kind of end-user programmable software (a category of which Emacs is the shining epitome).
LowCom · 2022-05-27 03:48
How do you autofill dates in org tables?
aard_fi · 2022-05-27 05:32
I think I never needed that - I do a lot with times, but pretty much never need dates. I assume it can be made to work with org-table-copy-down, on a table with tagged dates. I usually use [calc](https://orgmode.org/manual/Formula-syntax-for-Calc.html#Formula-syntax-for-Calc) in my tables a lot, which can do math on untagged times - but seems the same would need to be implemented first for dates.
sewageseller · 2022-05-27 06:08
I use spreadsheets either for small data sets or for data entry. For the former I find org-table and #+TBLFM sufficient; while for the latter I’m using org-tables _because_ of keyboard macros, but I’m not fully satisfied with its sluggishness when having 100+ rows (and I often end up with 1-2k rows… which is very slow). If I could use kmacro somewhere else that was fast I’d do that!
bevsxyz · 2022-05-27 08:29
If you're fine with working on delimited text files in a non-interactive manner [qsv](https://github.com/jqnatividad/qsv) is a good option. Especially with large files. It's a fork of similar xsv. I've used it for querying my files before doing any analysis with r dplyr.
emgee_1 · 2022-05-27 13:31
I use R for anything with tables; it outperforms excel ; if you have to deal with excel from others... that is something else 👊🏻👊🏻
LowCom · 2022-05-27 14:18
I keep hearing this but I don't understand. How can R or any programming language replace excel? Does it have gridlines where you can enter data? Autofill it, use absolute and relative references, apply formulas and functions? what is the visual interface to it? How is it different from pandas?
nnreddit-user · 2022-05-27 15:25
Our non-answers are just our way of saying we equate the spreadsheet with a store-bought pie crust, which isn't saying they don't have a place in the world.
Psionikus · 2022-05-27 15:39
A spreadsheet is a bunch of programming statements with a data entry UI, cascading, and a UI for making more statements
LowCom · 2022-05-27 16:05
Don't understand what that means
ave_63 · 2022-05-27 19:55
I do remember that you can write any python expression, and that it stored the results of the python expression in the column, but not the expression itself. In MS excel, libre office calc, etc, in a cell, you write, for example "=b2 + c2" and it shows the result in the cell, but it also shows the formula in a "formula bar" so you can see what you're calculating and edit the formula.
simbledress · 2022-05-28 10:30
You can set `ses-mode`s cell alignment using a [printer function](https://www.gnu.org/software/emacs/manual/html_mono/ses.html#Printer-functions). If you want something more visidata-like and speak R, there's [ess-view-data](https://github.com/ShuguangSun/ess-view-data/) - which seems to lack a way to directly edit a cell, but I think a little elisp could help there.