[Solved] N/A error on vlookup

Discuss the spreadsheet application
Post Reply
papdronning
Posts: 2
Joined: Tue Oct 08, 2019 11:33 am

[Solved] N/A error on vlookup

Post by papdronning »

I'm trying to do a pretty basic vlookup in the attached file, but keep getting a #N/A and I can't for the life of me figure out why. Can anyone help?
Attachments
Vlookup.ods
(29.38 KiB) Downloaded 135 times
Last edited by Hagar Delest on Sat Oct 19, 2019 1:53 pm, edited 2 times in total.
Reason: Tagged ✓ [Solved]
Open Office 4.1.7 / Windows 10
User avatar
robleyd
Moderator
Posts: 5528
Joined: Mon Aug 19, 2013 3:47 am
Location: Murbko, Australia

Re: N/A error on vlookup

Post by robleyd »

Your question is about VLOOKUP, but your formula uses HLOOKUP.
Slackware 15 (current) 64 bit
Apache OpenOffice.1.16
LibreOffice 26.8.0.3; SlackBuild for 26.8.0 by Eric Hameleers
-----------
I hate this damn computer, I wish that I could sell it.
It won't do what I want it to, Only what I tell it.
papdronning
Posts: 2
Joined: Tue Oct 08, 2019 11:33 am

Re: N/A error on vlookup

Post by papdronning »

I just checked ... it doesn't. It says VOPSLAG (which is the same as VLOOKUP in danish)

Are you telling me that it should be HLOOKUP?
Open Office 4.1.7 / Windows 10
User avatar
Zizi64
Volunteer
Posts: 11511
Joined: Wed May 26, 2010 7:55 am
Location: Budapest, Hungary

Re: N/A error on vlookup

Post by Zizi64 »

In the LibreOffice you can switch between the Localized and the English function names.

I just tested your attachment in my LO 6.1.6, and I can see the English function name HLOOKUP() in the cell E5.
Last edited by Zizi64 on Tue Oct 08, 2019 1:30 pm, edited 1 time in total.
Tibor Kovacs, Hungary; LO7.5.8/25.8.5.2 /Win7-10-11 x64Prof.
PortableApps: LO3.3.0-25.8.5.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.
User avatar
RoryOF
Moderator
Posts: 35265
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: N/A error on vlookup

Post by RoryOF »

Check again - it comes through to me as HLOOKUP; when I change the H to V, all seems OK.
Apache OpenOffice 4.1.16 on Xubuntu 26.04.1 LTS
User avatar
Zizi64
Volunteer
Posts: 11511
Joined: Wed May 26, 2010 7:55 am
Location: Budapest, Hungary

Re: N/A error on vlookup

Post by Zizi64 »

hlookup.png
Tibor Kovacs, Hungary; LO7.5.8/25.8.5.2 /Win7-10-11 x64Prof.
PortableApps: LO3.3.0-25.8.5.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.
User avatar
Villeroy
Volunteer
Posts: 31365
Joined: Mon Oct 08, 2007 1:35 am
Location: Germany

Re: N/A error on vlookup

Post by Villeroy »

https://www.excel-function-translation. ... anish.html
HLOOKUP VOPSLAG Looks in the top row of an array and returns the value of the indicated cell
VLOOKUP LOPSLAG Looks in the first column of an array and moves across the row to return the value of a cell
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
User avatar
MrProgrammer
Moderator
Posts: 5472
Joined: Fri Jun 04, 2010 7:57 pm
Location: Wisconsin, USA

Re: N/A error on vlookup

Post by MrProgrammer »

Hi, and welcome to the forum.
papdronning wrote:I'm trying to do a pretty basic vlookup in the attached file, but keep getting a #N/A and I can't for the life of me figure out why.
As explained above, you need to use VLOOKUP instead of HLOOKUP because you want to perform your search vertically down a column (VLOOKUP). HLOOKUP searches horizontally across a row.

You should also review [Tutorial] VLOOKUP questions and answers Q19/A19 or you may encounter further #N/A errors.

If this solved your problem please go to your first post use the Edit button and add [Solved] to the start of the title. You can select the green checkmark icon at the same time.
Mr. Programmer
AOO 4.1.7 Build 9800, MacOS 13.7.8, iMac Intel.   The locale for any menus or Calc formulas in my posts is English (USA).
User avatar
keme
Volunteer
Posts: 3799
Joined: Wed Nov 28, 2007 10:27 am
Location: Egersund, Norway

Re: N/A error on vlookup

Post by keme »

Reason:
H from Horizontal - in Danish "Vandret", so H becomes V.
VOPSLAG() = HLOOKUP()

V from Vertical - in Danish "Lodret", so V becomes L.
LOPSLAG() = VLOOKUP()
Post Reply