+ Reply to Thread
Results 1 to 10 of 10

Excel 2007 : Hex to Binary

  1. #1
    Registered User
    Join Date
    02-07-2012
    Location
    Los angeles, Ca
    MS-Off Ver
    Excel 2007
    Posts
    8

    Hex to Binary

    I want to convert Hex to Binary. I want the Binary in 8 different cells.
    The hex input would be lets say A1 I would want to convert that
    to eight different cells Bit7 G10, Bit6 G12, Bit5 G14, Bit4 G16, Bit3 E10, Bit2 E12, Bit1 E14 and Bit0 E16.

    Then I want another Hex input on A2 and convert that to eight diferent cells.
    Bit7 K10, Bit6 K12, Bit5 K14, Bit4 K16, Bit3 I10, Bit2 I12, Bit1 I14 and Bit0 I16.

    How would I do This?

  2. #2
    Forum Expert tigeravatar's Avatar
    Join Date
    03-25-2011
    Location
    Colorado, USA
    MS-Off Ver
    Excel 2003 - 2013
    Posts
    5,361

    Re: Hex to Binary

    dfoster,

    Attached is an example workbook based on the criteria you described. The contents of rows 7 and 8 are optional, and just used to easily show what the hex and its corresponding bin is.
    Attached Files Attached Files
    Last edited by tigeravatar; 02-07-2012 at 04:42 PM.
    Hope that helps,
    ~tigeravatar

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Registered User
    Join Date
    02-07-2012
    Location
    Los angeles, Ca
    MS-Off Ver
    Excel 2007
    Posts
    8

    Re: Hex to Binary

    How would I input the Binary to the yellow cells
    Attached Files Attached Files

  4. #4
    Forum Expert OnErrorGoto0's Avatar
    Join Date
    12-30-2011
    Location
    I DO NOT POST HERE ANYMORE
    MS-Off Ver
    I DO NOT POST HERE ANYMORE
    Posts
    1,655

    Re: Hex to Binary

    =LEFT(F7,1)
    to get the leftmost bit
    =MID(F7,2,1)
    to get the second bit and so on. You will need to format the yellow cells as General rather than text in order to enter the formulas, though.
    Good luck.

  5. #5
    Registered User
    Join Date
    02-07-2012
    Location
    Los angeles, Ca
    MS-Off Ver
    Excel 2007
    Posts
    8

    Re: Hex to Binary

    I don't understand. I formated cells in general.
    Attached Files Attached Files

  6. #6
    Forum Expert OnErrorGoto0's Avatar
    Join Date
    12-30-2011
    Location
    I DO NOT POST HERE ANYMORE
    MS-Off Ver
    I DO NOT POST HERE ANYMORE
    Posts
    1,655

    Re: Hex to Binary

    I am assuming this is the sort of thing you had in mind? (I have only done one binary value)
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    02-07-2012
    Location
    Los angeles, Ca
    MS-Off Ver
    Excel 2007
    Posts
    8

    Re: Hex to Binary

    Quote Originally Posted by OnErrorGoto0 View Post
    I am assuming this is the sort of thing you had in mind? (I have only done one binary value)
    Yes something on that order.Thanks!

  8. #8
    Registered User
    Join Date
    02-12-2014
    Location
    kerman
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: Excel 2007 : Hex to Binary

    I want to convert Hex B000 to Binary.

  9. #9
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Excel 2007 : Hex to Binary

    Quote Originally Posted by kasrarezaie View Post
    I want to convert Hex B000 to Binary.
    Pls start your own thread as per forum rules.
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  10. #10
    Registered User
    Join Date
    02-12-2014
    Location
    kerman
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: Excel 2007 : Hex to Binary

    i 'm please

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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