gino59
Active Member
- Joined
- Jul 26, 2010
- Messages
- 496
Hi all, I have the following formula which returns a sum from a table using two dates. I'm trying to add in an extra condition which is to sum between those two dates if the value in a cell equals a set value.
The formula is:
=sumproduct((mData[DATE]>=datevalue(L57))*(mData[DATE]<=datevalue(L58))*(mData[DEBIT]))
I'm trying to figure out how to add the new criteria which is looking in the same mData table [TRANS] column. In other words, look for the value in cell L59 which for example is Acct1xyz and sum all values from the debit column where the TRANS column = Acct1xyz and the dates are between the values in cell L57 and L58.
Clear as mud, huh? I hope someone can help!!!
Many, many thanks!
Gino
The formula is:
=sumproduct((mData[DATE]>=datevalue(L57))*(mData[DATE]<=datevalue(L58))*(mData[DEBIT]))
I'm trying to figure out how to add the new criteria which is looking in the same mData table [TRANS] column. In other words, look for the value in cell L59 which for example is Acct1xyz and sum all values from the debit column where the TRANS column = Acct1xyz and the dates are between the values in cell L57 and L58.
Clear as mud, huh? I hope someone can help!!!
Many, many thanks!
Gino