So, for example, for purposes, I have the following table:
| | A | B | | |------------|----------| | 1 |Description |Amount | | 2 |------------|----------| | 3 |Item1 | 5.00| | 4 |Item2** | 29.00| | 5 |Item3 | 1.00| | 6 |Item4** | 5.00| | 7 |------------|----------| | 8 |Star Total | 34.00| | 9 |------------|----------|
I want to create a formula in B8 that calculates the sum of the sums if the description of this sum contains "**" (or some other denoting text). In this particular example, I need a formula that returns 34, since only Item2 and Item4 contain "**".
I tried using something like this, but it only worked based on the value in A3:
=SUMIF(A3:A6, ISNUMBER(SEARCH("**", A3)), B3:B6)
Any suggestions would be appreciated!
excel-formula
David
source share