Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

hlookup

ResolvedVersion Standard

Finlay has attended:
Excel Advanced course

Hlookup

I am doing a hlookup on a range (possibly over 100 rows). My formula is working but my problem is that it takes too much time to go and manually edit the formula to change the row index number and increase it by one. For example the row index number has to change in order to pull in the right data....eg 5,6,7,8 etc up to over 100. Is there a quick way to do this or do I have to manually enter the row index numbers in over 100 rows?

RE: hlookup

Hello Finlay,
I hope you enjoyed your Excel training session with us.

In response to your question, I cannot think of an easy way of doing this, without getting into VBA. However, something that might at least make this problem a bit easier, would be to create a row that only has the index numbers going across. Then in your lookup formula, reference the first cell of that row, instead of an actual number. Then you can drag the formula across, and it will pull those row index numbers across as well. This assumes that the row index numbers you have listed are in exactly the right order for the data you are trying to get.

I hope this resolves your question. If it has, please mark this question as resolved. If you require further assistance, please reply to this post. And please feel free to ask any other questions you may have.

Have a great day.

Regards,
Mara
Microsoft Office Specialist Master Trainer

Excel tip:

Sorting List Subtotals

If you find that you would prefer to show the items in a subtotalled list in a different order, eg ascending rather than descending, you can sort your list. To sort a subtotalled list, hide the detail rows and then sort the subtotal rows. When you sort a subtotalled list, the hidden detail rows are automatically moved with the subtotal rows.
IMPORTANT: If you do not hide the details rows before sorting a subtotalled list, your subtotals will be removed and all of the rows in your list will be reordered.

View all Excel hints and tips

Connect with us:

0207 987 3777

Call for assistance

Request Callback

We will call you back

Server loaded in 0.09 secs.