T
tbar38547
I am trying to create a formula to do the following:
I have a data sheet that contains cost information. The information
contains a project number and an account number. I want a "nested lookup"
type of function that says, "If the project number equals X and the account
number equals y, give me the sum of the records. I have a sheet for each
project and the project number is in a cell that will be referenced in the
formula. Multiple account numbers are in each project sheet and those will
be used as references, also. The goal is to set up formulas that use lookup
functionality so I can import a data sheet every month and just do a mass
search and replace for the new sheet name in the formula, but no formula
adjustments are needed. I have experimented with sumif, index, nested If
statements, combinations using sum with and functions, etc. I haven't yet
found the answer, but I'm sure someone has. Any help would be appreciated.
I have a data sheet that contains cost information. The information
contains a project number and an account number. I want a "nested lookup"
type of function that says, "If the project number equals X and the account
number equals y, give me the sum of the records. I have a sheet for each
project and the project number is in a cell that will be referenced in the
formula. Multiple account numbers are in each project sheet and those will
be used as references, also. The goal is to set up formulas that use lookup
functionality so I can import a data sheet every month and just do a mass
search and replace for the new sheet name in the formula, but no formula
adjustments are needed. I have experimented with sumif, index, nested If
statements, combinations using sum with and functions, etc. I haven't yet
found the answer, but I'm sure someone has. Any help would be appreciated.