Title Edit - Return Lookup value *ONLY if column matches criteria?
I have multiple tabs for each department. Within each tab, I have information that I want to lookup based on column A. This is a simple VLOOKUP. However, because I don't want to have to manually enter all of these formulas for the multiple tabs, I'd like to reference a cell in the tab that will be my column reference for VLOOKUP. Is this possible? If tried SUMIFS but that doesn't seem to work either. Example:
Dept - 01 Jan Feb Mar VALUE 1 VALUE 2 VALUE 3
My data source for the VLOOKUP has the Dept # for the column header. Each tab is a difference department. Each column of the table will reference a different lookup table. I want my column reference in the VLOOKUP formula to be based on the Dept # (cell A1 in the example).
I tried SUMIFS but I received an #VALUE error. I think this is because my sum range is more than one column, and my second criteria (dept #) is a row instead of a column.
HELP?
*Attached is a sample workbook. Notice in my VLOOKUP my column reference is "2". Since I need to populate about 50 tabs with this information, I would like to reference the Dept # cell and use that as my column reference.
Bookmarks