How can I make Offset work when referencing a Table in an INDEX/MATCH formula?

KirnonBhale

New Member
Joined
Jul 25, 2019
Messages
11
I currently have the following formula:

=INDEX(DetList[Department],MATCH($C$4,OFFSET(DetList[Service],2,0),0))

This formula however isn't returning the desired result. The OFFSET isn't functioning. I don't know how to achieve my desired result and am hoping someone here can help me out?

Regards.
 

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.
In words what are you trying to do?

Are you trying to MATCH C4 against the values 2 columns to the right of the column called Service in the DetList table?

Cant you just create a Named range of the column which is 2 to the right of DetList([Service] and remove the OFFSET altogether?
 
Upvote 0
Hey Special-K99,

Thanks, actually while trying to answer your request for further info, you enabled me to figure out what I was doing wrong!! Essentially I was trying to offset the row 2 points down and return the answer from that point. what I needed to do was also offset the DetList[Department] the to the same level to achieve the result.

Formula now is:
=INDEX(OFFSET(DetList[Department],2,0),MATCH($C$4,OFFSET(DetList[Service],2,0),0)) and this has done the trick.

Thanks, I know you didn't answer the question but your prompt for clarity helped me realise what I was doing wrong.


<colgroup><col></colgroup><tbody>
</tbody>
 
Upvote 0
Oh glad I could help (if I did) :)

you helped, by getting me to think a bit more. On further investigation I hit on an even better solution.

This Array formula worked amazingly well and is by far and away the best option.

{=IFERROR(INDEX(DetList[Department],SMALL(IF(DetList[Service]=$C$4,ROW(DetList[Service])-ROW(INDEX(DetList[Service],1,1))+1),COUNTA($Q$6:Q$6))),"")}
 
Upvote 0

Forum statistics

Threads
1,216,099
Messages
6,128,813
Members
449,469
Latest member
Kingwi11y

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