0% found this document useful (0 votes)
15 views4 pages

HLOOKUP and XLOOKUP Excel Guide

Excel lookup and v lookup with real case study
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
15 views4 pages

HLOOKUP and XLOOKUP Excel Guide

Excel lookup and v lookup with real case study
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd

HLOOKUP FUNCTION TUTORIAL

Formula: =HLOOKUP(lookup_value, table_array, row_index_num, [range_lookup])


Description: Searches for a value in the top row and returns a value from a specified row

CASE STUDY: TechMart Electronics - Monthly Sales Dashboard

Product Laptop Pro Tablet X Phone 12 Smartwatch


Price ($) 1299 599 899 399
Jan Sales 45 67 89 120
Feb Sales 52 71 95 134
Mar Sales 48 69 92 128
Stock Level 23 45 67 89

PRACTICE EXERCISES

Exercise 1: Find the price of "Phone 12"


Product to lookup: Phone 12 Formula: =HLOOKUP(B17,B7:L12,2,FALSE)

Exercise 2: Find Jan Sales for "Smartwatch"


Product to lookup: Smartwatch Formula: =HLOOKUP(B20,B7:L12,3,FALSE)

Exercise 3: Find Stock Level for "Laptop Pro"


Product to lookup: Laptop Pro Formula: =HLOOKUP(B23,B7:L12,6,FALSE)

YOUR PRACTICE:
Product: Row to return:
Hint: Row 2=Price, 3=Jan, 4=Feb, 5=Mar, 6=Stock
up])
cified row

Headphones Camera 4K Keyboard Mouse Monitor Printer


199 749 89 49 349 279
156 34 78 145 56 42
167 38 82 152 61 47
171 41 85 159 58 45
112 34 156 234 78 56

OOKUP(B17,B7:L12,2,FALSE)Answer: 899

OOKUP(B20,B7:L12,3,FALSE)Answer: 120

OOKUP(B23,B7:L12,6,FALSE)Answer: 23

Your Formula: Result:


XLOOKUP FUNCTION TUTORIAL
Formula: =XLOOKUP(lookup_value, lookup_array, return_array, [if_not_found], [match_mode], [search_mode])
Description: Modern lookup function - more powerful and flexible than VLOOKUP/HLOOKUP
Note: Requires Excel 365 or Excel 2021+

CASE STUDY: InnovateTech Corp - Employee Performance Dashboard

Employee ID Name Department Salary ($) Performance


E001 Sarah Johnson Engineering 95000 Excellent
E002 Michael Chen Marketing 78000 Good
E003 Emily Rodriguez Sales 85000 Excellent
E004 James Williams Engineering 102000 Outstanding
E005 Aisha Patel Finance 91000 Excellent
E006 David Kim HR 72000 Good
E007 Lisa Anderson Sales 88000 Excellent
E008 Robert Taylor Marketing 81000 Good
E009 Maria Garcia Engineering 98000 Outstanding
E010 John Martinez Finance 87000 Excellent

PRACTICE EXERCISES

Exercise 1: Find the name of employee E001


Employee ID: E001 Formula: =XLOOKUP(B23,A9:A18,B9:B18,"No

Exercise 2: Find the salary of employee E004


Employee ID: E004 Formula: =XLOOKUP(B26,A9:A18,D9:D18,"No

Exercise 3: Find the department of employee E007


Employee ID: E007 Formula: =XLOOKUP(B29,A9:A18,C9:C18,"No

YOUR PRACTICE:
Employee ID: Column to return (B-H):
Example: =XLOOKUP(B33,A9:A18,E9:E18,"Not Found")
_mode], [search_mode])
OKUP

Bonus ($) Years Email


9500 5 sarah.j@[Link]
6240 3 michael.c@[Link]
8500 4 emily.r@[Link]
15300 7 james.w@[Link]
9100 6 aisha.p@[Link]
5760 2 david.k@[Link]
8800 5 lisa.a@[Link]
6480 4 robert.t@[Link]
14700 6 maria.g@[Link]
8700 3 john.m@[Link]

UP(B23,A9:A18,B9:B18,"NotAnswer: Sarah Johnson

UP(B26,A9:A18,D9:D18,"NotAnswer: 102000

UP(B29,A9:A18,C9:C18,"NotAnswer: Sales

Your Formula:

Common questions

Powered by AI

At InnovateTech Corp, high-performing employees, categorized as 'Excellent' or 'Outstanding', are predominantly found in Engineering and Sales departments. This could indicate stronger performance management or possibly varying performance expectations or incentives in these departments .

XLOOKUP improves data retrieval efficiency by allowing searches both vertically and horizontally, offering a more flexible lookup without needing to sort data first, and can provide default return values. It supports exact, approximate, or wildcard matches in one integrated function, unlike the more cumbersome need for VLOOKUP and HLOOKUP to handle these conditions separately, often requiring nested functions or supplementary error handling .

Given the consistent and slightly rising sales of 'Smartwatch,' a predictive strategy could be to maintain stock levels slightly above the average monthly sale, around 130-140 units, to mitigate any unexpected increase in demand. Implementing inventory alerts and regular sales analysis could also help in timely adjustment of stock levels .

In InnovateTech Corp, employees with higher performance ratings tend to receive higher bonus salaries. For instance, James Williams, with a performance rating of 'Outstanding,' receives a bonus of $15,300, whereas Michael Chen, with a 'Good' rating, receives a bonus of $6,240 .

In the InnovateTech Corp dataset, salaries appear to correlate positively with performance ratings. Employees rated 'Outstanding,' such as James Williams and Maria Garcia, receive higher salaries compared to others. However, some employees with 'Excellent' ratings, like Emily Rodriguez, also earn less than those rated 'Outstanding,' indicating a nuanced application of performance-based compensation .

The sales of "Phone 12" show a rising trend over the three months. In January, sales were 89 units, which increased to 95 in February and further to 92 in March, with a notable peak in February .

The XLOOKUP function can effectively bridge information between different datasets by allowing lookups across separate tables where common identifiers exist, such as employee IDs. This function can also substitute missing data with a default value, hence maintaining data integrity across dataset integration .

The formula =HLOOKUP("Laptop Pro", B7:L12, 2, FALSE) could be used to find the price of "Laptop Pro". This searches for 'Laptop Pro' in the top row and returns the price from the second row of the same column, where prices are listed .

HLOOKUP is used to search for a value in the top row of a table and returns a value from a specified row in the same column. XLOOKUP, on the other hand, is a more powerful and flexible function as it allows searching both horizontally and vertically across any specified range. It also includes additional features like default return values when a match is not found, and options for match and search modes .

The stock level of 'Smartwatch' appears to be managed appropriately relative to its sales. With sales of 120, 134, and 128 units over January, February, and March respectively, and a consistent monthly sale figure, maintaining a stock level of 89 could suggest a strategy to restock frequently or match sales trends closely .

You might also like