When the field is =N, want to subtract that field

Solved/Closed
JBALLEST - Updated on May 30, 2018 at 05:35 PM
 Blocked Profile - May 31, 2018 at 04:18 PM
Hello,

This formula works, but when the field is =N, I want to subtract that field. What could I add to this formula to make that work?

=(COUNTIFS(TRACKER!$D$3:$D$94,"=A",TRACKER!E$3:E$94,"=X")/COUNTIFS(TRACKER!$D$3:$D$94,"=A"))
Related:

3 responses

Easiest solution is to have another cell, and calculate for N. Now subtract that total from the sum above. Speed to market and low tech!

Of course, you can always create your own function in VBA, and use it.

Would you like to use something like:
=COUNTENTRY(RANGE,FIRST_VALUE_TO_TEST_FOR,SECOND_VALUE_TO_delete)


0
I was able to work through the process and came up with this formula.

=(COUNTIFS(TRACKER!$D$3:$D$94,"=A",TRACKER!E$3:E$94,"=X"))/(COUNTIFS(TRACKER!$D$3:$D$94,"=A")-(COUNTIFS(TRACKER!$D$3:$D$94,"=A",TRACKER!E$3:E$94,"=N")))

Problem solved.
0
Blocked Profile
May 31, 2018 at 04:18 PM
Its funny...I had almost the same thing needed in my office this morning, and when I thought about it, the working formula is exactly what you posted as the fix. Great job. Thanks for the return and the solving, as I was delighted to read you had figured it out. I was returning to post the subtraction portion, and you beat me to it!

Thanks again!
0