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

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.
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,223,634
Messages
6,173,475
Members
452,516
Latest member
archcalx

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