# Percent Complete from an External Reference

Hello!

I'm working on a project plan for work and have external references to another sheet. I'd like to accomplish a count or countif function to help me with the below:

If "Column X" = "Y" then count the sum of "Y" in that column and divide it by the total rows for a percentage complete.

Meaning, I want to count the amount of "Y"s listed in a column and turn it into a percentage based on the total sum of the items in the column.

I'm sure this was terribly explained so I apologize in advance and appreciate any and all help!

AH

• Overachievers Alumni

Are you looking for something like this?

=IF([Column X]@row = "Y", AVG([Column Y]))

• I received a "#DIVIDE BY ZERO" result when doing the below as suggested:

=IF({NAPA Mock Range 1} = "Y", AVG({NAPA Mock Range 2}))

• Overachievers Alumni

I'm assuming Range 1 is looking at a single cell and Range 2 is looking at the entire column? Is that correct?

## Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!