keelaboosa
New Member
- Joined
- Apr 3, 2018
- Messages
- 35
I'm trying to build the MASK column such that a 1 is displayed for the first distinct COMPOUND that has VOL * FLOW > 0, but I can't get it to work in the table using SUM(IF(FREQUENCY constructs; I get a "multi-cell array formulas are not allowed in tables" error.
What other options would I have to build this? I'd like to keep it a formula-based solution rather than VBA so people can follow the logic. I keep the VBA locked and hidden.
<tbody>
</tbody>
What other options would I have to build this? I'd like to keep it a formula-based solution rather than VBA so people can follow the logic. I keep the VBA locked and hidden.
A | B | C | D | |
1 | COMPOUND | VOLUME | FLOW | MASK |
2 | A | 40 | 1 | 1 |
3 | B | 0 | 1 | 0 |
4 | C | 0 | 1 | 0 |
5 | D | 0 | 1 | 0 |
6 | E | 0 | 1 | 0 |
7 | F | 0 | 1 | 0 |
8 | A | 135 | 1 | 0 |
9 | B | 135 | 1 | 1 |
10 | C | 135 | 1 | 1 |
11 | D | 135 | 1 | 1 |
12 | E | 135 | 1 | 1 |
13 | G | 135 | 0 | 0 |
14 | A | 100 | 1 | 0 |
15 | H | 100 | 1 | 1 |
16 | D | 100 | 1 | 0 |
17 | E | 100 | 1 | 0 |
<tbody>
</tbody>