+ Reply to Thread
Results 1 to 4 of 4

Converting letters to numbers (N and Y to 0 and 1)

  1. #1
    Registered User
    Join Date
    08-20-2008
    Location
    Buffalo
    Posts
    2

    Converting letters to numbers (N and Y to 0 and 1)

    Hi there-

    I have a column of data that consists of Ns and Ys - I need to convert it to numbers so that N=0 and Y=1. I've tried Googling and searching this forum, but can't seem to find a solution that I can get to work.

    Any help would be much appreciated!

  2. #2
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,483
    Can you not use plain old Find and Replace (CTRL+H)

    Select the column and ensure the Match entire contents is checked.
    Cheers
    Andy
    www.andypope.info

  3. #3
    Registered User
    Join Date
    08-21-2008
    Location
    ll
    Posts
    3
    You could create a new series, and use "if statements".

    i.e.
    if(a2 = "N", 0 , 1)

  4. #4
    Registered User
    Join Date
    08-20-2008
    Location
    Buffalo
    Posts
    2

    Thanks!

    Andy, you're a genius!

    I feel like a dweeb - that solution was so simple, it didn't even occur to me! Haha... it worked like a charm, thanks so much.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Sum a range of cells containing numbers with letters concatenated
    By KernelK in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-22-2008, 06:18 AM
  2. Searching and Sorting a list of data (numbers and letters) in excel
    By bramble in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 04-25-2008, 06:54 PM
  3. Coding numbers to letters
    By guyzk1 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-14-2008, 06:03 PM
  4. compare numbers and letters in same cell
    By Duncan1 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-18-2007, 01:15 PM
  5. Converting numbers to letters
    By jolumbo in forum Excel General
    Replies: 3
    Last Post: 12-05-2006, 11:34 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1