+ Reply to Thread
Results 1 to 4 of 4

XLOOKUP lookup_value is a returned value of a formula

  1. #1
    Registered User
    Join Date
    03-24-2021
    Location
    Missouri
    MS-Off Ver
    Office 365/2019
    Posts
    12

    XLOOKUP lookup_value is a returned value of a formula

    Hello,

    Could someone look at my attached example and explain why none of my xlookup formulas are calculating? I have color-coded the xlookup's lookup_value as it corresponds to the formula.

    Each color is a different way to code the formula but it should return the same result.

    Thanks
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,949

    Re: XLOOKUP lookup_value is a returned value of a formula

    The result of A1&B1 is a text string (1&3="13"). The values in column D are all numbers. The text string "13" is not the same as the number 13, so Excel's lookup functions do not recognize the match. Try something to force the result of A1&B1 to be a number. Maybe =A1*10+B1, or VALUE(A1&B1) or A1&B1+0 or something similar.
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  3. #3
    Registered User
    Join Date
    03-24-2021
    Location
    Missouri
    MS-Off Ver
    Office 365/2019
    Posts
    12

    Re: XLOOKUP lookup_value is a returned value of a formula

    Ah, MrShorty. You have led me in the right direction. I chose to go in this direction instead which solved the error I was getting:

    In A2 I did an =--CONCATENATE(""&A1&""&B1&"") this comes to a plaintext string of "13"
    then proceed to use =XLOOKUP(A2,D1:D15,E1:E15) in E17 which returned the proper result.

    I appreciate your help. I had never run into this situation before.

  4. #4
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2405
    Posts
    13,432

    Re: XLOOKUP lookup_value is a returned value of a formula

    @ sussington

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

    Also, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of those who helped.

    Thank you ahead of time.
    Dave

+ 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] Update ranged returned price - xlookup returns value, i want to update that value fromcell
    By 1chrisdewet1 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-14-2022, 07:14 AM
  2. using vlookup where lookup_value is a formula
    By foozbear in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 07-15-2015, 01:55 AM
  3. VLOOKUP formula only part of the Lookup_Value
    By dpratama in forum Excel Formulas & Functions
    Replies: 21
    Last Post: 09-24-2014, 06:53 AM
  4. Using Vlookup with the lookup_value is based on a Formula
    By da1nonlybige in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 01-09-2013, 08:40 PM
  5. [SOLVED] VLOOKUP problem: "N/A" returned if lookup_value equals 105%
    By Quiche IT in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-09-2013, 05:47 PM
  6. VLOOKUP won't take a formula for lookup_value???
    By scurveydog in forum Excel General
    Replies: 3
    Last Post: 10-05-2010, 05:21 PM
  7. lookup_value in VLOOKUP formula
    By 99f150 in forum Excel General
    Replies: 7
    Last Post: 03-16-2010, 11:21 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