Questions tagged [openoffice-calc]

related to OpenOffice.org Calc, a spreadsheet application which is similar to Microsoft Excel.

openoffice-calc
Filter by
Sorted by
Tagged with
0 votes
1 answer
130 views

How can a formula be used in scalc (Apache OpenOffice) to count cells with content, while the count should stop at the first empty cell?

Here (https://www.howtoexcel.org/formulas/how-to-find-the-position-of-the-first-non-blank-cell-in-a-range/) is a source for Excel where the following formula is described: {=MATCH(FALSE,ISBLANK(B3:B9),...
user avatar
0 votes
1 answer
1k views

Field and text delimiters within cells in csv files

This is likely a very basic question that I could not, despite trying, find a satsifying answer to. Feel free to skip to the question at the end if you aren't interested in the background. The task: I ...
LlamaSage's user avatar
1 vote
0 answers
1k views

Running VBA Macro in Open Office Calc

When I try to run the below macro I get an error 91, index out of bounds exception. I should note that this macro runs perfect in Excel, but I have to use openoffice calc for this file https://www....
Steve Burt's user avatar
0 votes
1 answer
727 views

Split data in a cell to new columns Openoffice Calc

I am using OpenOffice Calc. I'm taking a data value from another sheet that is formatted like : value1,value2 In a cell. I need to split that into 2 cells value1 value2 I can do it ...
Vidar's user avatar
  • 41
0 votes
1 answer
223 views

Date formats are different in Excel and OpenOffice

I have a XLS file created from Open-office. When I open the file in Openoffice, it parse the date format as "dd/mm/yyyy" If I open the file in MS office, it parse the date format as "dd-mm-yyyy" ...
Muthu Ganapathy Nathan's user avatar
0 votes
1 answer
156 views

How to automatically select OpenOffice Calc cells based on a formula?

I can select cells with a mouse to copy them to clipboard. Is there a way to have them selected based on a formula?
Michael Kelso's user avatar
0 votes
1 answer
350 views

Working with key-value list in OpenOffice Calc

I am working with OpenOffice Calc and i want to use some kind of key-value-list given in a spreedsheet; in one cell i want to choose a key from this list, automatically the corresponding value should ...
Alex's user avatar
  • 163
0 votes
0 answers
636 views

How to select all in Open Office writer

I'm going through the process of converting a PDF into a spreadsheet. After some effort, I found that I could get it into an acceptable format for in Writer, then copy it into Calc. But I can't select ...
Shane's user avatar
  • 101
0 votes
1 answer
17 views

Is it possibile to include Sub inside the user-Type in openoffice? VBA

User-Type is the kind of structure. I'm wondering if i can have sub delaration inside it. Something like: Type myType myParam1 As String myParam2 As Long ... Sub mySub(param) 'here I want ...
Ina's user avatar
  • 3
-1 votes
1 answer
45 views

Is a font record index in BIFF8 zero-based?

I am programmatically reading and writing an Excel worksheet, using the source code from https://www.codeproject.com/articles/13852/basicexcel-a-class-to-read-and-write-to-microsoft, which in turn is ...
Mike Finch's user avatar
1 vote
0 answers
252 views

grouping a column of categorical variable into a set of unique values

Following this question, I want to know how I can specify a column/row of a specific sheet including a categorical variable, in Open/LibreOffice BASIC script/macro and get the unique list (i.e., set) ...
Foad S. Farimani's user avatar
1 vote
0 answers
363 views

two-way ANCOVA: Analysis of Covariance in LibreOffice Calc

Following this feature request, I want to know if/how I can have a macro to provide a simple GUI to do two-way ANCOVA (Analysis of Covariance) in Open/LibreOffice Calc. There is already an ANOVA tool ...
Foad S. Farimani's user avatar
-2 votes
1 answer
449 views

How to execute open office cal (macro) in asp.net core application

I am developing asp.net core application that downloads some excel files and executing macro on it. Macro is performing some data validation and data formatting and generating new excel file. I need ...
Sunil Darji's user avatar
0 votes
3 answers
120 views

"Flatten" cells and show value if it exists

I am in search of a formula that can show a content of a cell(if it has one)in a specific range. Here is an image of what am trying to do: Thanks in advance.
Pandanutiy's user avatar
2 votes
0 answers
239 views

Delphi, inserting image in OpenOffice calc file

I need to insert images in "Calc" file using Open Office. The code from the answer to this question with minor changes works fine with Open Text documents so I decided to enhance it for Calc files but ...
Molochnik's user avatar
  • 730
0 votes
1 answer
95 views

Control Android Emulator and an App from Open Office Calc

I am trying to implement an Open Office Calc Macro which, has to read some strings from a column cell and start an android app to search for the string, then extract the data. To do so, I am using the ...
user2536125's user avatar
2 votes
1 answer
939 views

How to mark the min and the max values in an Open Office Calc column?

I have a table like this: | A | B | |---|---| | a | 5 | <- max, should be red | b | 1 | <- min, should be green | c | 0 | <- zero, should not count | d | 1 | <- min, should be green | e | ...
automatix's user avatar
  • 14.6k
2 votes
0 answers
50 views

OpenOffice Calc: How to convert cell A's multi-string value to a single-string value in cell B

stackoverflow I've got this CSV file containing product information which I need to edit: 1) Each row corresponds to one specific product 2) Column A lists categories which this product belongs to, ...
mk01's user avatar
  • 21
-2 votes
1 answer
223 views

Connect R and Excel

I want to connect Excel and R. I have done a visualisation in R and the data was taken from excel. Now what i want to do is, the input and output should be on excel itself. So for the input, the ...
S.snehu's user avatar
0 votes
1 answer
2k views

Multiple IF AND statements in one line with OpenOffice Calc

I'm using multiple IF AND statements in one cell and finding operator missing error 509. It worked with fewer variables just not sure the syntax is correct for calc here. tried using nested statement ...
Jeremiah Oca's user avatar
0 votes
1 answer
18 views

How to find a cell based on row and col criteria?

I have a table like this: | a | b | c | x | 1 | 8 | 6 | y | 5 | 4 | 2 | z | 7 | 3 | 5 | What I want to do is finding a value based on the row and col titles, so for example if I have c&y, then ...
inf3rno's user avatar
  • 25.4k
1 vote
2 answers
937 views

LibreOffice Calc / OpenOffice Calc / Excel: How to display a negative time duration?

I use a LibreOffice/OpenOffice spreadsheet to track my sleep. Column A contains the time I fell asleep, and column B contains the time I woke up. Column C contains an "adjustment"; if I woke up ...
End Anti-Semitic Hate's user avatar
2 votes
1 answer
4k views

How to subtract a time constant in a LibreOffice/OpenOffice/Excel formula?

In a LibreOffice/OpenOffice spreadsheet, cell A1 contains a time, as does cell B1. Cell C1 contains the formula =B1-A1, which returns the difference between the times (which gives me the duration of ...
End Anti-Semitic Hate's user avatar
0 votes
1 answer
945 views

How to set cell language for good number formatting in openpyxl?

I try to set polish currency format in xslx file using openpyxl. I have: xfile = openpyxl.load_workbook('myFile.xlsx') sheet = xfile.get_sheet_by_name('Sheet1') locale.setlocale(locale.LC_ALL, '...
Quiet's user avatar
  • 115
-1 votes
1 answer
219 views

Cell reference to named area, with offset

This is a question about OpenOffice spreadsheet, not Excel. I have a named range which is a row of cells. (Say, the name in B4, the range C4:K4). I want to put a row of formulas underneath, where ...
AntC's user avatar
  • 2,758
-2 votes
3 answers
2k views

Spreadsheet - Conditional formatting cells based on other cells

Conditional formatting a cell is simple enough. It's also simple enough to conditionally format a single cell based on another single cell. What I'm not sure about is doing it for many cells in such a ...
hiigaran's user avatar
  • 265
-1 votes
1 answer
328 views

Excel VBA code doesn't work in Open Office (Code copy files from list)

I had some excel VBA code, and it doesn't work in Open Office Calc. Code in excel copy files from list from different catalog to another. I don't know macro programming in open office. I read about ...
niedokoczony_logi's user avatar
0 votes
1 answer
316 views

How to create link to cell of one worksheet from another worksheet of same file in open office calc?

I have two calc worksheets in open office, Sheet1 and Sheet2. Sheet1 having columns, EmployeeID EmployeeDesignation Sheet2 having columns, EmployeeID Link Once user click on Link cell of Sheet2 for ...
M M's user avatar
  • 99
0 votes
1 answer
111 views

Merging cells in openoffice deleting specific whitespace

Ok, so what I have is going to be 3 cells of data that I need to merge into a link to pictures in my store. What I am looking for is an easy way to do this without double clicking and cntl v pasting ...
Jerry Baker's user avatar
0 votes
1 answer
410 views

Concatenate, Merge or Combine 3 rows content into 1 row with OpenOffice

I have a xls document in OpenOffice with multiple rows, I want to concatenate strings from 3 lines and put into one I know to concatenate columns is a little bit easyest, but how about rows I want ...
Alex's user avatar
  • 9,348
0 votes
2 answers
2k views

Size difference between python generated csv and converted xlsx file

I wrote a python program to rename file names (around 500k files) in a specific format. To track the status, I have created an array of array status [[]] to which I am appending filename, file path, ...
Saikiran Gosikonda's user avatar
4 votes
2 answers
6k views

String templating in Excel (or Calc)?

Is there some kind of string templating system in Excel or OpenOffice/LibreOffice Calc? Basically I have a text template that references some other cells and want to produce the final merged result, e....
Budiman Snowman's user avatar
0 votes
1 answer
316 views

Conditional sum of range with blank cells in Calc

I have the following data in a spreadsheet: ---------------------- |Event |Value1|Value2| |AAA |1 |1 | |BBB |1 |3 | |BBB | |2 | |AAA |3 | | ------------------...
hiigaran's user avatar
  • 265
1 vote
2 answers
504 views

Openoffice Calc (or Excel) count matches in other cell in column

I've searched to no avail, and my spreadsheet skills are simply not sufficient to tackle this. Say I have 5 rows of numbers in 90 columns. For each column I want to find the maximum number. That is ...
insaner's user avatar
  • 1,655
0 votes
2 answers
120 views

Total occurrences of a single digit from a string of digits across a range of cells in a column

We need to count how many occurrences of each number are in a cell over a range of cells in the same column and output a tally of the totals for each number. See the attached picture and the desired ...
SNAP87's user avatar
  • 23
0 votes
1 answer
18 views

Trying to have the same RANGE show up in multiple sheets

I am trying to build a system for sorting all my money transactions. Say one sheet, RAW_DATA has all the .CSV data. I have the data defined as "RAW_TRANSACTIONS" ... It starts at cell A2. All the ...
Avaiz Hashmi's user avatar
0 votes
1 answer
41 views

Check multiple cells and display the one that is true

I have four cells, L26, L27, L28, and my result in L29. Depending on data in the sheet L26 will display 0 or 500, L27 0 or 1000, and L28 0 or 2000. In cell L29 I need it to display the highest ...
William Baumann's user avatar
0 votes
1 answer
2k views

Highlighting duplicate values in a column in OpenOffice Calc

I'm using a Linux machine and I've been trying to find an equivalent to excel's "highlight Cell Rules > Duplicate Values" formula that I can use to color cells that have duplicates on the column ...
Amet Jadir DeCrypt's user avatar
3 votes
1 answer
849 views

Error while loading .ods sheet into Octave

I am trying to read a column of integers in a spreadsheet into Octave using the code A = odsread('Data.ods', 'Sheet1', 'A1:A946'); But it fails and I get a message with warnings and errors as : &...
Syed Saad's user avatar
  • 705
0 votes
3 answers
100 views

How to create two columns that match all values from a third in excel or OpenOffice?

I have one column with 10 cells, every cell have a different value in it. How can I create two columns that have every cell matching with the other 9. Example : 1 2 3 4 5 6 7 8 9 10 Become 1 2 1 3 ...
Thanasis Valto Kourpetis's user avatar
0 votes
1 answer
257 views

Array as cell formula parameter

I need to calculate polynomial coefficients in LibreOffice Calc to fit data points. X and Y values are in cells A2:... and B2:..., data size in in the cell D1, polynomial degree is in the cell D2. ...
Michael's user avatar
  • 5,215
0 votes
1 answer
213 views

Read Open Source Version of Excel Files in Java

I know that for Java, there is Apache POI. Is there anything for OpenOffice Calc (or other open source program like Excel) that lets me obtain the data in Java?
andres viena's user avatar
1 vote
1 answer
690 views

Openoffice.org Calc - Assigning value to variable

I am trying to assign a value to a variable. For example, I want "apple" to equal "$0.05". So if I type in this formula (=apple*5) into a cell, it should return "$0.25". I've been on YouTube and ran ...
MrGlass's user avatar
  • 83
0 votes
1 answer
183 views

OpenOffice Calc Merged Cell properties

I've been searching the web for hours and I can't find an answer for this. I can identify that a given cell is merged but I need to know how many rows are included in the merged cell. Function ...
Matthew Nelson's user avatar
0 votes
2 answers
155 views

Summing up CSV power plant data by technology and plant name

I've got a question regarding the Form 860 data about US power plants. It is organized block-wise and not plant-wise. To become useful, the capacity numbers must be summed up. How may I get the ...
Luis Paganini's user avatar
0 votes
0 answers
137 views

how to copy columns from one spreadsheet and paste into another in open office

I have some repetitive and tedious work to do. I am using open office. These are the common steps that i have to do daily:- 1)Copy one column from one .csv file and paste into open office spreadsheet ...
kprogrammer's user avatar
1 vote
1 answer
90 views

Java Validation List Openoffice

I'm trying to create a spreadsheet and I want to apply the ValidationType "List" to a specific cell. So far I did that: public static void setValidationProperty(XCell cell) { XPropertySet ...
Manuel's user avatar
  • 13
1 vote
2 answers
2k views

Regex to match the last character if it is a dot

In OpenOffice Calc how do I remove the last character if it is a dot? Example: dog cat. rabbit It becomes: dog cat rabbit What regex would you use to obtain that?
GingerGirl's user avatar
3 votes
1 answer
2k views

OpenOffice Calc: Counting unique strings in cell range

I'm trying to find a way to calculate the number of unique strings in a single column, excluding blank cells. So far I've seen solutions such as the following: =SUM(1/COUNTIF(X2:X99;X2:X99)) Plus ...
hiigaran's user avatar
  • 265
0 votes
2 answers
151 views

read data from multiple spreadsheets into database

I've got a whole directory of openoffice calc files, which are basically filled out versions of the exact same Template. Now I would like to get the Data of a few cells of each file and put them into ...
J. Doe's user avatar
  • 54

1
2
3 4 5
12