I have an array of data (D6:O36). The data is arranged by day of the week. These are listed in column G and the 31 rows are listed over 5 days (Saturday-Wednesday).
I'm looking for a way that I can tell Excel to look through G:G (the total number of rows needs to be dynamic) and return the number of unique days, which in this case is 5, so that I can use this value later on in some other code.
Hard coding this isn't an option given that the data needs to be dynamic. It's always so complicated ...
I'm looking for a way that I can tell Excel to look through G:G (the total number of rows needs to be dynamic) and return the number of unique days, which in this case is 5, so that I can use this value later on in some other code.
Hard coding this isn't an option given that the data needs to be dynamic. It's always so complicated ...