VLOOKUP OFFSET 1-10th row

toughie

New Member
Joined
Oct 10, 2018
Messages
43
Hi there,

Im trying to create a formula to look up the 1st, 2nd 3rd... occurences off "CHUCKER" using vlookup heres my formula for the first row:

=VLOOKUP("CHUCKER",'[1 (version 1).xlsb]Pivot'!$1:$1048576,2,FALSE)

anyone know the formula to return the 2nd and 3rd occurences? Any help would be hugely appreciated.
 

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.
if the chucker's are all in order then you could use Index Match with an increase in the match number based on the output request.
A1:A6 = Chucker
B1:B6 = Data (Different values so you can confirm)

C1 = "Chucker"
D1 = The number you want to find IE 4
e1 = "=INDEX(B:B,MATCH(C1,A:A,0)+(D1-1),0)"

This only works if the field you are looking for is sorted. Otherwise you would need to create a macro or function to return the correct value.
 
Upvote 0
=IFERROR(INDEX($B$1:$B$1000,SMALL(IF($A$1:$A$1000="Chucker",ROW($A$1:$A$1000)),ROWS($A$1:A1))),"")

You may need to enter with CTRL-SHIFT-ENTER. The formula gives the first hit. Drag it down and you get the 2nd, 3rd etc.
 
Upvote 0

Forum statistics

Threads
1,224,818
Messages
6,181,151
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