CodenameAter
New Member
- Joined
- Jul 23, 2014
- Messages
- 30
Would someone explain how to create a formula where I ask whether a particular value is equal to multiple criteria, including anything matching the criteria in any column of an array?
For example, in the made-up data below, I know how to write a COUNTIFS formula to ask if any data in ID1 and ID2 are equal to any other row except the current row and if the data also falls within a particular time window. However, if I want to also ask whether there is a "1" in SB-2, SB-3 or SB-4, the only way I know to do this is by adding criteria for each row. However, this is just an example and the actual data has many SB columns. I was wondering if I could ask if the array starting with SB-2 has the value 1 in any row of that array?
Let me know if this is making sense. Thank you,
For example, in the made-up data below, I know how to write a COUNTIFS formula to ask if any data in ID1 and ID2 are equal to any other row except the current row and if the data also falls within a particular time window. However, if I want to also ask whether there is a "1" in SB-2, SB-3 or SB-4, the only way I know to do this is by adding criteria for each row. However, this is just an example and the actual data has many SB columns. I was wondering if I could ask if the array starting with SB-2 has the value 1 in any row of that array?
Let me know if this is making sense. Thank you,
ID1 | ID2 | DATE&TIME | SB-2 | SB-3 | SB-4 |
A | C | 2021-05-13 11:52:00 | 1 | ||
B | 2021-05-13 11:52:01 | ||||
A | C | 2021-05-13 11:52:02 | |||
D | E | 2021-05-13 11:53:00 | 1 | ||
E | D | 2021-05-13 11:53:14 | 1 | ||
D | E | 2021-05-13 11:53:28 | 1 | ||
E | D | 2021-05-13 11:53:42 | 1 | ||
E | D | 2021-05-13 11:53:56 | 1 | ||
D | E | 2021-05-13 11:54:10 | 1 | ||
E | D | 2021-05-13 11:54:24 | 1 | ||
D | E | 2021-05-13 11:54:38 | 1 | ||
B | C | 2021-05-13 11:54:41 | 1 | ||
B | C | 2021-05-13 11:54:42 | 1 | ||
A | F | 2021-05-13 11:54:45 | 1 | ||
F | A | 2021-05-13 11:54:49 | |||
D | E | 2021-05-13 11:54:56 | 1 | ||
C | B | 2021-05-13 11:54:57 | |||
D | E | 2021-05-13 11:55:08 | 1 | ||
E | D | 2021-05-13 11:55:09 | 1 | ||
D | E | 2021-05-13 11:55:10 | 1 |