+ Reply to Thread
Results 1 to 4 of 4

Excel 2007 : Conversion of Alphanumeric Value to Only Numbers

  1. #1
    Registered User
    Join Date
    06-18-2012
    Location
    The Internet
    MS-Off Ver
    Office 2007
    Posts
    6

    Conversion of Alphanumeric Value to Only Numbers

    Alright, so a bit of background information, I'm creating an index of wireless networks around my neighborhood with the overall goal of [eventually] being able to identify my location using only the signals around me. To do this I am logging the MAC addresses (The unique alphanumeric assigned to every wireless device) of networks at a numerous points (Like, every other house) up and down my street with the house number and all of the MAC addresses my computer can see. From there, I dump it all into Excel, delimit the addresses (Which start out looking like this "c0:83:0a:96:2e:b9") by colons the so I've got the two character pairs spread out over 6 columns. Lastly, I add up the columns and find the correlation with the same sums from my unknown point.

    Now, what I'm having trouble with is, as unique as the values this gives me are, they're not unique enough. I need some way to convert the letters from the MAC addresses into numbers so I can factor them into my calculations, I don't care if they get multiplied or added with the other number in their column, as long as they're part of the end value.

    Hopefully that makes sense; any suggestions?

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,309

    Re: Conversion of Alphanumeric Value to Only Numbers

    Why not use HEX2DEC?

    For example: =HEX2DEC(B1)


    c0:83:0a:96:2e:b9 => c0 83 0a 96 2e b9 => 192 131 10 150 46 185


    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: Conversion of Alphanumeric Value to Only Numbers

    I don't see how summing what are essentially random numbers gives you any useful information at all. If you summed house numbers, you'd at least have some nominal correlation with position.
    Entia non sunt multiplicanda sine necessitate

  4. #4
    Registered User
    Join Date
    06-18-2012
    Location
    The Internet
    MS-Off Ver
    Office 2007
    Posts
    6

    Re: Conversion of Alphanumeric Value to Only Numbers

    TMShucks:
    Fantastic!
    That'll probably work, thank you.

    shg:
    It gives me a unique identifier for each location, that I can cross check with the unknown location.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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