G
Guest
I'm trying to get a function to return the mode of a range, but unlike the
standard MODE() built into excel I need it to work with text strings. I
already know of a couple ways to do this with built-in Excel functions
(below) but the problem is these get very sluggish when using large ranges.
They also don't work when using ranges with multiple columns.
INDEX(rng,MODE(MATCH(rng,rng,0)))
INDEX(rng,MATCH(MAX(COUNTIF(rng,rng)),COUNTIF(rng,rng),0))
Is there a UDF I can use to do this?
Thanks.
standard MODE() built into excel I need it to work with text strings. I
already know of a couple ways to do this with built-in Excel functions
(below) but the problem is these get very sluggish when using large ranges.
They also don't work when using ranges with multiple columns.
INDEX(rng,MODE(MATCH(rng,rng,0)))
INDEX(rng,MATCH(MAX(COUNTIF(rng,rng)),COUNTIF(rng,rng),0))
Is there a UDF I can use to do this?
Thanks.
