Reverse HLOOKUP with a range

Dany Wagner 0 Reputation points
2023-06-03T21:23:03.7+00:00

Hi! Please help!

Any way to make a "reverse hlookup" function to get value from the 1st row knowing the date? (see the pic)

Thanks in advance!

Microsoft 365 and Office | Excel | For business | Windows

3 answers

Sort by: Most helpful
  1. IlirU 2,571 Reputation points Volunteer Moderator
    2025-07-30T07:49:01.3033333+00:00

    User's image

    Hi,

    If you do not have the BYCOL or FILTER functions in your version of Excel, then use the formula below instead. Apply it in cell C14 (see the screenshot above).

    =INDEX(A1:D1,, SUM(IFERROR(COLUMN(A2:D11) / MMULT(TRANSPOSE(ROW(A2:D11)^0), --(A2:D11 = B14)), 0)))

    For Excel 2016 or earlier versions, this formula must be entered as an array formula, which means you need to press CTRL + SHIFT + ENTER simultaneously on your keyboard.

    HTH

    Was this answer helpful?

    0 comments No comments

  2. Ashish Mathur 102.3K Reputation points Volunteer Moderator
    2025-07-29T23:21:48.6966667+00:00

    Hi,

    In cell C14, enter this formula

    =FILTER(A1:D1,BYCOL(A2:D11=B14,OR))

    Hope this helps.

    User's image

    Was this answer helpful?

    0 comments No comments

  3. Dany Wagner 0 Reputation points
    2023-06-03T21:23:34.7966667+00:00

    Screenshot 2023-06-04 at 00.22.20

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.