# Need help creating a yes or no smartsheet with result as a percent of amount of yes and no

Need help creating a yes or no smartsheet with result as a percent of amount of yes and no

• Employee

Hi Arturo,

Would you be able to explain your situation a little more? Do you mean that you have a number of columns, each with either "Yes" or "No" and you want to return a percentage at the end of that row?

If so, you could use a COUNTIF formula divided by the number of columns/answers you have.

Try something like this:

=COUNTIF([First Column]@row:[Last Column]@row, "Yes") / 10

In my example above, I pretended there were 10 columns (which is why I divided the result by 10). The range is from the First Column to the Last Column in that specific row. Then, since this will return a decimal, make sure that the column the formula is placed in is set to be a Percentage from the toolbar menu at the top.

You can use the same formula but replace the "Yes" with "No" to find out the percentage of Nos. Does that make sense?

Here are some Help Center articles that you may find useful:

Cheers!

Genevieve