OK, now I'm confused!yes but....
Basically I want to return "BACK" if a B is found in range D18-D39, but only if at least ONE of the corresponding D cells is less than 5.
If none of the D cells is less than 5 then the formula should return ""
Book1 | |||||
---|---|---|---|---|---|
B | C | D | |||
2 | 100 | _ | A | ||
3 | 100 | _ | D | ||
4 | 2 | _ | B | ||
5 | 300 | _ | M | ||
Sheet1 |
Book1 | |||||
---|---|---|---|---|---|
B | C | D | |||
2 | 100 | _ | B | ||
3 | 100 | _ | D | ||
4 | 100 | _ | A | ||
5 | 2 | _ | M | ||
Sheet1 |
Okay, this raises another question. What if one of the "a" rows had dipped below 5... would you want all the "a" rows to be marked "back", or is this always only for "b" rows?20 a
15 a
4 b back
9 b back
6 a
18 a
20 b back
Hope you can understand above!
Yes the conditions must be on the same row.
only one cell in column B has dropped below 5 (4) and it has a corresponding "B" in column D, but this is enough for all the "B"'s in column D to give a "BACK" result.