Hi
I have the following formula:
=SUMIFS(marginjuly,conjuly,K$1)
where K$1 is the name of the consultant,
This currently looks at my data in "marginjuly" and adds up all the results of matching consultant
eg:
Consultant Name
<tbody>
</tbody>
The formula nicely gets me the consultant margin for the month indicated, but i would like to be able to change the month and have the formula change with the month variable.
so august would need to look like this: =SUMIFS(marginaugust,conaugust,K$1)
How can I selected a range within the formula based on a date variable.
I know i could possibly change my raw data and simply use multiple criteria in the sumifs formula, however I already have this set up in names ranges throughout spreadsheet.
Thanks
Peter
I have the following formula:
=SUMIFS(marginjuly,conjuly,K$1)
where K$1 is the name of the consultant,
This currently looks at my data in "marginjuly" and adds up all the results of matching consultant
eg:
Consultant Name
consjuly | marginjuly | Month | |
Peter | 1000 | July | |
Peter | 500 | July | |
John | 1200 | July | |
Sue | 11 | July | |
John | 500 | July | |
Peter | 750 | July | |
Peter | 955 | July | |
John | 300 | July | |
Sue | 50 | July |
<tbody>
</tbody>
The formula nicely gets me the consultant margin for the month indicated, but i would like to be able to change the month and have the formula change with the month variable.
so august would need to look like this: =SUMIFS(marginaugust,conaugust,K$1)
How can I selected a range within the formula based on a date variable.
I know i could possibly change my raw data and simply use multiple criteria in the sumifs formula, however I already have this set up in names ranges throughout spreadsheet.
Thanks
Peter