Solved

INDEX, MATCH EVERY OTHER ROW

Posted on 2013-11-22
3
322 Views
Last Modified: 2013-11-22
Hi working fairly new to working with the Index/Match function.  I have a worksheet that I would like to return the second row of data and also be able to drag the formula down and across to populate the data.

Attaching spreadsheet in starting with column Q to AN on the Report would like to match based on column b (store #) and return the date from the same week (columns N-AK) on the PUC tab that would be in the row where the Actual Receipt Date is.

So on my attempt 3/4/13 was returned, looking for 2/27/13.
EE-Index-Match.xlsx
0
Comment
Question by:jmac001
[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
3 Comments
 
LVL 23

Expert Comment

by:NBVC
ID: 39669736
Try changing the INDEX range to one row below...

=IF(ISBLANK(INDEX(PUC!$N12:$AK12,MATCH(Report!$B2,PUC!$B$11:$B$152,0))),"",INDEX(PUC!$N12:$AK12,MATCH(Report!$B2,PUC!$B$11:$B$152,0)))
0
 
LVL 35

Accepted Solution

by:
mvidas earned 500 total points
ID: 39669757
jmac,

Your N11:AK11 range will only return data from there. I assume you want it to be N11:AK152 as your other range has it. Your MATCH function will return the relative row number in that range, so just add +1 to it. Then you can specify a column number to make sure to retrieve the applicable week. Put this in Q2:
=IF(ISBLANK(INDEX(PUC!$N$11:$AK$152,MATCH(Report!$B2,PUC!$B$11:$B$152,0)+1,COLUMN()-16)),"",INDEX(PUC!$N$11:$AK$152,MATCH(Report!$B2,PUC!$B$11:$B$152,0)+1,COLUMN()-16))

Open in new window

Matt
0
 

Author Comment

by:jmac001
ID: 39669796
Thank you Matt that is what I was looking for, I was playing with the columns to see what result I would get back and forgot to change it back.
0

Featured Post

Technology Partners: 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

Improved? Move/Copy Add-in Replacement - How to avoid the annoying, “A formula or sheet you want to move or copy contains the name XXX, which already exists on the destination worksheet.” David Miller (dlmille)  It was one of those days… I wa…
When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …
This Micro Tutorial demonstrate the bugs in Microsoft Excel for Mac with Pivot Charts.

733 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