I do a number of invoices each month that are based in part of billings from utility companies. The billings show the electrical meter or gas meter usage for various buildings. I use these readings to determine how much each tenet must pay for their share.
To do this I have worksheets for each of the utility companies. I add a new ROW for each month's entries. Once all of the utility company data has been entered, I have separate worksheets for each tenet, which draw from the utility company data.
For example, to get the total amount of electrical usage for a given month, I might have the following:
where "N15" is the current month reading and "N14" is the prior month reading.
After entering all of the Utility Company info each month, I must manually change each formula, such as to the following:
Instead, what I would like to do is write a VLOOKUP formula where the first article (DATE) would change based on the content of a specified cell.
For example, on tenet Bob's billing worksheet, I had already entered the date of the billing -- e.g. "March 2014". Thus, to obtain the correct data from the utility company workseet, I would like the first article of the VLOOKUP formula to automatically change to the current month, i.e. "March 2014".
Any help with this would be greatly appreciated!
To do this I have worksheets for each of the utility companies. I add a new ROW for each month's entries. Once all of the utility company data has been entered, I have separate worksheets for each tenet, which draw from the utility company data.
For example, to get the total amount of electrical usage for a given month, I might have the following:
=MeterReadings!N15-MeterReadings!N14
where "N15" is the current month reading and "N14" is the prior month reading.
After entering all of the Utility Company info each month, I must manually change each formula, such as to the following:
=MeterReadings!N16-MeterReadings!N15
Instead, what I would like to do is write a VLOOKUP formula where the first article (DATE) would change based on the content of a specified cell.
For example, on tenet Bob's billing worksheet, I had already entered the date of the billing -- e.g. "March 2014". Thus, to obtain the correct data from the utility company workseet, I would like the first article of the VLOOKUP formula to automatically change to the current month, i.e. "March 2014".
Any help with this would be greatly appreciated!