ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   how do I re-code nominal data into numeric values (https://www.excelbanter.com/excel-discussion-misc-queries/203872-how-do-i-re-code-nominal-data-into-numeric-values.html)

No time to waste, please help!

how do I re-code nominal data into numeric values
 
Hi, I have a lot of data from an electronic survey that needs coding into
numeric values and was wondering if there are any EXCEL formulas or macros or
something that are able to do this? The closest thing I've found is a Logic
function but i need more than the option of providing "true or false". For
example, one of my scales had five points ranging from never - always. I need
to be able to change never = 0, rarely = 1, sometimes = 2, mostly = 3, and
always = 4. It will take me days to re-code it all manually I need - HELP!

Max

how do I re-code nominal data into numeric values
 
Source data assumed in A1 down, eg: sometimes
In B1:
=VLOOKUP(A1,{"never",0;"rarely",1;"sometimes",2;"m ostly",3;"always",4},2,0)
Copy down as far as required
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:18,100 Files:360 Subscribers:56
xdemechanik
---
"No time to waste, please help!" wrote:
Hi, I have a lot of data from an electronic survey that needs coding into
numeric values and was wondering if there are any EXCEL formulas or macros or
something that are able to do this? The closest thing I've found is a Logic
function but i need more than the option of providing "true or false". For
example, one of my scales had five points ranging from never - always. I need
to be able to change never = 0, rarely = 1, sometimes = 2, mostly = 3, and
always = 4. It will take me days to re-code it all manually I need - HELP!


No time to waste, please help![_2_]

how do I re-code nominal data into numeric values
 
Thanks Max sooo much, very very much appreciated! The thought of having to do
all of it manually was too distressing! My hero! xx

"Max" wrote:

Source data assumed in A1 down, eg: sometimes
In B1:
=VLOOKUP(A1,{"never",0;"rarely",1;"sometimes",2;"m ostly",3;"always",4},2,0)
Copy down as far as required
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:18,100 Files:360 Subscribers:56
xdemechanik
---
"No time to waste, please help!" wrote:
Hi, I have a lot of data from an electronic survey that needs coding into
numeric values and was wondering if there are any EXCEL formulas or macros or
something that are able to do this? The closest thing I've found is a Logic
function but i need more than the option of providing "true or false". For
example, one of my scales had five points ranging from never - always. I need
to be able to change never = 0, rarely = 1, sometimes = 2, mostly = 3, and
always = 4. It will take me days to re-code it all manually I need - HELP!


Max

how do I re-code nominal data into numeric values
 
Welcome, glad it helped.
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:18,100 Files:360 Subscribers:56
xdemechanik
---
"No time to waste, please help!"
wrote in message
...
Thanks Max sooo much, very very much appreciated!
The thought of having to do all of it manually was too distressing!
My hero! xx





All times are GMT +1. The time now is 04:39 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com