Table_array in VLOOKUP function, how to be dynamic moving between series of data?

Murad_

New Member
Joined
Mar 30, 2018
Messages
7
Hi,

My question, how can I make the Table_array in VLOOKUP function dynamic?
Example:

for this formula in Cell A1
=VLOOKUP($E$2,Sheet1!$C$2:$M$7,2,FALSE)
Cell A2
=VLOOKUP($E$2,Sheet1!$C$8:$M$13,2,FALSE)
Cell A3
=VLOOKUP($E$2,Sheet1!$C$14:$M$19,2,FALSE)

what is the formula that I can use to replace the numbers 8 and 13 in Cell A2, and the number 14 and 19 in Cell A3??
 

Attachments

  • 2.jpg
    2.jpg
    73.6 KB · Views: 3
  • 1.jpg
    1.jpg
    171.4 KB · Views: 3

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result
Hi,
You can test following in row 1 ... and copy down for incrementing
Excel Formula:
=MOD(ROW(),5)+5*(ROW()-1)+1
 
Upvote 0
This will result into
Excel Formula:
=VLOOKUP($E$2,INDIRECT("Sheet1!C"&(MOD(ROW(),5)+5*(ROW()-1)+1)&":M"&(MOD(ROW(),5)+5*(ROW()-1)+6)),2,FALSE)
 
Upvote 0
Sorry ...

But I have stupidly followed what you wrote :

Formula in Cell A1
=VLOOKUP($E$2,Sheet1!$C$2:$M$7,2,FALSE)
Cell A2
=VLOOKUP($E$2,Sheet1!$C$8:$M$13,2,FALSE)
Cell A3
=VLOOKUP($E$2,Sheet1!$C$14:$M$19,2,FALSE)
 
Upvote 0

Forum statistics

Threads
1,216,101
Messages
6,128,842
Members
449,471
Latest member
lachbee

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