Solved

Using index/match with columns and rows - tables and how to automatically copy

Posted on 2016-08-17
6
26 Views
Last Modified: 2016-08-17
I'm attaching a file. In the formulas sheet I have set up the first column (B - Carlow heading in table) to use index match to pull in the matching data from the Housing survey sheet. I get that I can copy/paste across and amend Carlow to matching counties. But if I wanted to just be able to copy this formula across...what tweak do I need to add to the formula to do this?
EE_check_national_housing_developme.xlsx
0
Comment
Question by:agwalsh
  • 3
  • 3
6 Comments
 
LVL 25

Accepted Solution

by:
ProfessorJimJam earned 500 total points
ID: 41759172
just put this formula in  B2 and drag right and down

=INDEX(Table1[[Carlow]:[TOTAL]],MATCH([@[2014 UFD Survey]],Table1[2014 UFD Survey],0),MATCH(Table13[[#Headers],[Carlow]],Table1[[#Headers],[Carlow]:[TOTAL]],0))

see attached.
EE_check_national_housing_developme.xlsx
0
 

Author Comment

by:agwalsh
ID: 41759186
OK, I will try that but couple of questions first .. :-) What's the [Carlow]:[TOTAL]] bit? I actually experimented quite a bit with the #headers option but I couldn't get it to work? Thanks - much appreciated.
Actually I get what the  [Carlow]:[TOTAL]] bit is ah, BUT could I just add that to the formula by picking Carlow from the dropdown in the formula bar, then entering : , then just picking Total from the list?
0
 
LVL 25

Expert Comment

by:ProfessorJimJam
ID: 41759196
well, index and match is easy but it becomes a bit tricky if the range of lookup rows and lookup columns are not matching the number of rows and columns in the data referece. besides, using tables are good but again understanding the structural reference is confusing, so i suggest you read useful blog on table references from my friend Jon's blog
0
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 

Author Comment

by:agwalsh
ID: 41759240
Yes, tables are really powerful but my understanding of the full ramifications of the structural references you have up there is a bit shaky, so need to spend some time on that. Thank you so much though :-)
0
 

Author Closing Comment

by:agwalsh
ID: 41759241
Did what I required and gave me the impetus to really get to grips with structural references.. Thanks
0
 
LVL 25

Expert Comment

by:ProfessorJimJam
ID: 41759324
you are welcome. thanks for the feedback
0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

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

Approximate matching with VLOOKUP and MATCH seems to me to be a greatly under-used technique, and one which is vital for getting good performance out of large lookups. Until recently I would always have advised using an exact match for simplicity an…
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…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

770 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