A
Alan Beban
Harlan Grove wrote:. . > . . .but note that your parameter to omit
blanks only eliminates
No. Despite the fact that empty cells are recorded as Empty, the
Dictionary Add Method treats zero-length strings and empty cells both
the same; it loads "" into the dictionary, and once it's loaded either,
it won't load the other. So the optional ArrayUniques parameter does
indeed eliminate both "" and Empty.
Alan Beban
blanks only eliminates
zero-length strings. If the input array were a range, and that range
contained blank cells (in the ISBLANK sense), those cells would be
recorded as Empty rather than "", so using your optional parameter
wouldn't eliminate them. My point is that IF a user would want to
eliminate both "" and Empty, it's more efficient to reduce the array
to the distinct values POSSIBLY INCLUDING "" and Empty, then eliminate
the at most single remaining "" and Empty items.
No. Despite the fact that empty cells are recorded as Empty, the
Dictionary Add Method treats zero-length strings and empty cells both
the same; it loads "" into the dictionary, and once it's loaded either,
it won't load the other. So the optional ArrayUniques parameter does
indeed eliminate both "" and Empty.
Alan Beban