Solved

INDEX, MATCH EVERY OTHER ROW

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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

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…
Do you use a spreadsheet like Microsoft's Excel?  Have you ever wanted to link out to a non excel file on your computer or network drive?  This is the way I found to do it!
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 will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.

815 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

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now