Using Offset with Match dynamically

jewkes6000

Board Regular
Joined
Mar 25, 2020
Messages
60
Office Version
  1. 365
Platform
  1. Windows
In the below example, I am trying to use an Offset formula in cell I33. My end goal is to get the value of S25; however, I need to copy this formula down in several cells in column I, so the reference cell will change. I tried using the offset formula to reference E33, then the match function to find "T0 Head", then go over 14 rows to S25, but it's not returning as I would like it to. One important note, when searching the array with the match function, it needs to search up (from cells E33 up to E23). The reason for this is that when I eventually copy the formula down column I, there will be other "T0 Head" cells in column E at which point it needs to reference the cell 14 columns to the right (so instead of S25, it'd be whatever row the other "T0 Head" is on).

Here is the formula I tried: =OFFSET(E33,-MATCH("T0 Head",$E$23:$E$20000,0),14). This formula actually returns cell S30, which is not what I want.

Thank you in advance. Any help is much appreciated.


1602526938184.png
 
Glad to help & thanks for the feedback.
 
Upvote 0

Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.

Forum statistics

Threads
1,214,787
Messages
6,121,569
Members
449,038
Latest member
Guest1337

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