health and wellness | March 21, 2026

What is Hlookup in Microsoft Excel?

What is Hlookup in Microsoft Excel?

HLOOKUP in Excel stands for ‘Horizontal Lookup’. It is a function that makes Excel search for a certain value in a row (the so called ‘table array’), in order to return a value from a different row in the same column.

What is V look up and H look up?

HLOOKUP and VLOOKUP are functions in Microsoft Excel that allow you to use a section of your spreadsheet as a lookup table. The V in VLOOKUP stands for vertical search (in a single column), while the H in HLOOKUP stands for horizontal search (within a single row).

How does Hlookup work in Excel 2016?

The HLOOKUP function performs a horizontal lookup – it searches for a lookup value at the top-most row of the table and returns a value located a specified number of rows down in the same column.

What is the difference between VLOOKUP and Hlookup write the syntax of both VLOOKUP and Hlookup?

The only basic difference between VLOOKUP and HLOOKUP is that VLOOKUP works when the table is vertically set up, and HLOOKUP works when the setup of the table is horizontal. By using HLOOKUP, we will get exactly the same result, but the table is arranged differently. Let’s look at the formula of both.

How do you record a macro?

Choose Developer → Code → Record Macro or click the macro recording button on the status bar. The Record Macro dialog box appears. The Record Macro dialog box appears when you’re about to record a macro. Enter a name for the macro.

How can we record a macro?

Follow these steps to record a macro.

  1. On the Developer tab, in the Code group, click Record Macro.
  2. In the Macro name box, enter a name for the macro.
  3. To assign a keyboard shortcut to run the macro, in the Shortcut key box, type any letter (both uppercase or lowercase will work) that you want to use.

Why is VLOOKUP used more than Hlookup?

VLOOKUP searches for a value in the leftmost column of a data range, and then returns a value in the same row from a column you specify in the range. VLOOKUP is used instead of HLOOKUP when your comparison values are located in a column to the left of the data you want to find.