Vlookup problem

Bandito1

Board Regular
Joined
Oct 18, 2018
Messages
233
Office Version
  1. 2016
Platform
  1. Windows
Hi all,

Im trying to retrieve data with Vlookup;

Excel Formula:
=VLOOKUP(F18;A11:C12;2;FALSE)
In F18 i typed "January".

It doesn't find any data; the months in Column A are made with;
Excel Formula:
=DATE($A$9;ROWS($9:9);1)
When i type there "January" it works.

I can't hard type "January" cause than other data will not be retrieved.
Anyone know how i can retrieve data with Vlookup based on month if i use a formula to created the month?


Tracker QA on the floor New.xlsm
ABC
11January133122
12February7470
BMR data
Cell Formulas
RangeFormula
A11:A12A11=DATE($A$9,ROWS($9:9),1)
B11:B12B11=SUMPRODUCT(('Tracker QA on the Floor'!J:J>=A11)*('Tracker QA on the Floor'!J:J<=EOMONTH(A11,0)))
C11:C12C11=SUMPRODUCT(('Tracker QA on the Floor'!L:L>=A11)*('Tracker QA on the Floor'!L:L<=EOMONTH(A11,0)))

Tracker QA on the floor New.xlsm
F
18January
19#N/A
BMR data
Cell Formulas
RangeFormula
F19F19=VLOOKUP(F18,A11:C12,2,FALSE)
 
What language precisely do you use ?

If you were to test the following formula =MONTH(3&"january")

What result would you get ?
 
Upvote 0

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.
When i type that i get #Value

How do i find out what language i use?
Sounds stupid but im located in holland and using a company pc.
This pc is based in holland but my company is US.
My excel is english (the ribbon text)
 
Upvote 0
If you are getting #Value with =MONTH(3&"january")

Could you test : =MAAND(1&"Januari")
 
Upvote 0
If you format a cell with a date to show the long date what do you get?
 
Upvote 0
Among the tests you can make ... for Dutch :

=TEXT(TODAY(),"[$-413]dddd dd mmmm yyyy")
 
Upvote 0
=MAAND(1&"Januari") results in #NAME?

When i type 1-1-2023 in a cell and i format to long date i get: zondag 1 januari 2023 (dutch)

=TEXT(TODAY(),"[$-413]dddd dd mmmm yyyy") results in: maandag 06 maart yyyy (dutch)
 
Upvote 0
So ... with your current set-up Dutch language, most probably to get the number 1, you need
=Month(1&"Januari")
 
Upvote 0
To recap, as far as functions are concerned you can work in English ...
but when it comes to Text, your Windows Regional settings do impose on you to use Dutch ...
 
Upvote 0
So what should i change to make the Vlookup work? :)

Can't change the settings from the pc since it's a company pc and im not allowed to make changes to settings i guess
 
Upvote 0

Forum statistics

Threads
1,214,853
Messages
6,121,935
Members
449,056
Latest member
denissimo

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top