UrbanPro
true

Learn Microsoft Excel Training from the Best Tutors

  • Affordable fees
  • 1-1 or Group class
  • Flexible Timings
  • Verified Tutors

Exploring Excel HLOOKUP Formula

Ganesh S E
17 hrs ago 0 0
 
USING HLOOKUP

 

HLOOKUP stands for Horizontal Lookup, and it searches for a value in the first row of a specified table or range. After finding a match, it returns the value from a specified row below the found value.

 

Formula:

 

=HLOOKUP(C13,D4:AD7,2,FALSE)

 

 

DEFINITIONS

 

 

 

 

 

G1 = You'd look for the District in the District row.

 

Once you find the District, you'd look to the cell below to find the Taluka.

 

Now, let's see how the =HLOOKUP(C13,D4:AD7,2,FALSE) formula does the same thing:

 

C13 = This is the District name you're looking for. It's like saying, "Find this District in the BOOK."

 

D4:AD7 = This is the range of cells where your BOOK is. It's like saying, "Look in these cells for the District and its corresponding Taluk."

 

2 = This tells Excel, "If you find the District name, look Second Row below the District to find the Taluk."

 

FALSE = This means you want an exact match. You only want the Taluk for the exact name you're looking for.

 

 

 

 

 

 

 

 

 

EXAMPLE : 1

"Look for the value in cell C13 within the range of cells D4 to AD7. Once you find it, give me the value that's two columns to the right."

 

 

=HLOOKUP(C13,D4:AD7,2,FALSE)

 

 

 

 

 

PICTURE 1

 

In above picture, details of District, Taluk and Sub-District Data are entered.

 

To extract TALUK by District Name, use the formula in Cell you want (Here it is C13):

 

The result is :

 

Check and Confirm the Result from PICTURE 1 above.

 

 

       

 

 

 

 

 

 

 

 

 

 

EXAMPLE : 2

"Look for the District value in cell I12 to N12 within the range of cells D4 to AD7. Once you find it, give me the value (Taluk) that's 2ND row below."

 

=HLOOKUP(I12:N12,D4:AD7,2,FALSE)

 

 

 

 

 

In above picture, details of District, Taluk and Sub-District Data are entered.

 

The result is :

When you move the cursor to Bottom Right corner of the Cell, you will see fill handle (+ sign) as seen the picture below, Pls note, + looks smaller than this picture

Click, Hold and Drag till Cell N13. The cells shall be automatically updated with the Formula, as well as the Results.

 

       

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

RULES of HLOOKUP:

 

HLOOKUP is a powerful Excel function that allows you to search for a specific value in a table and return a corresponding value from a different column. To use it effectively, keep these rules in mind:  

 

Lookup Value Must Be in the First row:

 

The value you're searching for (your lookup value) must be in the first row of the table array. This is a crucial limitation of HLOOKUP. as it only searches horizontally across the first row and looks down to retrieve values from subsequent rows.

 

If you're using an approximate match (the fourth argument is TRUE or omitted), the data in the first row of the table array must be sorted in ascending order. This ensures that HLOOKUP can return the closest match.

 

Exact Match: Set the fourth argument (range_lookup) to FALSE or 0. This ensures that HLOOKUP will only return a value if it finds an exact match for the lookup value.

 

Approximate Match: Omit the fourth argument or set it to TRUE or 1. This allows HLOOKUP to find the closest match if an exact match is not available.

 

Row Index Number:

The third argument in the HLOOKUP formula specifies the row number from which you want to retrieve the value. The first row of the table array is considered row 1, the second row is row 2, and so on. Make sure you specify the correct row number to retrieve the value you need.

 

Definition of HLOOKUP arguments:

 

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

 

lookup_value = This is the value you want to search for in the first row of the table array. It can be a number, text, or a cell reference.

 

table_array = This is the range of cells that contains the data you want to search. The lookup value must be in the first row of this range.

 

row_index_num = This is the column number in the table array from which you want to return a value. The first row is numbered 1.

 

[range_lookup]) (Optional) = within [square bracket] is optional. This argument specifies whether you want an exact match or an approximate match.

 

FALSE or 0 = Returns an exact match. The lookup value must be an exact match to the value in the first column of the table array.

 

TRUE or 1 = Returns an approximate match. The values in the first column of the table array must be sorted in ascending order. HLOOKUP will find the largest value that is less than or equal to the lookup value.

 
         
0 Dislike
Follow 1

Please Enter a comment

Submit

Other Lessons for You

Coaching on Microsoft Excel
Are you excited to enhance your data management skills and increase your productivity? Contact me directly in chat for instruction on essential tools and techniques to take your Microsoft Excel skills...

The Average Function(excel)
The Average Function:Follow-along file: Continue with Excel Objective 2.00. (Use file Excel Objective 2.06 if starting here.)The next function we will add to the Budget Detail worksheet is the Average...
U

Uma Sahu

0 0
0

Arrange and View Multiple Worksheets at Once in Excel
Arrange and View Multiple Worksheets at Once in Excel This feature allows you to view multiple worksheets at once from the same workbook at the same time. You need to follow beneath simple...

Chart
A chart is a set of coordinates When you make a chart you start with an empty, two-dimensional space, a vertical dimension (y) and a horizontal dimension (x) . You also have a data source. Your job is...

Create A Time Sheet In Ms Excel
The following tutorial is about creating a Time-Sheet using MS Excel. Steps: Arranging data, Formulas to analyze data points.
P

Pranav T.

0 0
0
X

Looking for Microsoft Excel Training Classes?

The best tutors for Microsoft Excel Training Classes are on UrbanPro

  • Select the best Tutor
  • Book & Attend a Free Demo
  • Pay and start Learning

Learn Microsoft Excel Training with the Best Tutors

The best Tutors for Microsoft Excel Training Classes are on UrbanPro

This website uses cookies

We use cookies to improve user experience. Choose what cookies you allow us to use. You can read more about our Cookie Policy in our Privacy Policy

Accept All
Decline All

UrbanPro.com is India's largest network of most trusted tutors and institutes. Over 55 lakh students rely on UrbanPro.com, to fulfill their learning requirements across 1,000+ categories. Using UrbanPro.com, parents, and students can compare multiple Tutors and Institutes and choose the one that best suits their requirements. More than 7.5 lakh verified Tutors and Institutes are helping millions of students every day and growing their tutoring business on UrbanPro.com. Whether you are looking for a tutor to learn mathematics, a German language trainer to brush up your German language skills or an institute to upgrade your IT skills, we have got the best selection of Tutors and Training Institutes for you. Read more