• Skip to main content
  • Skip to header right navigation
  • Skip to site footer

My Online Training Hub

Learn Dashboards, Excel, Power BI, Power Query, Power Pivot

  • Courses
  • Pricing
    • Free Courses
    • Power BI Course
    • Excel Power Query Course
    • Power Pivot and DAX Course
    • Excel Dashboard Course
    • Excel PivotTable Course – Quick Start
    • Advanced Excel Formulas Course
    • Excel Expert Advanced Excel Training
    • Excel Tables Course
    • Excel, Word, Outlook
    • Financial Modelling Course
    • Excel PivotTable Course
    • Excel for Customer Service Professionals
    • Excel for Operations Management Course
    • Excel for Decision Making Under Uncertainty Course
    • Excel for Finance Course
    • Excel Analysis ToolPak Course
    • Multi-User Pricing
  • Resources
    • Free Downloads
    • Excel Functions Explained
    • Excel Formulas
    • Excel Add-ins
    • IF Function
      • Excel IF Statement Explained
      • Excel IF AND OR Functions
      • IF Formula Builder
    • Time & Dates in Excel
      • Excel Date & Time
      • Calculating Time in Excel
      • Excel Time Calculation Tricks
      • Excel Date and Time Formatting
    • Excel Keyboard Shortcuts
    • Excel Custom Number Format Guide
    • Pivot Tables Guide
    • VLOOKUP Guide
    • ALT Codes
    • Excel VBA & Macros
    • Excel User Forms
    • VBA String Functions
  • Members
    • Login
  • Blog
  • Excel Webinars
  • Excel Forum
    • Register as Forum Member

Facing error in Vlookup|General Excel Questions & Answers|Excel Forum|My Online Training Hub

You are here: Home / Facing error in Vlookup|General Excel Questions & Answers|Excel Forum|My Online Training Hub
Avatar
sp_LogInOut Log In sp_Registration Register
sp_Search Search
Advanced Search|Last Search Results
Search
Forum Scope




Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
sp_Search Search
sp_RankInfo
Lost password?
sp_CrumbsHome HomeExcel ForumGeneral Excel Questions & Answe…Facing error in Vlookup
sp_PrintTopic sp_TopicIcon
Facing error in Vlookup
Avatar
Waqas Munir
Member
Members
Level 0
Forum Posts: 23
Member Since:
September 18, 2019
sp_UserOfflineSmall Offline
1
January 14, 2021 - 7:06 pm
sp_Permalink sp_Print

Hello,

I am facing a problem in vlookup formula. Once I enter in the cell value of table array of vlookup formula and press enter then formula works properly. My sheet of query is attached. i explain the query in attached file.

Thanks in advance for your cooperation.

Waqas Munir

sp_AnswersTopicSeeAnswer See Answer
Avatar
Anders Sehlstedt
Eskilstuna, Sweden

VIP
Members


Trusted Members
Level 3
Forum Posts: 873
Member Since:
December 7, 2016
sp_UserOfflineSmall Offline
2
January 15, 2021 - 6:32 am
sp_Permalink sp_Print

Hello Waqas,

The problem here is that all values in cells C3 to C21, except for the value in cell C16, are text. The values you check against are numbers, so VLOOKUP don't find a match, except for the third lookup that is working fine because the value in cell C16 and the comparison value in cell J9 are numbers.

Either you correct the values in column C to be number values or you change comparison values in column K to be text (just remember then to change the value in cell C16 to text).

If you have problem to visually see if the values are formatted as text or numbers, you can for example use the ISNUMBER or ISTEXT functions to do a simple check.

Br,
Anders

Avatar
Waqas Munir
Member
Members
Level 0
Forum Posts: 23
Member Since:
September 18, 2019
sp_UserOfflineSmall Offline
3
January 15, 2021 - 6:01 pm
sp_Permalink sp_Print

No...

my problem is not resolved please downloads the attached file and apply any thing to resolve it.

Thanks in advance for your cooperation.

Avatar
Velouria
London or thereabouts
Moderator
Members


Trusted Members

Moderators
Level 4
Forum Posts: 648
Member Since:
November 1, 2018
sp_UserOfflineSmall Offline
4
January 16, 2021 - 12:58 am
sp_Permalink sp_Print

To cater for either format you could use:

 

=IFERROR(VLOOKUP(TEXT(J4,"0"),C:D,2,0),VLOOKUP(J4,C:D,2,0))

sp_AnswersTopicAnswer
Answers Post
Avatar
Anders Sehlstedt
Eskilstuna, Sweden

VIP
Members


Trusted Members
Level 3
Forum Posts: 873
Member Since:
December 7, 2016
sp_UserOfflineSmall Offline
5
January 16, 2021 - 2:32 am
sp_Permalink sp_Print

Still better to ensure you have correct data. See attached.

Avatar
Waqas Munir
Member
Members
Level 0
Forum Posts: 23
Member Since:
September 18, 2019
sp_UserOfflineSmall Offline
6
January 16, 2021 - 7:44 pm
sp_Permalink sp_Print

Thanks Mr Anders Sehistedt and Velouria... Both answers are equally perfect.

sp_Feed
Go to top
Forum Timezone: Australia/Brisbane
Most Users Ever Online: 245
Currently Online: Sherry Fox, Cassie Bernier
Guest(s) 11
Currently Browsing this Page:
1 Guest(s)
Top Posters:
SunnyKow: 1432
Anders Sehlstedt: 873
Purfleet: 414
Frans Visser: 346
David_Ng: 306
lea cohen: 222
Jessica Stewart: 215
A.Maurizio: 202
Aye Mu: 201
jaryszek: 183
Newest Members:
Abisola Ogundele
MARTYN STERRY
Rahim Lakhani
Ngoc Qui Nguyen
Clement Mansfield
Rose .
Bindu Menon
Baruch Zemer
Purple RainbowBenefactor
MOTH Junkie
Forum Stats:
Groups: 3
Forums: 24
Topics: 6350
Posts: 27773

 

Member Stats:
Guest Posters: 49
Members: 32317
Moderators: 3
Admins: 4
Administrators: Mynda Treacy, Philip Treacy, Catalin Bombea, FT
Moderators: MOTH Support, Velouria, Riny van Eekelen
© Simple:Press —sp_Information

Sidebar

Blog Categories

  • Excel
  • Excel Charts
  • Excel Dashboard
  • Excel Formulas
  • Excel PivotTables
  • Excel Shortcuts
  • Excel VBA
  • General Tips
  • Online Training
  • Outlook
  • Power Apps
  • Power Automate
  • Power BI
  • Power Pivot
  • Power Query
microsoft mvp logo
trustpilot excellent rating
Secured by Sucuri Badge
MyOnlineTrainingHub on YouTube Mynda Treacy on Linked In Mynda Treacy on Instagram Mynda Treacy on Twitter Mynda Treacy on Pinterest MyOnlineTrainingHub on Facebook
 

Company

  • About My Online Training Hub
  • Disclosure Statement
  • Frequently Asked Questions
  • Guarantee
  • Privacy Policy
  • Terms & Conditions
  • Testimonials
  • Become an Affiliate

Support

  • Contact
  • Forum
  • Helpdesk - For Technical Issues

Copyright © 2023 · My Online Training Hub · All Rights Reserved. Microsoft and the Microsoft Office logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries. Product names, logos, brands, and other trademarks featured or referred to within this website are the property of their respective trademark holders.