We’d like to remind Forumites to please avoid political debate on the Forum.

This is to keep it a safe and useful space for MoneySaving discussions. Threads that are – or become – political in nature may be removed in line with the Forum’s rules. Thank you for your understanding.

📨 Have you signed up to the Forum's new Email Digest yet? Get a selection of trending threads sent straight to your inbox daily, weekly or monthly!
The Forum now has a brand new text editor, adding a bunch of handy features to use when creating posts. Read more in our how-to guide

HLookup Help Required

Hi Can anyone help please? I have to enter a large amount of HLookup formulas and want to know if there is a quick way of doing it. With normal Excel formul you can enter the formula in one cell then drag down the column and the formulas will be entered and the cell reference auto changes. However with my HLookup formulas I have to manually change the 3 to 4 then to 5 then to 6 ect. I have nearly 300 foumulas to do so would really like a quick fix if possible to help prevent RSI and my failling eyesight!
Example
=HLOOKUP($A$2,$C$1:$E$7,3,FALSE)
=HLOOKUP($A$2,$C$1:$E$7,4,FALSE)
=HLOOKUP($A$2,$C$1:$E$7,5,FALSE)
=HLOOKUP($A$2,$C$1:$E$7,6,FALSE)

Thanks in advance to anyone who can help.
Twizz:)

Comments

  • Pauls
    Pauls Posts: 752 Forumite
    You could probably do something with the row() function

    for example

    =hlookup($a$2,$c$1:$e$7,row(),false)

    or

    =hlookup($a$2,$c$1:$e$7,row()+5,false)
  • GunJack
    GunJack Posts: 11,947 Forumite
    Part of the Furniture 10,000 Posts Name Dropper Photogenic
    ...or, copy/paste special - formulas :)
    ......Gettin' There, Wherever There is......

    I have a dodgy "i" key, so ignore spelling errors due to "i" issues, ...I blame Apple :D
  • jessicamb
    jessicamb Posts: 10,446 Forumite
    Part of the Furniture 10,000 Posts Combo Breaker
    or have a seperate column next to the formulas with 1,2,3 etc in them and then link to that. The 1,2,3 would autofill so you wouldn't have to type them all in.
    The early bird gets the worm but the second mouse gets the cheese :cool:
This discussion has been closed.
Meet your Ambassadors

🚀 Getting Started

Hi new member!

Our Getting Started Guide will help you get the most out of the Forum

Categories

  • All Categories
  • 353.5K Banking & Borrowing
  • 254.1K Reduce Debt & Boost Income
  • 455K Spending & Discounts
  • 246.6K Work, Benefits & Business
  • 602.9K Mortgages, Homes & Bills
  • 178.1K Life & Family
  • 260.6K Travel & Transport
  • 1.5M Hobbies & Leisure
  • 16K Discuss & Feedback
  • 37.7K Read-Only Boards

Is this how you want to be seen?

We see you are using a default avatar. It takes only a few seconds to pick a picture.