openoffice-calc

Excel / LibreOffice Calc Partial Match in Reverse

僤鯓⒐⒋嵵緔 提交于 2019-12-08 05:16:16
问题 I would like to use a lookup table to choose a tag for each row according to its description column. Descriptions contain keywords that map to tags. Therefore, I need to partially match against the keyword list as below: A B C D E 1 Description Tag Keyword Tag 2 lorem KEYA ipsum KEYA Tag A 3 dolor sit KEYC amet KEYB Tag B 4 KEYB consectetur KEYC Tag C 5 adipiscing elit KEYA KEYD Tag D 6 sed do KEYB eiusmod I would like to fill cells in column B with values from the lookup table in D2:E5. I

How to identify duplicate values in two columns in Openoffice Calc

喜你入骨 提交于 2019-12-07 10:13:37
问题 I have two columns that have numbers in them. The other has the numbers only once, when the other has duplicates. The numbers in these columns don't match. I need to find all the numbers in column B that have a match in column A. This probably explains it better: A B 1 2 2 2 4 5 6 5 7 6 8 6 I want to get a result like: A B C 1 2 1 2 2 1 4 5 0 6 5 0 7 6 1 8 6 1 or any other way for me to identify the cells in column B which don't have a match in column A I've spent hours googling and trying

OpenOffice pyuno “select all”

断了今生、忘了曾经 提交于 2019-12-07 05:15:19
问题 Does anyone know how to use the OO uno bridge api to "select all" in a Calc sheet? Alternatively, finding the maximum used row and column number would work. What I want to do is apply a format to all the cells in the spreadsheet. (The reason being that I'm saving the sheet as csv, so numbers are not accurately saved unless the format provides enough decimal places.) 回答1: Assuming you have already connected to OpenOffice and document is a spreadsheet that has been opened or created. #get the

Delete duplicate rows in calc?

旧街凉风 提交于 2019-12-06 03:34:33
问题 I have a column in openoffice calc with a set of codes. For example: B1 B1 Br Bh Ht C3 C3 So what I would like to do is delete all the duplicates so I am left with just: Br Bh Ht Any help much appreciated. Cheers 回答1: Select the entire range containing data to filter, then click on the menu Data > Filter > Standard Filter and: Use a condition that is always TRUE, like field1 = Not empty Click on the button more, select Remove Duplicate, select Copy to and put the address of an empty cell The

Exporting a list to OpenOffice Calc from Delphi

只谈情不闲聊 提交于 2019-12-06 01:46:01
I'm using Delphi 7 and I'd like to export the contents of a list from my program to OpenOffice Calc using automation, instead of using files. The task is simple: create new document, iterate through rows/columns and change cell data. I've found some code but it's not complete, and I was hoping someone has some example code ready to accomplish this very simple task. It could save me a few hours of trying. Thanks in advance! Edit: I'd like to automate OpenOffice Calc to achieve what I wrote above. Thanks! The easiest solution is to write CSV file output, and open that in OpenOffice. There are

How to identify duplicate values in two columns in Openoffice Calc

淺唱寂寞╮ 提交于 2019-12-05 12:36:50
I have two columns that have numbers in them. The other has the numbers only once, when the other has duplicates. The numbers in these columns don't match. I need to find all the numbers in column B that have a match in column A. This probably explains it better: A B 1 2 2 2 4 5 6 5 7 6 8 6 I want to get a result like: A B C 1 2 1 2 2 1 4 5 0 6 5 0 7 6 1 8 6 1 or any other way for me to identify the cells in column B which don't have a match in column A I've spent hours googling and trying different solutions but no go, so a nudge to the right direction would be appreciated Thank you -M Robert

OpenOffice pyuno “select all”

旧时模样 提交于 2019-12-05 09:13:19
Does anyone know how to use the OO uno bridge api to "select all" in a Calc sheet? Alternatively, finding the maximum used row and column number would work. What I want to do is apply a format to all the cells in the spreadsheet. (The reason being that I'm saving the sheet as csv, so numbers are not accurately saved unless the format provides enough decimal places.) Assuming you have already connected to OpenOffice and document is a spreadsheet that has been opened or created. #get the sheet you want to work with, I'm just going to grab the first sheet sheets = document.getSheets()

Change #N/A to Blank cell

随声附和 提交于 2019-12-05 06:37:09
How can I change the #N/A to the blank cell if nothing in that cell? Eg. =VLOOKUP(B19:B36;$TABLE.A1:C46;2;0) I think I might need something like an ISERROR check but I don't 100% know what I'm doing. Taosique If we're talking about Excel 2010 and later you can use IFERROR : =IFERROR(VLOOKUP(B19:B36;$TABLE.A1:C46;2;0);"") You can also put text into the final string result The question was misleading about the spreadsheet software as 2 different spreadsheets were originally stated in tags. However, it can be seen that the question is about OpenOffice Calc: - Absolute sheet referencing ( $ sign

Cell content inside formula

走远了吗. 提交于 2019-12-05 02:57:25
Is it possible to place the content of a cell inside a formula. By formula I mean the math formula editor (insert->object->formula). To the best of my knowledge, there is no way to reference a cell from a formula. Math formula editor has no knowledge about OO Calc. However, you can create a new formula whenever needed using macros. Follow thesse steps to make it work: Put the math formula you want to insert to a cell. For example, put some numbers to cells A1, A2, A3 and put the following to cell C3: =CONCATENATE("{";A1;"}";"over {";A2;" `+` ";A3;"}";" `=` ";A4). This will generate something

Delete duplicate rows in calc?

空扰寡人 提交于 2019-12-04 07:43:32
I have a column in openoffice calc with a set of codes. For example: B1 B1 Br Bh Ht C3 C3 So what I would like to do is delete all the duplicates so I am left with just: Br Bh Ht Any help much appreciated. Cheers Select the entire range containing data to filter, then click on the menu Data > Filter > Standard Filter and: Use a condition that is always TRUE, like field1 = Not empty Click on the button more, select Remove Duplicate, select Copy to and put the address of an empty cell The whole range (without duplicate) will be analyzed and copied at that new address. source Or For both Calc and