Hi there,
I have hit a slight snag...
On the datasheet I need to retrieve numbers from, I have months running down Column A and payroll numbers running down Column B and account codes running across row 2. The problem is I need it to sum based on column A, month and column B, payroll number (a payroll number may appear twice in any given month), and the account codes in row 2 only ever appear once.
On my main sheet, I require a lookup which uses the indirect function to reference the datasheet and retrieve based on these three variable criterion defined on my main sheet (for example month will change).
Month (datasheet column A) - I need to sum based on this,
Payroll number (datasheet column B) - I need to sum based on this and
Account code (datasheet row 2).
Is there a formula I could setup to do this for me? If any of this is not clear enough, please let me know.
I’d appreciate any help anyone is able to offer on this.
Cheers,
Darren
I have hit a slight snag...
On the datasheet I need to retrieve numbers from, I have months running down Column A and payroll numbers running down Column B and account codes running across row 2. The problem is I need it to sum based on column A, month and column B, payroll number (a payroll number may appear twice in any given month), and the account codes in row 2 only ever appear once.
On my main sheet, I require a lookup which uses the indirect function to reference the datasheet and retrieve based on these three variable criterion defined on my main sheet (for example month will change).
Month (datasheet column A) - I need to sum based on this,
Payroll number (datasheet column B) - I need to sum based on this and
Account code (datasheet row 2).
Is there a formula I could setup to do this for me? If any of this is not clear enough, please let me know.
I’d appreciate any help anyone is able to offer on this.
Cheers,
Darren