Forum Discussion
combine sum logic if a cell contains certain text & exclude adding if has certain text
- Jan 06, 2024
Does the attached version return the intended result?
rservice0320 As I see it, your formula first looks for if A10 contains "ppr". If so, it sums the values from the where the ref# equals A10 (i.e. "PPR1") AND where the project ID equals B10 (i.e. 1234). And then some more conditions for looking at dates.
There is only one ref# PPR1 with project 1234 and it amounts to 7000, which is the result of the formula.
I've added a few formulas to your file and hope that you can use them to rebuild your own. If not, please com back here and clarify your intentions and the expected end result.
- Riny_van_EekelenJan 06, 2024Platinum Contributor
rservice0320 I merely pointed out a basic flaw in your formula as I was not sure what you were trying to achieve. Still don't really understand. Sorry.
I removed the "Best reply" for you.