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

(34,093 posts)
Tue Dec 9, 2025, 03:09 PM Dec 2025

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 2025 OP
Unix junkie here. usonian Dec 2025 #1
Export each monthly sheet as a CSV? Ptah Dec 2025 #2
"Separate Sheet for each month" usonian Dec 2025 #4
You can create a Lookup Table JoseBalow Dec 2025 #3
Thanks, JoseBalow. Ptah Dec 2025 #5
excel uses macros in visual basic rampartd Dec 2025 #6
I don't want to purchase (rent) Excel. Ptah Dec 2025 #7
understand fully rampartd Dec 2025 #8
What macro would you use in excel to create a sheet or chart? Ptah Dec 2025 #9
it wouldn't be much rampartd Dec 2025 #10

usonian

(24,839 posts)
1. Unix junkie here.
Tue Dec 9, 2025, 03:38 PM
Dec 2025

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

(34,093 posts)
2. Export each monthly sheet as a CSV?
Tue Dec 9, 2025, 03:44 PM
Dec 2025

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

(24,839 posts)
4. "Separate Sheet for each month"
Tue Dec 9, 2025, 03:59 PM
Dec 2025

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

(4,525 posts)
8. understand fully
Tue Dec 9, 2025, 05:27 PM
Dec 2025

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

Ptah

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

rampartd

(4,525 posts)
10. it wouldn't be much
Tue Dec 9, 2025, 06:05 PM
Dec 2025


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...