OpenOffice.org's spreadsheet application. Tag questions about macro programming or formulas with macros or worksheet-function respectively

learn more… | top users | synonyms

1
vote
1answer
14 views

Changing the units on the x-axis in a LibreOffice Calc chart

I've used the LibreOffice chart wizard to make a chart, and I would like the x-values to be different to the default of 1,2,3... (in this case, 500,1000,...). How can I do this?
1
vote
1answer
20 views

LibreOffice calc: How to apply multiple tables to a single chart

I'll say it right off the bat - I am a complete Excel/Calc amateur. What I want to do is apply 3 tables, each with 2 columns of data into a chart with 1 XY-line for each. My current data looks ...
0
votes
0answers
12 views

Forcing CSV import columns to be numeric in OpenOffice Calc

I have a large CSV file with many rows that look like this: "tips"," 397"," 4"," 99.002"," 97.574"," 48" I want to import this CSV into OO Calc, but I want the final 5 columns to be ...
0
votes
0answers
5 views

OpenOffice Calc convert with command line

I am trying to convert xls to dbf with OpenOffice Calc via command line (Windows), but I'm getting an error with this line (path is set): scalc --invisible -convert-to dbf c:\MATIKGL.xls Error : ...
1
vote
2answers
26 views

Interpolate values between two cells

I've got a spreadsheet that looks like this in Libre Office Calc: +-----------+ | | A | | 1 | 444 | | 2 | | | 3 | | | 4 | | | 5 | | | ...
1
vote
2answers
23 views

What's the best way to cut out all text before or after a matching string with excel or open office?

I have a column of naughty data, that needs to be standardized. Its a single column, so I'll just include a snippet of it it here: pop_density_2010 7002854600000000000854.6/sq mi (329.97/km2) ...
0
votes
1answer
18 views

Is there a way to use multi-character delimiters in Open Office Calc CSV file format?

Is there a way to save a CSV file with multi-character delimiters? When I enter more than one character, it just uses the first character.
-1
votes
1answer
28 views

How to add the current page number in a cell of a calc sheet

I would like to add the current page number in a cell of that page and to refer back this cell for this page number in a cell somewhere in the same sheet / in another sheet. Is there a way to do so?
-1
votes
1answer
54 views

Change background fill of cells in LibreOffice worksheet containing specific text

How can I change the background fill of all the cells of a LibreOffice spreadsheet worksheet that contain a specified text? In Excel that could be done by configuring the settings in the find and ...
1
vote
1answer
46 views

Applying Conditional Formatting to all computed values in LibreOffice Calc

In LibreOffice Calc, how can I use the Conditional Formatting feature to apply a style to all cells which contain a computed value (via formula, as opposed to a directly input value)? LibreOffice ...
1
vote
0answers
26 views

Default font and cell padding when opening files in LibreOffice/OpenOffice Calc

I've seen solutions for setting a default font when creating new files. What about a default font (and cellpadding) when opening an existing CSV file? LibreOffice seems to always default to Liberation ...
0
votes
0answers
29 views

Disable prompt when opening a CSV file in LibreOffice/OpenOffice Calc

Every time I open a CSV file, LibreOffice presents me with a prompt asking to confirm Character Set, Language, and Separator options (tab, comma, semicolon etc). This prompt is not present in ...
1
vote
1answer
50 views

LibreOffice pivot: How to count 1 per line?

I have a list of fruit occurrences like this: banana banana apple orange apple And I want LibreOffice to give me a number of occurrences per fruit, for instance: banana | 2 apple | 2 orange | 1 ...
0
votes
0answers
35 views

OpenOffice Calc with csv file produces Err:520

I'm loading a csv file into OpenOffice Calc (version 4.0.1) and in only 1 column I get 'Err:520' as the cell value. I checked under Tools->Options->OpenOffice Calc->View->Display to check whether ...
0
votes
1answer
50 views

Libre Calc error on a float in decimal notation. Err. 519 (#value error)

There is a problem with my libreoffice. I doesn't calculate cells with decimal points, possibly seeing them as text. I have checked my locale settings (you can see them in the picture above) that ...
0
votes
1answer
71 views

How do I sum across a list of columns defined in an extra column or cell in excel

Suppose columns A, B and C contain numbers. I want to sum everything in any of these columns if they are listed in an extra column or cell. The columns to be summed can be anywhere in the spreadsheet. ...
2
votes
0answers
74 views

Is it possible to remove the hyperlink background in OO Calc?

Hyperlinks in OpenOffice Calc are displayed with a solid background which covers the background color of the cell. I don't want a solid background; I want the background color of the cell to show ...
0
votes
0answers
30 views

how can I merge in master record details to each row in excel or openoffice?

Say I have sheet 1 with: company1 90230 CA company2 80014 CO company3 15090 PA And sheet 2 with: company1 Bob Smith company1 Sue Smith company3 John Doe How can I produce sheet 3 with: company1 ...
0
votes
1answer
694 views

How to scale a long LibreOffice Calc sheet to fit on two pages when exporting to PDF?

I have Libreoffice and I want to export a long calc sheet to a pdf document with the fit-to-page function from the page preview in the file menu but it doesn't seems to work. I want to fit my sheet ...
0
votes
1answer
64 views

Are spreadsheet programs inherently unsuitable for “one row=one case” data?

Often when I'm working with large data sets, I structure the data in a way where every row equals one specific case. For example, in a psychological experiment, I input the data so that all data ...
0
votes
0answers
49 views

Macro to manage sport ranking and calendar?

I need to write a macro (or a different easy way) to manage ranking and calendar for curling tournament. The event will follow the Shenkel system first match determined by general draw after that ...
1
vote
1answer
169 views

Move rows with the keyboard in Calc

How might one move a row to a different location with the keyboard? I have found this guide for the mouse but due to disability I have trouble using the mouse for this. Note that I am not looking to ...
1
vote
1answer
123 views

Is there a way to set the default quotation mark in LibreOffice Calc from smart quotes (“ ”) to dumb quotes (the straight kind)?

I use LibreOffice Calc to make lists of programs with different parameters to run on an hpc cluster. For each batch of commands I must do a find and replace on the smart quotes, as they cause errors ...
0
votes
1answer
65 views

Conditonal sum in Excel

I would like to write the formula (in OpenOffice, but I imagine it won't be any different than Excel) to perform the following calculation: -> Go through the values in column B from B1 to B30 and add ...
0
votes
0answers
51 views

How to dynamically reference another sheet when copying formulae (OO Calc)?

I have a cell that contain sheet's name (N1). I write a formula that uses cells in the sheet pointed to by N1. Is it possible to copy this formula so that the cell references it contains (to the ...
1
vote
0answers
58 views

Conditional Formatting a date/time comparison

The function I'm working on specifically compares & colors a daily recurring time range set in 2 different cells. A specific date in the target cells (produced by a formula) compare to that daily ...
0
votes
0answers
43 views

OpenOffice - Save all documents as HTML using macro

I am newbie to Open Office Macro. I have a requirement of Save documents(PPT,PDF,XLS,DOC) as HTML format using macro code. Is it possible to save documents as HTML by macro recording in open ...
1
vote
0answers
167 views

OpenOffice Basic Change BackGround Color for Range Based on Text in Column 0

I'm trying to test each cell in column 0 "A" to see if it has specific text "Budget" "Living" "Savings" and if it does then change the row background color to a specific color for each. I am able to ...
0
votes
1answer
60 views

Open Office Calc truncates my data on paste, how do I fix this?

Just as the title says, I am using Open Office Calc as a flat file to upload data. One column is my description and therefore can be a bit lengthy. Unfortunately it truncates this text. Anyway to ...
1
vote
1answer
48 views

Is there another way to display a spreadsheet within OpenOffice Writer besides an OLE object?

I'm writing a paper for college in which I would like to either display or link to a large spreadsheet. I'm using OpenOffice Writer and Calc. I've tried importing the spreadsheet as an OLE object, ...
1
vote
1answer
121 views

Make a system call to calculate a spreadsheet cell value

Is it possible for me to make a system call in order to calculate a cell value in LibreOffice Calc? To clarify, can I set a cell's formula to something like this: =B3*C4-system("/my/amazing/script ...
3
votes
1answer
97 views

Openoffce Calc - Substitute space with line break by function

in my calc document for example cell A1 has the value A1:"AB 0123" and in cell B1 I need the same value with a line break instead of the space like B1:"AB\n0123". How can I archive this? I ...
1
vote
0answers
750 views

Openoffice Calc - use cell font color in formula

I have some openoffice calc sheets where some rows are maked with the font color red. All other rows are in the default font color. Can I use the font color of a cell within a formula to react to ...
0
votes
1answer
225 views

Openoffice Calc - Quickly count marked lines when filter is active

I need help counting lines. When I set a filter (AutoFilter) in Calc, rows that are filtered are hidden, but all rows keep their row number. How can I see quickly, how many lines are currently ...
0
votes
1answer
30 views

How do I generate a column of dates.

I want to generate a column of dates that are staggered by one month like this: 7/01/13 8/01/13 9/01/13 Right now what I've tried is dragging down the black dot in the lower right hand corner of ...
1
vote
2answers
243 views

How do I drag down complex calculations in open office.

For example if A1 contains 30 and in A2 I write =A1-6 then I'll get 27 in A2 and if I click the little black squair in the lower right hand corner of A2 and drag it down then I get a column that looks ...
0
votes
0answers
36 views

Writer template and Calc data source lose connection - can't reconnect

I am using NeoOffice Calc as a data source for a repair database. I have a Writer template set up as an address book, which works for a few weeks then I get a message that the Calc file which is the ...
1
vote
1answer
106 views

How does Open Office Calc make this conversion?

In a column, I have dates of the format 2013-05-27. When I selected "Default Formatting", the dates got changed to five digits, for example, 41422. Where does this number come from? It's not even ...
0
votes
0answers
91 views

enteries in column are automatically changed to upper case letters

I am very new with Open Office and spread sheets in general. In a column whenever I add a new entry it changes all the letters to upper case. Is there a way to disable this? If not, many entries ...
-1
votes
1answer
121 views

OpenOffice-Calc advanced filter

In OpenOffice-Calc, using the advanced filter, how can I compare one column to another? As an example, I need to filter for items that have less than a 30 days supply. Using the column name Test, my ...
1
vote
0answers
36 views

How to make just one text column be unquoted in final CSV?

I'm using OO calc and i have one column with phone numbers that have leading 0s, which are vital for the number to be valid. I can format the cell as text but i do not want the numbers to be quoted ...
0
votes
0answers
284 views

OPEN OFFICE CALC - How do I use conditional formatting give me a background based on the distance from a date AND value of a cell?

If I have "Alpha", "Bravo" or "Charlie" in column "A" and "Annual", "Semi-Annual" or a blank cell in column "B", How can I use conditional formatting to change the background color of a cell in the ...
0
votes
1answer
83 views

Why is Openoffice Calc automatically rounding the sum of two sums?

I have two columns which have been summed. When I sum the two cells with those results, openoffice rounds the sum every time. If I only enter two numbers and then sum them, it operates normally. ...
1
vote
1answer
248 views

Autocomplete only on demand in OpenOffice Calc

In Open-/Libreoffice Calc, it is possible to enable the auto-completion of cells. That means the cell is filled e.g. with a string that starts with the characters already typed. This may give unwanted ...
0
votes
1answer
256 views

How can I use extremely large numbers in my spreadsheet programs?

If I try to calculate large exponents in LibreOffice Calc or OpenOffice.org Calc, the results come out to be erroneous. See these two examples where I calculate 13^18, Using LibreOffice Calc Using ...
0
votes
1answer
105 views

Pasting data in openoffice Calc

I want to paste data in Openoffice Calc but it doesn't seem to work. The example with the first row (of 124 rows), this is the data in a .dat-file: 0.592 0.349 1.333 0.617 When I want ...
1
vote
1answer
213 views

OpenOffice Calc - How to substitute multiple characters?

I need to substitute non-English characters in French words to the closest English charachers. For example: "Combien ça coûte" Becomes "Combien ca coute" I also need to remove some punctuation. Is ...
6
votes
2answers
5k views

How to color rows based on cell value in Open/Libre Office

How do you automatically set the background color of an entire row based on the value of a specific column in that row in Open/Libre Office? There are similar questions for Excel, but this doesn't ...
0
votes
0answers
75 views

Change border color in OpenOffice - macro

When I have table in Open Office and I´ve got there some values (for example 23 and 26) and I need circumscribe all numbers beteen this values, how can I do it in macro? For your imagination, I post ...
0
votes
2answers
249 views

Open/LibreOffice Calc data “extend selection” stops at blank rows

I have a spreadsheet and have right clicked on a column header then selected Sort from menu. The dialog box provides an option to extend the selection, which I accept. The problem is that the ...