Solved

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

Posted on 2016-08-17
6
23 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
What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

 

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Drop Down List with Unique/Distinct Values (Part II - ComboBox or ListBox and Data Validation List Bonus!) David Miller (dlmille) Intro This article focuses on delivering unique, sorted lists to list objects (e.g., ComboBox, ListBox) and Dat…
Introduction This Article briefly covers methods of calculating the NPV and IRR variants in Excel as well as the limitations in calculating and interpreting IRR results. Paraphrasing Richard Shockley, author of my favourite finance reference tex…
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.

706 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

17 Experts available now in Live!

Get 1:1 Help Now