Converting Text to Numbers

G

Guest

I am working on expanding a survey that has rankings such as:
1 - Poor
2 - Fair
3 - Good
4 - Very Good
5 - Outstanding
N/A
Voice Mail

I have been requested to create a report that will show the average scores.
Can anyone tell me how to convert these to numbers that I can then get an
average of.

Thank you.
 
G

Guest

Use the Val function. It extracts numbers at the beginning of strings until
it hits something that isn't a number or period. for example:

Val("5 - Outstanding") = 5

N/A and Voice Mail will both return 0.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top