laurenwydo
New Member
- Joined
- May 16, 2024
- Messages
- 5
- Office Version
- 365
- Platform
- Windows
I already have the formula, I just need it to exclude cells with a 0.
=COUNTIFS(Cash!Q:Q, "2", Cash!F:F, "1")/COUNTIFS(Cash!F:F, "1")
Basically, in the Q:Q range, there's either a 1, 2 or 0. At the moment there is one "2" and eight "1" and I want the output of the formula to provide me 11% (1/9), but its counting all the cells with 0, which there are 9, and providing 6% (1/18).
Any help would be greatly appreciated!
=COUNTIFS(Cash!Q:Q, "2", Cash!F:F, "1")/COUNTIFS(Cash!F:F, "1")
Basically, in the Q:Q range, there's either a 1, 2 or 0. At the moment there is one "2" and eight "1" and I want the output of the formula to provide me 11% (1/9), but its counting all the cells with 0, which there are 9, and providing 6% (1/18).
Any help would be greatly appreciated!