Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Excel: Index/Match change range on fill down

Posted on 2016-07-18
6
Medium Priority
?
120 Views
Last Modified: 2016-07-18
Hello,

I have the following formula:
=INDEX('Data'!$G4:$AE4,MATCH(Sheet2!I$3,'Data'!$G3:$AE3,0))

I would like to fill this formula down but have both the ranges:
'Data'!$G4:$AE4
'Data'!$G3:$AE3

E.g

=INDEX('Data'!$G4:$AE4,MATCH(Sheet2!I$3,'Data'!$G3:$AE3,0))
=INDEX('Data'!$G7:$AE7,MATCH(Sheet2!I$3,'Data'!$G6:$AE6,0))
=INDEX('Data'!$G10:$AE10,MATCH(Sheet2!I$3,'Data'!$G9:$AE9,0))

increase in increments of 3 as I fill down. Is this possible?
0
Comment
Question by:dabug80
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 33

Accepted Solution

by:
Subodh Tiwari (Neeraj) earned 2000 total points
ID: 41716337
Try something like this......
=INDEX(OFFSET(Data!$G$4:$AE$4,(ROWS(A$1:A1)-1)*3,),MATCH(Sheet2!I$3,OFFSET(Data!$G$3:$AE$3,(ROWS(A1:A$1)-1)*3,),0))

Open in new window

0
 
LVL 8

Expert Comment

by:Naresh Patel
ID: 41716339
post sample file
0
 
LVL 53

Expert Comment

by:Rgonzo1971
ID: 41716342
HI,

pls try ( adjust H2 and H$2)

=INDEX(OFFSET(Data!$G$4:$AE$4,3*(ROW(H2)-ROW(H$2)),0),MATCH(Sheet2!I$3,OFFSET(Data!$G$3:$AE$3,3*(ROW(H2)-ROW(H$2)),0),0))

Open in new window

Regards
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 33

Expert Comment

by:Subodh Tiwari (Neeraj)
ID: 41716358
Lol
0
 
LVL 1

Author Closing Comment

by:dabug80
ID: 41717994
Great. Worked well.
0
 
LVL 33

Expert Comment

by:Subodh Tiwari (Neeraj)
ID: 41718130
Thanks for the feedback.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
If you need to forecast numbers -- typically for finance -- the Windows and Mac versions of Excel 2016 have a basket of tools to get the job done.
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.

618 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question