Unfortunately I get "The formula you typed contains an error.". Don't know what I'm doing wrong. Maybe you could attach the excel file to the reply?

Thank you again for your time and effort!