Ask Your Question

VLOOKUP migration from Ms.Excel to Calc

asked 2017-11-30 08:59:58 +0200

Roihan gravatar image

I have a Ms.Excel file that I used for months in Windows. Since now I am using Linux, I move from Excel to Calc. There is a VLOOKUP formula in that file that doesn't work on Calc.


It only returns #VALUE! I've read about VLOOKUP in Calc and what the #VALUE error code means, tried some solutions such as changing the cell format but it is still unable to work. What should I do to make that formula work as how it worked in Windows?


edit retag flag offensive close merge delete


What is "Excel_BuiltIn_Extract"? This formula doesn't work for me on MS Excel 2016.

Mike Kaganski gravatar imageMike Kaganski ( 2017-11-30 09:09:37 +0200 )edit

I'm not sure about that one, too. I received the file via email to work some administration task. I've browsed google to find the Excel_BuiltIn_Extract function and it's Calc's version but found nothing.

Roihan gravatar imageRoihan ( 2017-11-30 09:20:00 +0200 )edit

@Roihan: I suppose you know what you want to achieve based on the formula. Doesn't this knowledge enable you to find out by what expression or reference or whatever the first parameter must be filled semantically to reach the goal?
Though "Excel_BuiltIn_Extract" sounds somehow like a specific feature in Excel, it may also be a name chosen by someone else for a named Formula/Reference/VBAFunction that didn't properly translate to Calc internally. To recreate it you will need to know.

Lupp gravatar imageLupp ( 2017-11-30 10:09:21 +0200 )edit

Sheet 1 is transaction form. Sheet 2 contains the Customers Identity. Sheet 1 uses that formula to take the value (Name, Address, and Number) from Sheet 2. Is there a way to check that named Formula/Reference/VBAFunction?

Roihan gravatar imageRoihan ( 2017-11-30 10:38:01 +0200 )edit

I found the named expressions. And in range or formula expression of Excel_BuiltIn_Extract , it contains $Sheet1.$AE$2 Then AE2 links to another cell and so on until AF2. While AF2 is a combo box contains the name of the customers. Usually, I choose the customer's name using this combo box, then the cell Customer Name (The one contains the VLOOKUP formula) automatically filled by the name chosen on that combo box.

Roihan gravatar imageRoihan ( 2017-11-30 10:51:26 +0200 )edit

Hopefully you did find a final solution based on the new insight?
If the named range is just one cell linked to a combo box, the chosen name is actually very misleading.

Lupp gravatar imageLupp ( 2017-11-30 11:24:21 +0200 )edit

2 Answers

Sort by » oldest newest most voted

answered 2017-11-30 11:41:42 +0200

Lupp gravatar image

updated 2017-11-30 12:20:43 +0200

If I understood the third comment by the OQ answering other comments on the question correctly, my first comment on the question may be the kernel of an answer.
I am not very experienced with the migration from Excel to Calc, but in a few cases I did some analysis. My conclusion in short: Excel sheets are often mainly optimized to look impressive. Design and functionality are equally often obscure and basically doubtable.
Many users, on the other hand, tend to think a known solution in Excel must be "the real one". If not the was killed I could point you to a convincing example for what I mean.

I found a commented .ods I made as an attachment to the mentioned thread in the late libreofficeforum. I slightly completed the text there to get the version attached now here. I still think it is demonstrating something. ( @ may also know how to find the mentioned thread in the archive he created.)

edit flag offensive delete link more

answered 2017-12-04 12:58:02 +0200

Roihan gravatar image

I found it. There are another cell with #VALUE! in my sheet which also linked to the VLOOKUP I've mentioned above. These are what I've done : I edited =+SUM(TRIM(AF6)) to TRIM(AF6) Then, =+VLOOKUP(Excel_BuiltIn_Extract,$Sheet2.A4:C1000,2,TRUE()) to =+VLOOKUP(Excel_BuiltIn_Extract,$Sheet2.A4:C1000,2,FALSE()). I don't know will it cause error to another cell but so far it works well.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2017-11-30 08:59:58 +0200

Seen: 289 times

Last updated: Dec 04 '17