+ Reply to Thread
Results 1 to 29 of 29

Function RECHERCHEV does not work

  1. #1
    Registered User
    Join Date
    02-19-2014
    Location
    Switzerland
    MS-Off Ver
    Excel 2007
    Posts
    24

    Function RECHERCHEV does not work

    Hello everybody,

    I come with another question about RECHERCHEV, please help me

    I have two excel files that are in different workbooks (and therefore two different directories), I want to link two excel sheets, each from one of the workbook

    on the first sheet I have the column names of the countries in the second sheet I have a column of names of countries (column number 1), and another column that says if the country has been treated or not (column number 40)
    so I want to check the name of already selected on the first sheet countries, then search column 1 of the second sheet, and put the value "already treated or not" that appear on the column number 40 on the second sheet.

    I mentioned this as well, but apparently related it does not work at all


    Please Login or Register  to view this content.
    = RECHERCHEV (B3, Sheet2 A3: AN240, 40!)
    Please Login or Register  to view this content.
    .



    Thank you so much

  2. #2
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Function RECHERCHEV does not work

    Hi,

    I think you'll need to upload an actual workbook. The FAQ explains how.

    Regards
    Click * below if this answer helped

    Advanced Excel Techniques: http://excelxor.com/

  3. #3
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: Function RECHERCHEV does not work

    The syntax is:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Or in French:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    This is going to be slow, though, referencing 40 columns. an Index / Match will be better:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    let Source = #table({"Question","Thread", "User"},{{"Answered","Mark Solved", "Add Reputation"}}) in Source

    If I give you Power Query (Get & Transform Data) code, and you don't know what to do with it, then CLICK HERE

    Walking the tightrope between genius and eejit...

  4. #4
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Function RECHERCHEV does not work

    Actually, Olly, I'm not sure that FALSE is international syntax, so perhaps best to translate that to FAUX as well - or use 0 - to be sure.

    Regards

  5. #5
    Registered User
    Join Date
    02-19-2014
    Location
    Switzerland
    MS-Off Ver
    Excel 2007
    Posts
    24

    Re: Function RECHERCHEV does not work

    Thank you Olly and XOR

    Olly, thank you so much, your formula worked when my two leaves were in the same excel workbook.
    But in reality they are in two different directories. in this case it does not work

    I put the following formula, adding the path to the directory

    Please Login or Register  to view this content.
    = VLOOKUP (B3, K: \ System \ data \ DATABASE \ D2014 [T & Q WORKFILE 2014.xlsm] work process 2014 '$ A $ 3: $ AN $ 240.40) but it still doesn't work.
    Please Login or Register  to view this content.

    Please help
    Last edited by Nadine74; 04-11-2014 at 09:03 AM.

  6. #6
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Function RECHERCHEV does not work

    Like I said, I think you really need to upload one or more workbooks.

    Obviously replace any confidential/sensitive information with dummy data if necessary.

    Regards

  7. #7
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: Function RECHERCHEV does not work

    The path to your workbook looks wrong.

    Your formula should looks something like this:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Pay careful attention to the syntax of the folder path, filename and worksheet name...

  8. #8
    Registered User
    Join Date
    02-19-2014
    Location
    Switzerland
    MS-Off Ver
    Excel 2007
    Posts
    24

    Re: Function RECHERCHEV does not work

    Hi Olly,

    I did like you said

    =VLOOKUP(B7,'K:\System\DATABASE\D2014\[tototo.xlsx]work process 2014'!$A$3:$AN$240,40,FALSE) but it still doesn't work

  9. #9
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: Function RECHERCHEV does not work

    When you say it still doesn't work - what happens? Does it tell you there's an error in the formula, does it return an error value in the cell, does it return an unexpected value?

  10. #10
    Registered User
    Join Date
    02-19-2014
    Location
    Switzerland
    MS-Off Ver
    Excel 2007
    Posts
    24

    Re: Function RECHERCHEV does not work

    No I have no remarq and no error, it appears like
    Please Login or Register  to view this content.
    =VLOOKUP(B7,'K:\System\DATABASE\D2014\[tototo.xlsx]work process 2014'!$A$3:$AN$240,40,FALSE)
    Please Login or Register  to view this content.
    But nothing is happen, like as if that is not a formula

  11. #11
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Function RECHERCHEV does not work

    Sounds like your cell is formatted to Text. Change it to e.g. General.

    Regards

  12. #12
    Registered User
    Join Date
    02-19-2014
    Location
    Switzerland
    MS-Off Ver
    Excel 2007
    Posts
    24

    Re: Function RECHERCHEV does not work

    This time, I have an error message

    ok Olly and XOR

    XOR you had right, I changed the format cell in General, but now i have an error message #N/A

  13. #13
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Function RECHERCHEV does not work

    Why can't you upload a workbook?

    We could be playing this guessing-game for another ten posts...

  14. #14
    Registered User
    Join Date
    02-19-2014
    Location
    Switzerland
    MS-Off Ver
    Excel 2007
    Posts
    24

    here the file attached please

    Hi XOR,

    I really apologize to not upload the file, I woul like to do it earlier but the button "attach the file" was hidden because of Mozilla, Now I just used explorer and it appears

    So, please find attached my file, with the too sheets (sheet1 and sheet2)

    In reality, the two sheets are in two different excel workbooks

    Thank you and sorry againfichier_hebergeur.xlsx

  15. #15
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Function RECHERCHEV does not work

    Thanks. But of course I can't see the other file!! And the VLOOKUP is referencing column 40 of:

    'K:\MAS CAMAD\MAcMap data\DATABASE\D2014\[T&Q WORKFILE 2014.xlsm]sheet2'!$A$3:$AN$240

    Regards

  16. #16
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,780

    Re: Function RECHERCHEV does not work

    The upload paperclip button is always visible for me in Firefox.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  17. #17
    Registered User
    Join Date
    02-19-2014
    Location
    Switzerland
    MS-Off Ver
    Excel 2007
    Posts
    24

    Re: Function RECHERCHEV does not work

    Hi All,

    I come back again for the same question, I hadn't found the solution yet!
    Pease HELP me

    XOR, I don't understand your answer, by the VLOOKUP I am looking for the 40th column in the second sheet (the column containing wanted information), so it's normal than the VLOOKUP is referencing column 40.

    I put today the formula, VLOOKUP(B3,'K:\System\DATABASE\D2014\[tototo.xlsx]work process 2014'!$A$3:$AN$240,40,FALSE)
    and the $A$3 is highlighted

    Really I don't know where is the problem

  18. #18
    Registered User
    Join Date
    02-19-2014
    Location
    Switzerland
    MS-Off Ver
    Excel 2007
    Posts
    24

    Re: Function RECHERCHEV does not work

    Hi All,

    I come back again for the same question, I hadn't found the solution yet!
    Pease HELP me

    XOR, I don't understand your answer, by the VLOOKUP I am looking for the 40th column in the second sheet (the column containing wanted information), so it's normal than the VLOOKUP is referencing column 40.

    I put today the formula, VLOOKUP(B3,'K:\System\DATABASE\D2014\[tototo.xlsx]work process 2014'!$A$3:$AN$240,40,FALSE)
    and the $A$3 is highlighted

    Really I don't know where is the problem

  19. #19
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Function RECHERCHEV does not work

    I meant that I will not be able to help to discover the problem since the formula in your attachment is referring to another sheet which neither I - nor anybody else but you - can see.

    Regards

  20. #20
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,780

    Re: Function RECHERCHEV does not work

    Please note that the 40 in your VLOOKUP (RECHERCHEV) function will reference the 40th column in the ARRAY, which may NOT be the 40th column in the SHEET!!!

  21. #21
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Function RECHERCHEV does not work

    =VLOOKUP(B3,'C:\system\database\d2014\[tototo.xlsx]work process 2014'!$A$3:$AN$40,40,FALSE)
    is what i get when i reproduce your file tree (note i used C not K as i dont have a K"
    open tototo.xlsx
    then in the other workbook
    pick a cell type =vlookup(b3,
    then click on the range in tototo.xlsx to select it
    then complete the rest of the formula it should look like this
    =VLOOKUP(B3,'[tototo.xlsx]work process 2014'!$A$3:$AN$40,40,FALSE)
    save then close tototo.xlsx
    the file path
    should then change to

    =VLOOKUP(B3,'C:\system\database\d2014\[tototo.xlsx]work process 2014'!$A$3:$AN$40,40,FALSE)
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  22. #22
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Function RECHERCHEV does not work

    why cannot i see the next page? hm had to change my settings to 40 per page from 20
    Last edited by martindwilson; 04-15-2014 at 07:36 AM.

  23. #23
    Registered User
    Join Date
    02-19-2014
    Location
    Switzerland
    MS-Off Ver
    Excel 2007
    Posts
    24

    Re: Function RECHERCHEV does not work

    AN ENORMOUS THANKS To you martindwilson,
    This once The VLOOKUP is ok
    the Steps you have enumerated are exactly what I needed, and without your solution, I couldn't guess them!

    I am really grateful, and for sure for all others who tried to help me

    Just one thing, when I kept "False" in the VLOOKUP formula, The formula didn't function

    Thank you again

  24. #24
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Function RECHERCHEV does not work

    if doesnt work with false then there is no match did you try RECHERCHEV /FAUX rather than vlookup/false

  25. #25
    Registered User
    Join Date
    02-19-2014
    Location
    Switzerland
    MS-Off Ver
    Excel 2007
    Posts
    24

    Re: Function RECHERCHEV does not work

    Yes I have already tried Recherchev, Faux, but My Excel software is on English version, it does not recognize Recherchev

    Thank you

  26. #26
    Registered User
    Join Date
    02-19-2014
    Location
    Switzerland
    MS-Off Ver
    Excel 2007
    Posts
    24

    Re: Function RECHERCHEV does not work

    Good morning everybody,

    VLOOKUP it was ok only for some cells but not for others : for some cells I have the information if the file had been processed or not, but for the majority of others, I have only "0" as value instead of "Done" or "ONGOING" which are clearly appeared as values in the second sheet of the TOTOTO file.

    I retype the VLOOKUP formula I have in my file VLOOKUP(B3,'K:\System\DATABASE\D2014\[tototo.xlsx]work process 2014'!$A$3:$AN$240,40)
    if I add "FALSE" at the end of the formula, all my values become "#NA"

    Thank you

  27. #27
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Function RECHERCHEV does not work

    thats because you have no exact matches the data must be different in b3 than whats in a3:a240 of the other work book
    False means look for exact match

  28. #28
    Registered User
    Join Date
    02-19-2014
    Location
    Switzerland
    MS-Off Ver
    Excel 2007
    Posts
    24

    Re: Function RECHERCHEV does not work

    Thank you martindwilson for this remark

    All my values are written in the same way, even I copied exactly some values in a3:a240 and pasted them in the B column in the first file. But the same result, with "False" in the VLOOKUP Formula, I obtained #N/A for all cells, without "False" I obtained the right value but only for few cells.

  29. #29
    Registered User
    Join Date
    02-19-2014
    Location
    Switzerland
    MS-Off Ver
    Excel 2007
    Posts
    24

    Re: Function RECHERCHEV does not work

    This time all thing is ok

    Thank you martindwilson!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] VBA FindNext function does not work in a function
    By ArnolddG in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-23-2013, 07:24 PM
  2. Work around to the 7 function limit with the IF function
    By Venka in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-11-2008, 07:02 PM
  3. How Does PMT function work ??
    By sandy3180 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-22-2006, 11:58 AM
  4. VBA Function won't work!
    By [email protected] in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 06-29-2006, 04:15 AM
  5. [SOLVED] Aide SVP, fonctions SI et RECHERCHEV +de 7 arguments
    By Khandy in forum Excel General
    Replies: 2
    Last Post: 03-06-2006, 10:30 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1