Failed in order to derive Row number or Value in cell of particular Row Using Vlookup and Index... Match

RapchikM

Board Regular
Joined
Oct 5, 2020
Messages
97
Office Version
  1. 2021
Platform
  1. Windows
Hello

I have the Following Data

Cols
RowsHIJKLM
201AIQWZ
212BJR
223CKSX
234DLT
245EMUY
256FNV
267GO
278HP
289-

Above Rows are from 20 to 28 and Cols from H to M

If in Cell H30 is Typed A or I or Q or W or Z Then Cell I30 = 1
If in Cell H30 is Typed D or L or T Then Cell I30 = 4
If in Cell H30 is Typed G or O Then Cell I30 = 7

How to get the Value in Cell I30 when a value in range from H20 or I20 to M28 is Matched with cell H30

Miserably failed with
Excel Formula:
Cell I30
=VLOOKUP($H$30,$H$20:$M$28,COLUMN(H20),FALSE)

Cell I30
=INDEX($H$20:$M$28,MATCH($H30,$I$20:$M$28),MATCH($H30,$H$20:$M$28))
Any other Formula where the above result is appropriately derived

Thanks
RapchikM
 
Thank you Dante Amor Sir,

For your indeed valuable Explanation and providing the reference link

Thank you very much Dante Amor Sir and Peter_SSs Sir,

Unfortunately cannot Tick on your Both Solutions. (MrExcel.com should allow more tick marks for the solutions of the thread)

Both are indeed two great ways to achieve the result

Thanks
RapchikM
 
Upvote 0

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.

Forum statistics

Threads
1,224,820
Messages
6,181,159
Members
453,021
Latest member
Justyna P

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