Look up cell in an array and then return the value of a cell in that same array relative to the

BKGLTS

Board Regular
Joined
Aug 27, 2018
Messages
82
Hello,

I need to look up a cell in an array, and then return the value of a cell in that same array relative to it.

For example:

A1 = 1/1/2018 B1 = 2/1/18 C1 = 3/1/18 D1 = 4/1/18 E1 = 5/1/18
A2 = 2/1/18
A3 = 2
A4 = 4/1/18

A4 was found by looking up A2 in the A1:E1 array (which in this case is B1), and then returned the value of the cell that is 2 columns to the right (as indicated by A3).
Can someone please help me with this formula?
It seems a little complicated requiring a few different function types.
I need the formula for A4.

Thank you!
B
 

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.
Hi B,

Please check if the following formula works for you! COpy and paste in A4.

=INDEX(A1:E1;MATCH(A2;A1:E1;0)+2)

Kind Regards,
Frank
 
Upvote 0
.. 2 columns to the right (as indicated by A3)
Welcome to the MrExcel board!

Given the above, one small change to Frank's suggestion

=INDEX(A1:E1,MATCH(A2,A1:E1,0)+A3)
 
Last edited:
Upvote 0

Forum statistics

Threads
1,215,430
Messages
6,124,849
Members
449,194
Latest member
HellScout

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