Hi All, hope you're well.
I cannot get this formula to work and don't get anything useful from evaluation etc:
=INDEX(Theme,MODE(IF((ReceivedDate>=DATEVALUE(W7))*(ReceivedDate<DATEVALUE(Y7))*(Product="*Tin*"),MATCH(Theme,Theme,0))))
What I'm trying to do is to return the most occurring entry from the named range 'theme' where:
the date (listed in named range ReceivedDate) is greater than or equal to the date as specified in W7
and
the date is also less than the date held in Y7
and
the product name, held in a named range 'product', contains 'tin' (using wildcards as can span several - Tin hat, Tin pan, Gal tin etc.
Any ideas on how to fix or better way to do it?
Many thanks,
I cannot get this formula to work and don't get anything useful from evaluation etc:
=INDEX(Theme,MODE(IF((ReceivedDate>=DATEVALUE(W7))*(ReceivedDate<DATEVALUE(Y7))*(Product="*Tin*"),MATCH(Theme,Theme,0))))
What I'm trying to do is to return the most occurring entry from the named range 'theme' where:
the date (listed in named range ReceivedDate) is greater than or equal to the date as specified in W7
and
the date is also less than the date held in Y7
and
the product name, held in a named range 'product', contains 'tin' (using wildcards as can span several - Tin hat, Tin pan, Gal tin etc.
Any ideas on how to fix or better way to do it?
Many thanks,