Hi all-
I am looking for your expertise regarding help creating a dynamic sumif formula that could change which columns it sums based on input criteria.
The criteria is a date that I want to set it to, so say October 2011 is column G and December 2014 is column AD. If the user selects December 2014 I want the sumif to sum column AD.
There is one other twist to this request. The data set (i.e. the set of data relating to the months Column G and Column AD) will be growing, more columns as more dates pass and more rows as moer data is added. Is there a way to do this with offsets and match that it could work?\
Below is the current formula I have which is not working.
Thanks for your help. Even if you could help by creating a dummy formula, I could then adapt it to my model.
Thanks,
nwd9s
I am looking for your expertise regarding help creating a dynamic sumif formula that could change which columns it sums based on input criteria.
The criteria is a date that I want to set it to, so say October 2011 is column G and December 2014 is column AD. If the user selects December 2014 I want the sumif to sum column AD.
There is one other twist to this request. The data set (i.e. the set of data relating to the months Column G and Column AD) will be growing, more columns as more dates pass and more rows as moer data is added. Is there a way to do this with offsets and match that it could work?\
Below is the current formula I have which is not working.
Code:
=sumif(OFFSET('Lease Rental Data'!A1,MATCH(B3,OFFSET('Lessee Data'!A:A,0,MATCH(I3,'Lessee Data'!3:3,0)-1),0)-1,MATCH(I3,'Lessee Data'!3:3,0)-1),B3,)
Thanks for your help. Even if you could help by creating a dummy formula, I could then adapt it to my model.
Thanks,
nwd9s