Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Converting text to numbers

0 views
Skip to first unread message

JRD

unread,
Dec 12, 2007, 3:45:01 AM12/12/07
to
IS there a way of converting text in a column of cells to numbers?

e.g.
A
1 None
2 One
3 Two
4 Three
5 Four

How do I convert that to 0,1,2,3,4 in an adjacent column of cells?

John

Mike H

unread,
Dec 12, 2007, 3:51:00 AM12/12/07
to
Hi,

It depends how many of these text values you have but one way is to create a
table of text and numbers like this:-

None 0
One 1
Two 2
three 3
four 4

In my case these are in E1 to F5 and you can add as many as you want to this
list.

To convert a number in A1 put this in B1. To convert a column simply drag down
=VLOOKUP(A1,$E$1:$F$5,2,FALSE)

Mike

0 new messages