0

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?

1
  • 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 at 19:14

1 Answer 1

0

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

=index(iferror(1/mmult(floor(iferror(1/countifs(
Z2:AC,Z2:AC,
if(column(Z2:AC),row(Z2:AC)),if(column(Z2:AC),row(Z2:AC)),
if(row(Z2:AC),column(Z2:AC)),"<="&if(row(Z2:AC),column(Z2:AC))))),
transpose(column(Z2:AC))^0)^-1))

enter image description here

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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