How would I turn this formula into an array formula so it automatically populated when a new row is created? =countunique(Z23:AC23)

I need the formula to count the unique properties in a row between cells Z-AC for every new row it creates.

For example, when row 24 has info entered it, I need the formula to automatically run: =countunique(Z24:AC24). Any help here please?

  • Keep in mind that we can't see your spreadsheet. We don't know your layout, data, data types, international locale or end goal. The most efficient way to receive help is to share a link to the spreadsheet (or to a copy of it), with your hand-entered results showing what you want a formula to return.
    – Erik Tyler
    Mar 17, 2022 at 19:14

1 Answer 1


Assuming a range of Z2:AC, try the following in row 2:


enter image description here


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.