I've tried different things but I'm having trouble finding the correct syntax to accomplish the following
In column A I have text like
brut-230x340x450x50:890_capital
sale-120x100:450_trim
there's always a "-" at the beginning of the line followed by a "_" towards the end
these markers do not appear elsewhere on the line, ever
I would like to count the number of x and : between the 2 markers, for example 4 is the answer for the first line and 2 for the second
I can't seem to get the correct vba coding unfortunately
Thank you for any help
In column A I have text like
brut-230x340x450x50:890_capital
sale-120x100:450_trim
there's always a "-" at the beginning of the line followed by a "_" towards the end
these markers do not appear elsewhere on the line, ever
I would like to count the number of x and : between the 2 markers, for example 4 is the answer for the first line and 2 for the second
I can't seem to get the correct vba coding unfortunately
Thank you for any help