this is a dirty fix - but it will work if you don't need too many values
you can't sort out a single word from a sentence
You need to use two columns
assume four values for
first=5,
second=10,
third=15,
four=20
a holds the values
b holds the formula
=if(a1="",0,if(a1="first",5,if(a1="second",10,if(a1="third",15,if(a1="four",20,"")))))
copy the formula down col b
edit the words between the "s and the numbers to suit
I can't remember how many nests you can have
then just sum column b