Incorporating an Offset into a formula

Joe Galvan

Board Regular
Joined
Jun 24, 2008
Messages
152
I have a formula that does great for pulling the first item in a string but I need the 2nd, 3rd, etc... in the string of informtaion

Currently I am using:

Index(ResultsRange,match(1,if(range1=LookupValue1,if(range2=LookupValue2,if(range3=LookupVAlue3,1))),0)) C+S+E

Is there a way to put an offset into this formula, so I can pull the next item down??


thanks,
JOE
 

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.
Hello Joe, you can use this version in D2 confirmed with CSE and copied down

=INDEX(ResultsRange,SMALL(IF(range1=LookupValue1,IF(range2=LookupValue2,IF(range3=LookupVAlue3,ROW(ResultsRange)-MIN(ROW(ResultsRange))+1))),ROWS(D$2:D2)))

You'll get an error (#NUM!) when matches run out, you can use IFERROR or other options to prevent that if you want
 
Upvote 0
Thanks, it worked great!!! I just didnt think about the duplicates that I may encounter, but I might have a plan for that...


thanks again Barry...
 
Upvote 0

Forum statistics

Threads
1,224,597
Messages
6,179,808
Members
452,944
Latest member
2558216095

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