Results 1 to 8 of 8

XLOOKUP gives wrong value

Threaded View

Bone1897 XLOOKUP gives wrong value 07-27-2022, 10:22 AM
Fluff13 Re: XLOOKUP gives wrong value 07-27-2022, 10:26 AM
Bone1897 Re: XLOOKUP gives wrong value 07-27-2022, 11:01 AM
ELeGault Re: XLOOKUP gives wrong value 07-27-2022, 10:58 AM
ELeGault Re: XLOOKUP gives wrong value 07-27-2022, 11:15 AM
Bone1897 Re: XLOOKUP gives wrong value 08-02-2022, 07:08 AM
ELeGault Re: XLOOKUP gives wrong value 08-02-2022, 07:04 PM
TMS Re: XLOOKUP gives wrong value 08-02-2022, 07:18 PM
  1. #1
    Registered User
    Join Date
    07-27-2022
    Location
    Skopje
    MS-Off Ver
    Office 365
    Posts
    9

    XLOOKUP gives wrong value

    Hi,

    I am new to the portal. I use Office 365 quite effectively, but I am not able to solve the following problem.

    I need to look up for a specific reference in a list of values and return an exact match.
    The lookup array is a combination of text values and numerical values (154350 / OVEA350155 / MTKEDA).
    The first 4 letters of my lookup value are always the same (OVEA), the rest of the values are different.

    Some of the OVEA references have 8 digits and some 6.

    The problem arise when I am searching for an OVEA reference with 6 digits and only when there is another OVEA reference with 8 digits out of which the first 6 identical to the digits inside the lookup value. (154350 / OVEA350155 / MTKEDA and 154350 / OVEA35015512 / MTKEDA).

    Using XLOOKUP("*"&LookupValue&"*",LookupArray,ReturnArray,"",2) gives wrong result when the first value in the list is the longer one.

    Please check the attached file for your reference.

    I will appreciate if you can help me out getting the correct result.

    Thank you.
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] if and xlookup
    By pickslides in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-16-2022, 07:24 AM
  2. If this do this XLOOKUP otherwise do this XLOOKUP
    By MattKoleczko in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-21-2022, 08:14 AM
  3. [SOLVED] Xlookup in PQ
    By Excelski in forum Excel General
    Replies: 7
    Last Post: 09-09-2021, 07:15 AM
  4. Two-way Xlookup
    By Ballet4ever in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-28-2021, 10:11 PM
  5. [SOLVED] Xlookup with VBA, need some help!
    By CSimm in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 01-19-2021, 03:14 PM
  6. [SOLVED] XLookup returning wrong values when using two conditions
    By Einrastor in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-03-2020, 07:38 AM
  7. [SOLVED] Macro exporting and saving the wrong page with wrong name
    By taylorsm in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-08-2018, 01:24 PM

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