Hi All,
I have several tables with water meter readings in them, and I am trying to create a single summary table that shows the water meter readings over the past several years.
Not all tables have the same number of columns, and they are not in the same order, so a vlookup wont work (as far as im aware) as I would have to write it different for each sheet.
I am wondering if I can write a formula to read the water meter number from the current table [Summary], look at the table called [2014], look in the column labeled 'Meter_No' for each meter number, read the line of that meter number and bring back the 'consumption' value into the original summary sheet.
Here is how I want my Summary sheet to look:
[TABLE="class: grid, width: 500, align: left"]
<tbody>[TR]
[TD]Meter_No[/TD]
[TD]2014 Consumption[/TD]
[TD]2013 Consumption[/TD]
[TD]2012 Consumption[/TD]
[/TR]
[TR]
[TD]Z10587[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Z104873[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]T321475[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Here is how the 2014 Sheet looks:
[TABLE="class: grid, width: 500, align: left"]
<tbody>[TR]
[TD]Meter_No[/TD]
[TD]Consumption[/TD]
[TD]Read_Date[/TD]
[TD]Route[/TD]
[/TR]
[TR]
[TD]Z10587[/TD]
[TD]105[/TD]
[TD]10/3/2014[/TD]
[TD]10[/TD]
[/TR]
[TR]
[TD]T21458[/TD]
[TD]150[/TD]
[TD]10/3/2014[/TD]
[TD]8[/TD]
[/TR]
</tbody>[/TABLE]
Here is how the 2013 Sheet looks:
[TABLE="class: grid, width: 500, align: left"]
<tbody>[TR]
[TD]Consumption[/TD]
[TD]Read_Date[/TD]
[TD]Meter_No[/TD]
[TD]Notes[/TD]
[/TR]
[TR]
[TD]135[/TD]
[TD]1/3/2013[/TD]
[TD]Z10587[/TD]
[TD]LHS[/TD]
[/TR]
[TR]
[TD]87[/TD]
[TD]1/3/2013[/TD]
[TD]T21458[/TD]
[TD]Driveway[/TD]
[/TR]
</tbody>[/TABLE]
and so on. Can someone please suggest a way to do this? All the tables have the same column names (Meter_No and Consumption) if that helps. The other columns are irrelevant
Thanks
I have several tables with water meter readings in them, and I am trying to create a single summary table that shows the water meter readings over the past several years.
Not all tables have the same number of columns, and they are not in the same order, so a vlookup wont work (as far as im aware) as I would have to write it different for each sheet.
I am wondering if I can write a formula to read the water meter number from the current table [Summary], look at the table called [2014], look in the column labeled 'Meter_No' for each meter number, read the line of that meter number and bring back the 'consumption' value into the original summary sheet.
Here is how I want my Summary sheet to look:
[TABLE="class: grid, width: 500, align: left"]
<tbody>[TR]
[TD]Meter_No[/TD]
[TD]2014 Consumption[/TD]
[TD]2013 Consumption[/TD]
[TD]2012 Consumption[/TD]
[/TR]
[TR]
[TD]Z10587[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Z104873[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]T321475[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Here is how the 2014 Sheet looks:
[TABLE="class: grid, width: 500, align: left"]
<tbody>[TR]
[TD]Meter_No[/TD]
[TD]Consumption[/TD]
[TD]Read_Date[/TD]
[TD]Route[/TD]
[/TR]
[TR]
[TD]Z10587[/TD]
[TD]105[/TD]
[TD]10/3/2014[/TD]
[TD]10[/TD]
[/TR]
[TR]
[TD]T21458[/TD]
[TD]150[/TD]
[TD]10/3/2014[/TD]
[TD]8[/TD]
[/TR]
</tbody>[/TABLE]
Here is how the 2013 Sheet looks:
[TABLE="class: grid, width: 500, align: left"]
<tbody>[TR]
[TD]Consumption[/TD]
[TD]Read_Date[/TD]
[TD]Meter_No[/TD]
[TD]Notes[/TD]
[/TR]
[TR]
[TD]135[/TD]
[TD]1/3/2013[/TD]
[TD]Z10587[/TD]
[TD]LHS[/TD]
[/TR]
[TR]
[TD]87[/TD]
[TD]1/3/2013[/TD]
[TD]T21458[/TD]
[TD]Driveway[/TD]
[/TR]
</tbody>[/TABLE]
and so on. Can someone please suggest a way to do this? All the tables have the same column names (Meter_No and Consumption) if that helps. The other columns are irrelevant
Thanks