Liberty Prime
New Member
- Joined
- Dec 18, 2017
- Messages
- 18
Hi there
I hope you can help me with the following thing I'm (unsuccessfully) dealing with.
I'm updating on a daily basis a report with a list of values based on a date, values which I want to sum for a given time frame, though only if they match certain criteria (with other words, the sum of all the expenses from day 1st of the month to for example the day 14th, attributed to the account A). The account will be always the same, but the time frame will be changing and the upper limit selected from a dropdown list (the minimum will be always the day 1 of the month). It seems like a SUMIF with two criterias, but a bit more complicated than usual.
For another report I have a different formula that may help in this case and I use to pull the values of a cell for an exact day. If I could add a SUMIF there it would be awesome. It seems as follows:
=INDEX('Input'!G:G,MATCH(A7&B7(DATE(YEAR('Input'!$B$2),MONTH(DATEVALUE('Input'!$B$2)),$C$2)),'Input'!A:A&'!B:B&'Input'!C:C,0)))
As a legend:
* Input!G:G is the column with the expenses
* A7&B7 the account to be checked
* Input!$B$2 contains the month, year and starting date of the range
* $C$2 is the cell with the day to be checked
* Input!C:C is the column containing the date
Thanks in advance!
I hope you can help me with the following thing I'm (unsuccessfully) dealing with.
I'm updating on a daily basis a report with a list of values based on a date, values which I want to sum for a given time frame, though only if they match certain criteria (with other words, the sum of all the expenses from day 1st of the month to for example the day 14th, attributed to the account A). The account will be always the same, but the time frame will be changing and the upper limit selected from a dropdown list (the minimum will be always the day 1 of the month). It seems like a SUMIF with two criterias, but a bit more complicated than usual.
For another report I have a different formula that may help in this case and I use to pull the values of a cell for an exact day. If I could add a SUMIF there it would be awesome. It seems as follows:
=INDEX('Input'!G:G,MATCH(A7&B7(DATE(YEAR('Input'!$B$2),MONTH(DATEVALUE('Input'!$B$2)),$C$2)),'Input'!A:A&'!B:B&'Input'!C:C,0)))
As a legend:
* Input!G:G is the column with the expenses
* A7&B7 the account to be checked
* Input!$B$2 contains the month, year and starting date of the range
* $C$2 is the cell with the day to be checked
* Input!C:C is the column containing the date
Thanks in advance!