Hello
I have a table (extract below) and I am trying to do a sumif to find in-stock items and then deduct 10% from each price before summing the result.
I can do a sumif for the actual price (=SUMIF(Table1[stock],"in",Table1[price])) but I can't work out how to deduct 10% from each price first.
Can anyone help?
Thank you
| id | stock | price |
| -- | ----- | ----- |
| 1 | in | 6.8 |
| 2 | out | 5.9 |
| 3 | out | 18.5 |
| 4 | in | 6.2 |
| 5 | out | 18 |
| 6 | out | 5 |
| 7 | in | 7.8 |
| 8 | in | 6.6 |
| 9 | in | 9.6 |
| 10 | out | 3.7 |
| 11 | out | 12.5 |
| 12 | in | 4.6 |
| 13 | out | 14 |
| 14 | in | 17.5 |
| 15 | in | 10.5 |
| 16 | out | 13.5 |
I have a table (extract below) and I am trying to do a sumif to find in-stock items and then deduct 10% from each price before summing the result.
I can do a sumif for the actual price (=SUMIF(Table1[stock],"in",Table1[price])) but I can't work out how to deduct 10% from each price first.
Can anyone help?
Thank you
| id | stock | price |
| -- | ----- | ----- |
| 1 | in | 6.8 |
| 2 | out | 5.9 |
| 3 | out | 18.5 |
| 4 | in | 6.2 |
| 5 | out | 18 |
| 6 | out | 5 |
| 7 | in | 7.8 |
| 8 | in | 6.6 |
| 9 | in | 9.6 |
| 10 | out | 3.7 |
| 11 | out | 12.5 |
| 12 | in | 4.6 |
| 13 | out | 14 |
| 14 | in | 17.5 |
| 15 | in | 10.5 |
| 16 | out | 13.5 |