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

Solved/Closed
Related:

- When the field is =N, want to subtract that field
- Toggle field codes - Guide
- How to make field in little alchemy 2 - Guide
- Far-field voice interaction samsung - Guide
- Battle field 2024 - Download - Shooters

## 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)

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)

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.

=(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.

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!

Thanks again!