Solved

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

Posted on 2016-08-17
6
27 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 26

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 26

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
Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 

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 26

Expert Comment

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

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Workbook link problems after copying tabs to a new workbook? David Miller (dlmille) Intro Have you either copied sheets to a new workbook, and after having saved and opened that workbook, you find that there are links back to the original sou…
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…
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.
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…

789 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