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
88
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

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.

Forum statistics

Threads
1,215,072
Messages
6,122,968
Members
449,095
Latest member
Mr Hughes

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