Hi,
A formula-based solution is quite straightforward if you have Excel 2016 (with an Office 365 subscription).
If not, it's a little more difficult and restricted to strings of no more than 15 characters in length, with this array formula**:
=SUBSTITUTE(SUBSTITUTE(TEXT(NPV(-0.9,ISNUMBER(MATCH(MID(A1,1+LEN(A1)-ROW(INDIRECT("1:"&LEN(A1))),1),{"A";"E";"I";"O";"U"},0))/10),REPT(0,LEN(A1))),1,"V"),0,"C")
Regards
**Array formulas are not entered in the same way as 'standard' formulas. Instead of pressing just ENTER, you first hold down CTRL and SHIFT, and only then press ENTER. If you've done it correctly, you'll notice Excel puts curly brackets {} around the formula (though do not attempt to manually insert these yourself).