Google Sheets: Opposite of HLOOKUP, is it possible?

p_s

New Member
Joined
Sep 23, 2020
Messages
30
Office Version
  1. 2019
Platform
  1. Windows
  2. Mobile
  3. Web
Player NameAnneCathyPaulJimmySuzanneBobby
Roll #251634
Random Roll:=RANDBETWEEN(1,6) (Assume Number it rolls is 5) The winner is=Cathy

Is there a way we can reverse lookup Row 2, to look up Row 1?



I used the formula, to make Row 2 the 1st row.
Excel Formula:
=HLOOKUP($E$4,{A2:G2;A1:G1},2,false)
 
Last edited by a moderator:

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.
In Excel you'd use:

=INDEX(A1:G1,MATCH($E$4,A2:G2,0))

which I think should work in Sheets too.
 
  • Like
Reactions: p_s
Upvote 0
Solution

Forum statistics

Threads
1,225,400
Messages
6,184,761
Members
453,255
Latest member
excelbit

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top