Index match in multiple tabs

G MJ

New Member
Joined
Dec 16, 2021
Messages
7
Office Version
  1. 365
Platform
  1. Windows
Hi,

I looking for some guidance to a problem I'm having.

I have a spreadsheet with various properties set up in their own tab. Every year we add their current budget and note the variances year to year. The properties ages vary so some will have more information than others.

For example tab1 is for a property 4 years old, every year the new budget is added and there is a formula that highlights the differences on each year.

Property1
YEAR1YEAR2YEAR3YEAR4YEAR2DIFFYEAR3DIFFYEAR4DIFF
Wages
1000​
1500​
1700​
1800​
50%​
13%​
6%​
Electricity
150​
175​
215​
400​
17%​
23%​
86%​
Heating
10​
20​
30​
40​
100%​
50%​
33%​
Maintenance
25​
50​
90​
190​
100%​
80%​
111%​

tab2 is a newer property with only 3 years but it follows the same process
Property2
YEAR1YEAR2YEAR3YEAR2DIFFYEAR3DIFF
Wages
800​
1300​
1500​
63%​
15%​
Electricity
100​
115​
190​
15%​
65%​
Heating
80​
85​
100​
6%​
18%​
Maintenance
10​
18​
40​
80%​
122%​

I have around 30 tabs with properties of varying ages.

What I'm trying to achieve is a summary table that can let me know what all he differences are year on year for all properties. Below is what I would like to achieve
Property1Property2Property2
YEAR2DIFFYEAR3DIFFYEAR4DIFFYEAR2DIFFYEAR3DIFFYEAR2DIFFYEAR3DIFF
Wages
50%​
13%​
6%​
63%​
15%​
Electricity
17%​
23%​
86%​
15%​
65%​
Heating
100%​
50%​
33%​
6%​
18%​
Maintenance
100%​
80%​
111%​
80%​
122%​

I've been using vlookups but this is time consuming as each tab will have a different look up point. I've tried some form of index match but I'm having no luck.

What I need is something that will lookup to the property tab then if row2 equals YEAR2DIFF and column A equals Wages enter the value.

Thanks,
 

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest
if you could put property in each cell along the header - then a grid look with indirect would work

=INDEX(INDIRECT(B$2&"!G3:I7"),MATCH($A4,INDIRECT(B$2&"!A3:A7"),0),MATCH(B$3,INDIRECT(B$2&"!$G$2:I2"),0))

i have added to dropbox - only be on for a few days - cant seem to get xl2bb to work - but will post once i can


EDIT Xl2BB

Grid-lookup-ETAF.xlsx
ABCDEFGH
1
2Property1Property1Property1Property2Property2Property3Property2
3YEAR2DIFFYEAR3DIFFYEAR4DIFFYEAR2DIFFYEAR3DIFFYEAR2DIFFYEAR3DIFF
4Wages50%13%6%63%15%#REF!15%
5Electricity17%23%86%15%65%#REF!65%
6Heating100%50%33%6%18%#REF!18%
7Maintenance100%80%111%80%122%#REF!122%
Sheet1
Cell Formulas
RangeFormula
B4:H7B4=INDEX(INDIRECT(B$2&"!G3:I7"),MATCH($A4,INDIRECT(B$2&"!A3:A7"),0),MATCH(B$3,INDIRECT(B$2&"!$G$2:I2"),0))


Grid-lookup-ETAF.xlsx
ABCDEFGHI
1Property1
2YEAR1YEAR2YEAR3YEAR4YEAR2DIFFYEAR3DIFFYEAR4DIFF
3Wages100015001700180050%13%6%
4Electricity15017521540017%23%86%
5Heating10203040100%50%33%
6Maintenance255090190100%80%111%
Property1


Grid-lookup-ETAF.xlsx
ABCDEFGHI
1Property2
2YEAR1YEAR2YEAR3YEAR2DIFFYEAR3DIFF
3Wages8001300150063%15%
4Electricity10011519015%65%
5Heating80851006%18%
6Maintenance10184080%122%
7
property2
 
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,327
Members
452,635
Latest member
laura12345

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top