• 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
    • Password Reset
  • Blog
  • Excel Webinars
  • Excel Forum
    • Register as Forum Member

XLookup with XLookup giving #Value! error|General Excel Questions & Answers|Excel Forum|My Online Training Hub

You are here: Home / XLookup with XLookup giving #Value! error|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…XLookup with XLookup giving #Value!…
sp_PrintTopic sp_TopicIcon
XLookup with XLookup giving #Value! error
Avatar
excel request

Active Member
Members
Level 0
Forum Posts: 4
Member Since:
December 10, 2020
sp_UserOfflineSmall Offline
1
December 10, 2020 - 5:28 am
sp_Permalink sp_Print

Hi Everyone,

I am new to this forum and trying to learn Xlookup going through Mynda Treacy's XLOOKUP example file. I tried to create the following simple formula for '=XLOOKUP(G5,Table4[Category],XLOOKUP(G6,Table4[Product],Table4[[Sales]:[Rating]])) for looking up Clothing and Caps but it's churning out a #Value! error message

It many be a simple syntax error or formatting error, and i spent a lot of time to figure our the error in vain. Attached is the practice excel file. Please help me  

sp_AnswersTopicSeeAnswer See Answer
Avatar
Mynda Treacy
Admin
Level 10
Forum Posts: 4448
Member Since:
July 16, 2010
sp_UserOfflineSmall Offline
2
December 10, 2020 - 9:57 am
sp_Permalink sp_Print

Hi and welcome to our forum! It's great to see you're practicing XLOOKUP.

In this scenario you would only lookup Caps. There's no need to factor in the clothing category too. Therefore, the formula would be:

=XLOOKUP(G6,Table4[Product],Table4[Sales])

Mynda

sp_AnswersTopicAnswer
Answers Post
Avatar
excel request

Active Member
Members
Level 0
Forum Posts: 4
Member Since:
December 10, 2020
sp_UserOfflineSmall Offline
3
December 11, 2020 - 2:04 am
sp_Permalink sp_Print

Thanks Mynda for clarifying. Meanwhile i am trying to follow your HR Dashboard exercise and encountered an issue of the pivot table not picking up the full csv. file data. Therefore i am making it as an another Question.

This may help of other newbees like me trying to learn Excel in O365

John

Avatar
Duncan Williamson
Member
Members
Level 0
Forum Posts: 11
Member Since:
December 23, 2020
sp_UserOfflineSmall Offline
4
December 23, 2020 - 12:37 pm
sp_Permalink sp_Print

I hope you don't mind me chipping in, John.

I took a look at your file and would like to offer the following

If you want to show the formula you used in, say, cell H6, you can put this in cell I6 =FORMULATEXT(H6) then whenever you change the formula in H6, FORMULATEXT will update automatically ...

Since you seemed to want the flexibility of returning the Clothing Category and then the Products in that category, I did this:

In cell G9 I entered the following =UNIQUE(FILTER(C2:C29,(B2:B29="Clothing"))) which tells me which are the unique Products in the Clothing range

I then set up Data Validation for Products in cell G6 by referring to G9#

Finally, my formula in cell H6 is then =XLOOKUP(G6,Table4[Product],Table4[[Sales]:[Rating]]), which SPILLs to I6 since you asked for two outputs and my FORMULATEXT() is then in J6

I have attached my file for your review!

sp_Feed
Go to top
Forum Timezone: Australia/Brisbane
Most Users Ever Online: 245
Currently Online: Dana Friedt, Shawn Barwick, Nada Perovic, Uwe von Gostomski
Guest(s) 10
Currently Browsing this Page:
1 Guest(s)
Top Posters:
SunnyKow: 1432
Anders Sehlstedt: 870
Purfleet: 412
Frans Visser: 346
David_Ng: 306
lea cohen: 219
A.Maurizio: 202
Jessica Stewart: 202
Aye Mu: 201
jaryszek: 183
Newest Members:
terimeri dooriyan
Jack Aston
AndyC
Denise Lloyd
michael serna
mashal sana
Tiffany Kang
Leah Gillmore
Sopi Yuniarti
LAFONSO HERNANDEZ
Forum Stats:
Groups: 3
Forums: 24
Topics: 6218
Posts: 27266

 

Member Stats:
Guest Posters: 49
Members: 31901
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.