+ Reply to Thread
Results 1 to 8 of 8

Lookup issue

  1. #1
    Registered User
    Join Date
    07-17-2012
    Location
    juba
    MS-Off Ver
    Office 365
    Posts
    17

    Lookup issue

    I have an issue with my lookup values in excel. I have attached the sample excel also. I checked the format also but it is not working. can someone help.
    Attached Files Attached Files
    Last edited by MAKRUMAHESH; 04-23-2024 at 03:28 AM. Reason: attachment

  2. #2
    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
    81,223

    Re: Lookup issue

    You are trying to match numbers (the lookup values) with text (in the lookup arrays).

    Try this:

    =VLOOKUP(G2,--'S1'!$A$1:$G$3,6,0)

    and this:

    =XLOOKUP(H2,--'U1'!$B$2:$B$8,'U1'!$A$2:$A$8)

    The -- coerces text to be read as a number. Formatting the cell as number does not change text into a number - it's a very common misconception.
    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.

  3. #3
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,496

    Re: Lookup issue

    Or, you could go the other way and convert the numeric lookup value to text:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  4. #4
    Registered User
    Join Date
    07-17-2012
    Location
    juba
    MS-Off Ver
    Office 365
    Posts
    17

    Re: Lookup issue

    it worked thanks.

  5. #5
    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
    81,223

    Re: Lookup issue

    Glad to have helped.

    If that takes care of your original question, please choose Thread Tools from the menu link above and mark this thread as SOLVED. You can also access the SOLVED tag by editing the opening post and choosing SOLVED from the drop-down to the left of the title box.

    Also, if you have not already done so, remember that you can reward anyone who offered you help towards a solution for your issue by clicking the small star icon (* Add Reputation) 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 each of those who offered help.

  6. #6
    Registered User
    Join Date
    07-17-2012
    Location
    juba
    MS-Off Ver
    Office 365
    Posts
    17

    Re: Lookup issue

    Thanks it worked well. learned something new about formatting.

  7. #7
    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
    81,223

    Re: Lookup issue

    See post #5 about signing off your thread.

  8. #8
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,496

    Re: Lookup issue

    You're welcome. Thanks for the rep.

+ 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. lookup issue
    By benjie1984 in forum Excel General
    Replies: 2
    Last Post: 02-28-2017, 05:13 PM
  2. Lookup Formula Issue, Search issue
    By kperitz in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 04-07-2014, 01:50 PM
  3. lookup issue
    By an63lu5 in forum Excel General
    Replies: 8
    Last Post: 05-02-2012, 09:51 PM
  4. Lookup issue
    By sigfreid in forum Excel General
    Replies: 2
    Last Post: 04-19-2009, 08:08 PM
  5. lookup issue
    By eicabc in forum Excel General
    Replies: 1
    Last Post: 02-24-2009, 08:04 PM
  6. LOOKUP issue
    By delboy2405 in forum Excel General
    Replies: 3
    Last Post: 10-26-2007, 05:28 PM
  7. [SOLVED] Lookup?? Issue
    By [email protected] in forum Excel General
    Replies: 4
    Last Post: 02-18-2005, 10:06 AM

Tags for this Thread

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