Solved

INDEX, MATCH EVERY OTHER ROW

Posted on 2013-11-22
3
334 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

[Webinar] Learn How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

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

Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
Excel can be a tricky bit of software to get your head around. Whilst you’ll be able to eventually get to grips with the basic understanding of how to get by, there are a few Excel tips that not everybody will even know about let alone know how to d…
This Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.
This Micro Tutorial demonstrates in Microsoft Excel how to consolidate your marketing data by creating an interactive charts using form controls. This creates cool drop-downs for viewers of your chart to choose from.

691 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