1. You are viewing our forum as a guest. For full access please Register. WindowsBBS.com is completely free, paid for by advertisers and donations.

What does a colon do in MS Excel?

Discussion in 'Other PC Software' started by Roger at CCCC, 2007/07/04.

  1. 2007/07/04
    Roger at CCCC

    Roger at CCCC Inactive Thread Starter

    Joined:
    2003/05/22
    Messages:
    234
    Likes Received:
    0
    I've used MS Excel for a long time, but I encountered something new the other day. I was trying to enter the contrast ratio for an LCD screen into a cell in my Excel spreadsheet. The contrast ratio was 700:1. But as soon as I entered "700:1 ", Excel converted it to "29.17 ". I assumed that Excel would NOT convert 700:1 and leave my entry as a character string because the ":" is not a numeric digit or an arithmetic operation and I did not have an "=" sign at the beginning of the string. But that's not what happened.

    Of course, I could put a double or single quote at the beginning of the string, and then "700:1 or '700:1 would remain in the spreadsheet cell. Also, I realize that the ":" operator is a range indicator, but I was not entering a cell location, just two numbers. So what was Excel doing with what I entered, and why did it convert 700:1 into 29.17 ?

    Thanks for any comments on this minor but annoying problem.
     
  2. 2007/07/05
    Steve R Jones

    Steve R Jones SuperGeek Staff

    Joined:
    2001/12/30
    Messages:
    12,285
    Likes Received:
    249
    Doubt this will help...But I entered 700:1 and it changed it to 700:01:00 for 1/29/1900 4:01:00 AM...Any attempt to format the cell changed it to 29.17.
     

  3. to hide this advert.

  4. 2007/07/05
    PeteC

    PeteC SuperGeek Staff

    Joined:
    2002/05/10
    Messages:
    28,890
    Likes Received:
    387
    Found exactly the same - and none of the the formats offerd would accept 700:1 - 700 to 1 yes :)
     
  5. 2007/07/05
    Arie

    Arie Administrator Administrator Staff

    Joined:
    2001/12/27
    Messages:
    15,174
    Likes Received:
    412
    If I select text for the format of a cell I can enter 700:1.
     
    Arie,
    #4
  6. 2007/07/05
    PeteC

    PeteC SuperGeek Staff

    Joined:
    2002/05/10
    Messages:
    28,890
    Likes Received:
    387
    You are rght, but the cell must be formatted as text before enterng 700:1 - not after :(
     
  7. 2007/07/05
    Arie

    Arie Administrator Administrator Staff

    Joined:
    2001/12/27
    Messages:
    15,174
    Likes Received:
    412
    Yup, but that's what I said ;)
     
    Arie,
    #6
  8. 2007/07/05
    Steve R Jones

    Steve R Jones SuperGeek Staff

    Joined:
    2001/12/30
    Messages:
    12,285
    Likes Received:
    249
    Course, Roger already knew about texting it....
     
  9. 2007/07/06
    Roger at CCCC

    Roger at CCCC Inactive Thread Starter

    Joined:
    2003/05/22
    Messages:
    234
    Likes Received:
    0
    Thanks to all who responded. I guess it's still a mystery as to what Excel actually does to change "700:1" into 29.17. If anybody else has any ideas, I would still be interested. Thanks again !!
     
  10. 2007/07/06
    Arie

    Arie Administrator Administrator Staff

    Joined:
    2001/12/27
    Messages:
    15,174
    Likes Received:
    412
    In Excel 2007 it gets converted to 700:01:00, listing it as a 'custom' format [h]:mm:ss.
     
    Arie,
    #9
  11. 2007/07/06
    Roger at CCCC

    Roger at CCCC Inactive Thread Starter

    Joined:
    2003/05/22
    Messages:
    234
    Likes Received:
    0
    Thanks, Arie, I finally understand !!

    700:1 is interpreted by Excel as a TIME and converts it to

    700 hours and 1 minute.

    700 hours divided by 24 hours/day = 29.17 days so that's where the 29.17 comes from.

    Thanks !!
     
  12. 2007/07/07
    Arie

    Arie Administrator Administrator Staff

    Joined:
    2001/12/27
    Messages:
    15,174
    Likes Received:
    412
    yup :D

    Your welcome.
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.