# COUNTIF EXCEPT

Options
edited 12/09/19

Hello, could you help me find a formula that counts all except "x".

I have a Column that has data such as: dates, "ok" and "N/A". I try using the Countif formula but cant seem to figure how to have it count all except the "N/A" information.

I´d appreciate the help.

Thank you!

Tags:

• ✭✭
Options

You could use COUNTIFS with OR to count everything that is either a date or text, and NOT to not count the "N/A" cells:

=COUNTIFS([Column Name]:[Column Name], OR(ISDATE(@cell), ISTEXT(@cell)), [Column Name]:[Column Name], NOT(@cell = "N/A"))

• ✭✭✭✭✭✭
Options

Hi Elena,

Try something like this.

This formula might work but it depends on what is included in your column.

=COUNTIF([Column Name]:[Column Name]; <>"N/A")

The same version but with the below changes for your and others convenience.

=COUNTIF([Column Name]:[Column Name], <>"N/A")

Depending on your country you’ll need to exchange the comma to a period and the semi-colon to a comma.

Would that work?

Have a fantastic week!

Best,

Andrée Starå

Workflow Consultant @ Get Done Consulting

SMARTSHEET EXPERT CONSULTANT & PARTNER

Andrée Starå | Workflow Consultant / CEO @ WORK BOLD

W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35

Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.

• Options

I want to count all rows with the [assigned to] person except where the [customer declined] box is checked.

This formula gives me an "Invalid Operation"

=COUNTIFS({520.07db Qualified Testing Facility Databa Range 1}, [Master Planner]@row, NOT({520.07db Qualified Testing Facility Datab Range 11} = 1))

• ✭✭✭✭✭✭
edited 04/16/20
Options

Hi Pam,

You just need to change the end of your formula to:

=COUNTIFS({520.07db Qualified Testing Facility Databa Range 1}, [Master Planner]@row, NOT({520.07db Qualified Testing Facility Datab Range 11},0)

Did that work?

I hope that helps!

Be safe and have a fantastic week!

Best,

Andrée Starå

Workflow Consultant / CEO @ WORK BOLD

SMARTSHEET EXPERT CONSULTANT & PARTNER

Andrée Starå | Workflow Consultant / CEO @ WORK BOLD

W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35

Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.

## Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!