Welcome to DU! The truly grassroots left-of-center political community where regular people, not algorithms, drive the discussions and set the standards. Join the community: Create a free account Support DU (and get rid of ads!): Become a Star Member Latest Breaking News Editorials & Other Articles General Discussion The DU Lounge All Forums Issue Forums Culture Forums Alliance Forums Region Forums Support Forums Help & Search

Ptah

(33,990 posts)
Tue Dec 9, 2025, 02:09 PM Dec 9

I have a spreadsheet question.

I have been tracking my expenses for several years using Open Office Calc.
I believe it is similar to Excel.
I have a separate sheet for each month.
I would like to create a chart or sheet that shows the expenses for a particular line item.
For example, what are the costs over the years for the account TEP?

Thanks in advance for any suggestions.

10 replies = new reply since forum marked as read
Highlight: NoneDon't highlight anything 5 newestHighlight 5 most recent replies
I have a spreadsheet question. (Original Post) Ptah Dec 9 OP
Unix junkie here. usonian Dec 9 #1
Export each monthly sheet as a CSV? Ptah Dec 9 #2
"Separate Sheet for each month" usonian Dec 9 #4
You can create a Lookup Table JoseBalow Dec 9 #3
Thanks, JoseBalow. Ptah Dec 9 #5
excel uses macros in visual basic rampartd Dec 9 #6
I don't want to purchase (rent) Excel. Ptah Dec 9 #7
understand fully rampartd Dec 9 #8
What macro would you use in excel to create a sheet or chart? Ptah Dec 9 #9
it wouldn't be much rampartd Dec 9 #10

usonian

(23,289 posts)
1. Unix junkie here.
Tue Dec 9, 2025, 02:38 PM
Dec 9

I'd export each one as CSV (I use CSV for all my bank statements, from their sites)

Then I'd grep on TEP and merge the files, and then do whatever. (open in Calc. It's an excel clone)

grep TEP * >> TEP.csv

Use the parent directory in case TSV.csv decides to grow endlessly.

Simple enough for grep and cat.


=============
If not, perl will do lots and lots.

Luv my command line.

I used to use a relational database known as /rdb, written entirely in perl that used flat data files.

https://github.com/ironsmith58/RDB

Ptah

(33,990 posts)
2. Export each monthly sheet as a CSV?
Tue Dec 9, 2025, 02:44 PM
Dec 9

That would leave me with more that 30 files.
I thought there might be a way to do this within Calc.
Can I define a range and search that range?

usonian

(23,289 posts)
4. "Separate Sheet for each month"
Tue Dec 9, 2025, 02:59 PM
Dec 9

If they are all in the same file, as opposed to each in its own file (I can't tell) then something internal is possible, but that's beyond me.

1. If they are all in the same file as "separate sheets" then export it one CSV and see.

2. Otherwise, some internal operation might work.

I am better at the former than the latter. Most people are the opposite.

Good luck.

rampartd

(3,577 posts)
8. understand fully
Tue Dec 9, 2025, 04:27 PM
Dec 9

i got used to it when i was working, but these new versions in win 11, well. i'm glad i retired.

Ptah

(33,990 posts)
9. What macro would you use in excel to create a sheet or chart?
Tue Dec 9, 2025, 04:35 PM
Dec 9
excel uses macros in visual basic

rampartd

(3,577 posts)
10. it wouldn't be much
Tue Dec 9, 2025, 05:05 PM
Dec 9


actually, i just came back from the new xcel version. they no longer do it that way. but there s a screen to "automate" and it looks like they will walk you through a "script." i'm going to do a little of that late tonight or tomorrow night.
Latest Discussions»Help & Search»Computer Help and Support»I have a spreadsheet ques...