Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2016-08-17
6
Medium Priority
?
34 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 27

Accepted Solution

by:
ProfessorJimJam earned 2000 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 27

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
Industry Leaders: 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!

 

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 27

Expert Comment

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

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

You need to know the location of the Office templates folder, so that when you create new templates, they are saved to that location, and thus are available for selection when creating new documents.  The steps to find the Templates folder path are …
If you need to forecast numbers -- typically for finance -- the Windows and Mac versions of Excel 2016 have a basket of tools to get the job done.
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

782 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