Ugly Worksheet - Need Index/Match

spcalan

Well-known Member
Joined
Jun 4, 2008
Messages
1,247
This index/match works perfect:

=INDEX(Plan!AR:AR,MATCH(A:A,Plan!AR:AR,0)+1,1)

I am looking up a sku number in ColA that exists in ColAR, but it's always 1 row below ( hence the +1 ).

Next one that doesn't work for me:
I want to look up same exact sku(ColA) in ColAR, but then look for a different value that is +13 rows and 4 columns to the right.

=INDEX(Plan!AR:BF,MATCH(A:A,Plan!AR:AR,0)+21,4)

Again, the range that has both the lookup value and the answer is AR:BF.
Lookup value is in ColA, +21 rows, and 4 columns to the right

For reference:
CAN-09049 is in cell AR3, and the inventory is in BF24
 
Last edited:

Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney
The column_num of index (where you have 4) is the column of the array column BF where you have the inventory would be the column 15.

Try
Code:
=INDEX(Plan!AR:BF,MATCH(A:A,Plan!AR:AR,0)+21,15)
 
Upvote 0
perfect - thanks.

The 15 is like the vlookup column reference. I was thinking I needed to tell the formula how many columns to add.

thanks
 
Upvote 0
of course I am building on this.

Let's say I want to again find the match in AR, but pull the value from Col i instead of the 15th column - this means something to the left of the find.

Example :
SKu is in AR3, and I need to pull the value from i32

=INDEX(Plan!AR:BF,MATCH(A:A,Plan!AR:AR,0)+21,15)
 
Upvote 0

Forum statistics

Threads
1,223,900
Messages
6,175,276
Members
452,629
Latest member
SahilPolekar

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