Hi
This is my first time posting here. I was hoping to get some help with constructing a sumif or sumproduct formula that could help me with consolidating multiple sheets within a workbook. For example, i will have a YTD sheet in the beginning of the workbook and a trailing sheets for each day of the month. I have multiple locations (identical for each sheet) on every sheet. Each location will have its own column. The very first column on each sheet will have a list of revenue and expense accounts. I wanted to try and use a sumif or sumproduct formula to help sum all amounts on my YTD leading sheet for any given account. I was hoping to build a range in the formula so that i could add/delete sheets within the workbook and not have the formula affected. I was only successfull by adding multiple sumif formulas together (=sumif(A3:A5,"supplies expense",Jan!B3:B5)+sumif(A3:A5,"supplies expense",Feb!B3:B5) etc. I was hoping to be able to use the name of the revenue/expense account in the formula in case my different monthly sheets did not contain the same amount of rows. In the above example, i could not make the formula do a range from sheet Jan - Dec for example but instead had to add them up one at a time. Also, is there a way to possibly add a horizontal lookup to this formula so that it could look at every sheet in my range and only at the name of a particular location (column)? I have uploaded a simple example of the layout of what i was trying to use the formula on. Sorry for such a long post.
Thanks.
Jeremy
Bookmarks