98.8% Of all customers recommend us, we're so confident about our results we publish all reviews and stats
View Live Stats View ReviewsForum home » Delegate support and help forum » Microsoft Excel Training and help » Hlook up and Vlookup
Hlook up and Vlookup
Resolved · High Priority · Version 2019
Agnieszka has attended:
Excel Advanced course
Hlook up and Vlookup
Which formula is better to use when looking for specific information in the spreadsheet for example specific amount or invoice reference?
What is the main difference between those two Formulas and how can I be sure I am using the correct one
RE: Hlook up and Vlookup
Hi Aga,
I hope you are fine.
Thank you for the forum question.
The Vlookup is for vertical lists and the Hlookup for horizontal lists.
All the lists we worked with today were vertical and most lists are vertical.
In vertical lists you have a header row and the records organised down. One record in each row.
In horizontal lists you have the headings in the first column and you have a record in each column across.
The only difference between the Vlookup and Hlookup is that the Vlookup need the Column index number (from which column from the table array want we to get the data from) and Hlookup the Row index number (from which row in the table array want we to get the data from).
=Vlookup(Lookup value, Table array, column index number, range lookup)
=Hlookup(Lookup value, Table array, Row index number, range lookup)
If you select C5 on the worksheet Hlookup in the course Excel file and type the function:
=HLOOKUP(A5,$A$8:$P$13,6,0)
And the type 11158 in A5. Then the function will return the postcode for the first client (row 6 in the table array).
I hope all this makes sense.
Kind regards
Jens Bonde
Microsoft Office Specialist Trainer
Tel: 0207 987 3777
STL - https://www.stl-training.co.uk
98%+ recommend us
London's leader with UK wide delivery in Microsoft Office training and management training to global brands, FTSE 100, SME's and the public sector
Wed 2 Sep 2020: Automatically marked as resolved.
Training information:
See also:
Welcome. Please choose your application (eg. Excel) and then post your question. Our Microsoft Qualified trainers will then respond within 24 hours (working days). Frequently Asked Questions
Any suggestions, questions or comments? Please post in the Improve the forum thread. |
Excel tip:Difference between Two DatesThe DATEDIF function computes the difference between two dates. The DATEDIF function is as follows: |