Solved.
I need to take an abbreviation in one column, and output the equivalent full Latin name in another column. I have a table of equivalents, but don't know how to proceed. Please explain this in simple words, as I am very new to spreadsheets.
I'm hoping this can be done. One way to describe the problem would be, copy all the data from column A into column B, then run multiple "Find & Replace" operations on the data in column B based on the conversion table (see below). I'm sure there are many other ways to express and approach the problem. "Find & Replace" may not be the best approach, I just used it as a way to describe the problem. the only really important thing is the result.
In the image below, it is column B that needs to be automatically filled in according to the conversion table.
[Solved] Text translate/replace question
-
- Posts: 19
- Joined: Sat Jun 09, 2018 6:10 pm
[Solved] Text translate/replace question
- Attachments
Last edited by lesbentley on Sun Jun 10, 2018 1:20 pm, edited 3 times in total.
LibreOffice Version: 6.2.0.3 on Windows 10.
Re: Text translate/replace question
Use the VLOOKUP() function. Please read the HELP.Please explain this in simple words, as I am very new to spreadsheets.
https://help.libreoffice.org/Calc/Sprea ... ns#VLOOKUP
https://wiki.openoffice.org/wiki/Docume ... P_function
In the cell B4:
Code: Select all
=VLOOKUP(A4;$E$4:$F$50;2;0)
Tibor Kovacs, Hungary; LO7.5.8 /Win7-10 x64Prof.
PortableApps/winPenPack: LO3.3.0-7.6.2;AOO4.1.14
Please, edit the initial post in the topic: add the word [Solved] at the beginning of the subject line - if your problem has been solved.
PortableApps/winPenPack: LO3.3.0-7.6.2;AOO4.1.14
Please, edit the initial post in the topic: add the word [Solved] at the beginning of the subject line - if your problem has been solved.
-
- Posts: 19
- Joined: Sat Jun 09, 2018 6:10 pm
Re: Text translate/replace question
Thanks Zizi64, that formula seems to have done the job.
But I now realize that it only solves part of the problem. Column A will hold a varying number of cells with data in them, there could be anywhere between one and several thousand entries in column A. Cells with data in them will always be contiguous, there will be no gaps until the end of the data.
Is there a way that I can apply the "VLOOKUP()" function to all cells in column B that are opposite cells in colmn A that contain data, but not past the end of the data?
But I now realize that it only solves part of the problem. Column A will hold a varying number of cells with data in them, there could be anywhere between one and several thousand entries in column A. Cells with data in them will always be contiguous, there will be no gaps until the end of the data.
Is there a way that I can apply the "VLOOKUP()" function to all cells in column B that are opposite cells in colmn A that contain data, but not past the end of the data?
LibreOffice Version: 6.2.0.3 on Windows 10.
Re: Text translate/replace question
Code: Select all
=IF(ISBLANK(A4);"";VLOOKUP(A4;$E$4:$F$50;2;0))
Tibor Kovacs, Hungary; LO7.5.8 /Win7-10 x64Prof.
PortableApps/winPenPack: LO3.3.0-7.6.2;AOO4.1.14
Please, edit the initial post in the topic: add the word [Solved] at the beginning of the subject line - if your problem has been solved.
PortableApps/winPenPack: LO3.3.0-7.6.2;AOO4.1.14
Please, edit the initial post in the topic: add the word [Solved] at the beginning of the subject line - if your problem has been solved.
- MrProgrammer
- Moderator
- Posts: 4908
- Joined: Fri Jun 04, 2010 7:57 pm
- Location: Wisconsin, USA
Re: [Solved] Text translate/replace question
Hi, and welcome to the forum.
[Tutorial] How do I specify the formula for a column? says "double click its fill handle to replicate the formula to match the data." But you really should read the entire tutorial to learn more about the process.lesbentley wrote:Is there a way that I can apply the "VLOOKUP()" function to all cells in column B that are opposite cells in colmn A that contain data, but not past the end of the data?
Mr. Programmer
AOO 4.1.7 Build 9800, MacOS 13.6.3, iMac Intel. The locale for any menus or Calc formulas in my posts is English (USA).
AOO 4.1.7 Build 9800, MacOS 13.6.3, iMac Intel. The locale for any menus or Calc formulas in my posts is English (USA).