Hi There,
I have a macro which is going down a list of data, finding where the relavant sections start and end, and then I need to feed these back into a formula elsewhere.
What I've got (which doesn't work!) is:
Can anyone spot what I'm doing wrong? Or does anyone know an alternative way to find out the mode for values matching specific criteria?
Thanks!
Ellie-Cat
I have a macro which is going down a list of data, finding where the relavant sections start and end, and then I need to feed these back into a formula elsewhere.
What I've got (which doesn't work!) is:
Code:
mycell.Formula = "=mode(" & Range(rangestart, rangeend) & ")"
Can anyone spot what I'm doing wrong? Or does anyone know an alternative way to find out the mode for values matching specific criteria?
Thanks!
Ellie-Cat